#Kannu

1 messages · Page 1 of 1 (latest)

jovial ospreyBOT
autumn badger
#

hi! the error message describes the problem and solution. You need to pass a return_url on the API call.

noble remnant
#

i tried with return url issue is same.

autumn badger
#

do you have the request ID req_xx from when you tried with return_url and got an error?

noble remnant
#

yes

#

req_JHjjIiaOn6zXhI

jade gull
#

Hi! I'm taking over from my colleague. Please, give me a moment to catch up.

noble remnant
jade gull
#

Where do you get this card_xxx from?

noble remnant
#

i created a customer and then created his card.

#

card_1ODQ9GSHA3j9qB7XCYhOlex2

jade gull
#

How did you create the card?

noble remnant
#

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'

jade gull
#

Are you building a new integration?

noble remnant
#

yes

#

its new

jade gull
#

Please don't use Tokens and Sources as this is a legacy API.

noble remnant
#

this is for what?

#

to add customer card?

jade gull
#

Accept a payment with Stripe.