#Kannu
1 messages · Page 1 of 1 (latest)
hi! the error message describes the problem and solution. You need to pass a return_url on the API call.
if you follow the guide https://stripe.com/docs/payments/accept-a-payment?platform=web&ui=elements it explains things overall
i tried with return url issue is same.
do you have the request ID req_xx from when you tried with return_url and got an error?
Hi! I'm taking over from my colleague. Please, give me a moment to catch up.
Where do you get this card_xxx from?
How did you create the card?
creating token like this.
curl --location 'https://api.stripe.com/v1/tokens'
--header 'Content-Type: application/x-www-form-urlencoded'
--header 'Authorization: Bearer pk_test_51OD2pwSHA3j9qB7X6T8KxcXvWgSxFLnUUrFyAMN7Y2rvkqDXqSVUE5zG1vjq9OMsXFqgIW3sioi17vO42mIFbfOq00TriLxYbL'
--data-urlencode 'card%5Bnumber%5D=4242424242424242'
--data-urlencode 'card%5Bexp_month%5D=11'
--data-urlencode 'card%5Bexp_year%5D=2024'
--data-urlencode 'card%5Bcvc%5D=314'
Are you building a new integration?
Accept a payment with Stripe.