Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

404 on create_intents #118

Open
plombix opened this issue Jan 18, 2022 · 2 comments
Open

404 on create_intents #118

plombix opened this issue Jan 18, 2022 · 2 comments
Labels
v4.x Issues and PRs targeting the classic frontend (before v5)

Comments

@plombix
Copy link

plombix commented Jan 18, 2022

Trying to integrate v3 intents , followed the readme but i keep getting thoses errors on js side :

Feature Policy: Skipping unsupported feature name “payment”. v3:1:78187
Feature Policy: Skipping unsupported feature name “payment”. v3:1:78325
Feature Policy: Skipping unsupported feature name “payment”. v3:1:178554

and when i submit the test card informations :

POSThttps://_my_web_site_url.com/stripe/create_intent [HTTP/1.1 404 Not Found 897ms]

I keep searching for what kind of integration error i could've done but nothing , i have the feeling it lack a memeber of the posting url
all mentions in stripe's doc are specifying a version in them .

i'am running
rails 5.2.6 on ruby 2.7 with:
solidus (2.10.5)
solidus_api (= 2.10.5)
solidus_backend (= 2.10.5)
solidus_core (= 2.10.5)
solidus_frontend (= 2.10.5)
solidus_sample (= 2.10.5)
solidus_api (2.10.5)
solidus_stripe (4.2.0)
in Spree config :
config.static_model_preferences.add(
Spree::PaymentMethod::StripeCreditCard,
'stripe_env_credentials',
secret_key:'sk_test_aksdhflkajsgdflkuasgdf',
publishable_key: 'pk_test_kjhga;lihglkashglasd',
stripe_country: 'FR',
v3_elements: false,
v3_intents: true,
)
And the stripe static conf has been selected in the backend 'payment page .

Thanks for all , anyway , and if this is an issue, glad i can help .

@plombix
Copy link
Author

plombix commented Jan 21, 2022

And everythting works if i paste
# payment intents routes:
post '/stripe/create_intent', to: 'solidus_stripe/intents#create_intent'
post '/stripe/create_payment', to: 'solidus_stripe/intents#create_payment'

# payment request routes:
post '/stripe/shipping_rates', to: 'solidus_stripe/payment_request#shipping_rates'
` post '/stripe/update_order', to: 'solidus_stripe/payment_request#update_order'``
in my app's route . FML

@stale
Copy link

stale bot commented Nov 11, 2022

This issue has been automatically marked as stale because it has not had recent activity. It might be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Nov 11, 2022
@gsmendoza gsmendoza removed the stale label Nov 15, 2022
@elia elia added the v4.x Issues and PRs targeting the classic frontend (before v5) label Dec 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
v4.x Issues and PRs targeting the classic frontend (before v5)
Projects
None yet
Development

No branches or pull requests

3 participants