#luftjunkie

1 messages · Page 1 of 1 (latest)

stray bronzeBOT
#

Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

twin pike
plucky pasture
#

Oh, but what should the structure of it look like now? I give only an string with the configuration id?

twin pike
#

Yup, the string beside the field in our reference indicates the type the parameter is expecting, and the description explains that you should provide the ID of a payment method configuration object.

plucky pasture
#

Oh, yeah I have looked on something different before, thank you toby. Btw, what is on your profile pic?

#

Let make me sure, ok is it correct: ```js
const paymentIntent= await stripe.paymentIntents.create({
amount: price,
currency: "usd",
payment_method_configuration: "pmc_1OH8UDL8z1e5mvb6pg8zlaau",
customer: createdCustomer.id,
transfer_data: {
destination: destinationId,
},

});
twin pike
#

Do you get an error when you run it?