#Jordy
1 messages · Page 1 of 1 (latest)
Hi, can you add more details? Are you the developer?
This transaction didn't go through but when I click on the account it has payment method's attached. pi_3MzQzqAIbNcw5ry11ihu3v3k
Hi pgskc, yes I am
What do you mean by 'This transaction didn't go through'?
The payment says incomplete because there's not a payment method
But the account has two cards associated with it that are approved
Yeah, so this Payment Intent, https://dashboard.stripe.com/logs/req_jJST6wwJ0XQdh3 is in a status: "requires_payment_method". You need to pass in the payment method id if you already have a payment method.
Is there a way to know that via webhook or some other method? I was confused since it gave a 200 code
Yea, that request it's self succeeded so it would respond with 200. You can read more on how Payment Intents work here: https://stripe.com/docs/payments/intents
You can listen to the payment_intent.created event, https://stripe.com/docs/api/events/types#event_types-payment_intent.created and look at the status.
so all payments create a payment intent?
Yes, although I am confused by this question as you're making a payment intent create call here: https://dashboard.stripe.com/logs/req_jJST6wwJ0XQdh3
Haha, it's probably because I'mlearning so I don't explain things well
req_yUfAb2VV6MFxha
For this one, is the error because I have false instead of true for automatic payment method?
We're always learning but yeah, when you create a Payment Intent, you're creating an intent for a payment.
This walks through and explains how object works: https://stripe.com/docs/payments/tour#payment-objects
I might find this useful
No, automatic payment: https://stripe.com/docs/api/payment_intents/create#create_payment_intent-automatic_payment_methods looks at your account's enabled Payment Methods and surfaces them to the end customer for that Payment Intent
You want to pass in the saved/already created Payment Method, https://stripe.com/docs/api/payment_intents/create#create_payment_intent-payment_method in this case when you create the Payment Intent
Ok, I think I'm following.
I had payment_method as null but I should have been passing confirm=true?
No, it would be an id which starts with pm_
Let's step back here. What are you trying to build and what integration document are you following?
I'm building a payment app to connect vendors to payees.
Building in on a no-code platform called Bubble.io and I've been using stripe.js to build it out so far up until this point
I'm the developer for it. The customer wants to use stripe but have it whitelabeled, so no stripe branding
What integration document are you following so far?
As I'm looking and reading what you're sending, I don't think I have payment methods set up at all. https://dashboard.stripe.com/connect/accounts/acct_1MzRC4PF9ipH8TTt/activity
For example this account only has cards_ but nothing with pm_
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
I don't know what you mean by that
We have integration guides: https://stripe.com/docs/payments/quickstart you can follow like this to make things easier for developers.
I'll look over this more thoroughly but my first thought is that I don't think any of these apply to my case
The in-person payments might but I don't think it'll work the way the customer wants because he wants it to be white-labeled
You can use that as a guide and tailor it to your use case.
Card_XXXX can't become pm_XXXX?