#suleymanturac_code
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question. Thank you for your patience!
âąď¸ We automatically close idle threads, which makes them read-only. Make sure you stick around to chat in realtime! If this thread is closed and you have another question you'll need to start a new thread.
đ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1215045832924205057
đ Have more to share? You can add more detail below, including code, screenshots, videos, etc.
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.
- suleymanturac_api, 2 hours ago, 7 messages
Hello
hi
Seems like a bit of confusion here... you are passing a Payment Method Configuration to the payment_method hash... but that doesn't exist. You likely want to be passing that to payment_method_configuration (https://docs.stripe.com/api/payment_intents/create#create_payment_intent-payment_method_configuration)
ok i just changed payment_method to payment_method_configuration and I'm getting same error when passing ID
Can you provide the request ID for the error?
It should be passed directly as a string... not as an object with an id key
so payment_method_configuration: 'pmc_xxx'
Yes
payment_method is to charge an already-saved PaymentMethod object
ok and that would be done with having a customer created with their info correct?
Yes, you attach the PaymentMethod to the Customer
So something like this flow: https://docs.stripe.com/payments/save-during-payment
And you can see in the last step there you pass the PaymentMethod ID to payment_method to charge again later
got you, last question this payment configuration will be set with my account right? even if i run this code on a different server the payment method configuration id won't change
Correct, objects are isolated to accounts and you just need the account's API key to access the object.
thank you
this is what the input form looks like rn, when clicked on enter bank accounts manually I get a pop up like 2nd picture. Is it possible to have 2nd picture form on the 1st picture form instead?
No, that's not possible
ok