i got this error
A return_url must be specified because this Payment Intent is configured to automatically accept the payment methods enabled in the Dashboard, some of which may require a full page redirect to succeed. If you do not want to accept redirect-based payment methods, set automatic_payment_methods[enabled] to true and automatic_payment_methods[allow_redirects] to never when creating Setup Intents and Payment Intents.
How to impletment Idempotency Key with stripe charge / Payment Intent?
Would this Stripe docs article explain it enough?
i got this error A
return_url
must be specified because this Payment Intent is configured to automatically accept the payment methods enabled in the Dashboard, some of which may require a full page redirect to succeed. If you do not want to accept redirect-based payment methods, setautomatic_payment_methods[enabled]
totrue
andautomatic_payment_methods[allow_redirects]
tonever
when creating Setup Intents and Payment Intents.