#alainleonxei

1 messages · Page 1 of 1 (latest)

marsh jayBOT
lavish sail
#

hi

frank drum
#

@lavish sail hello! I'm sorry that's really vague as a question. What does that mean? Who generates that pm_123 and how? Which exact end to end docs are you following?

lavish sail
# frank drum <@958763549935689728> hello! I'm sorry that's really vague as a question. What d...

https://stripe.com/docs/api/payment_methods

actually im not a dev, someone else made the website for me, but i'm having some problem with the payment end

it's actually use the card details provided and generate pm_id through that, but then immediately it tries to use the pm_id on payment intent

like this

payment_method=pm_1234&payment_method_data[billing_details][address][postal_code]=10001&payment_method_data[billing_details][address][country]=US&payment_method_data[billing_details]&[email]=x@x.com&expected_payment_method_type=card&use_stripe_sdk=true&key=pk_x&client_secret=pi_x

but then this error occurs:

"code": "parameter_missing",
"doc_url": "https://stripe.com/docs/error-codes/parameter-missing",
"message": "Missing required param: payment_method_data[type].",
"param": "payment_method_data[type]",
frank drum
#

I'm sorry, this Discord server is for developers asking questions about their code. I can't really help you here. Especially if you paid someone else to make the website, you should just talk to them for support and help instead @lavish sail