#smriti15s
1 messages · Page 1 of 1 (latest)
Hi checkout.session.async_payment_succeeded occurs when a payment intent using a delayed payment method finally succeeds. What payment method are you using?
Card
card is a immediate payment method, and that's why you receive checkout.session.completed instead of checkout.session.async_payment_succeeded
Yes, as per my understanding.
I used the card payment method and when the user submits the form checkout.session.completed will be triggered. and when the payment suceed, i was expecting checkout.session.async_payment_succeeded, this to be triggered. But instead payment_intent.succeded got triggered.
Yes, this is an expected behaviour, checkout.session.async_payment_succeeded is for delayed payment method, which card is not.
Okay Could you also help me with one issue? In test mode, while onboarding for a standard account, it requires actual login credentials. Why so? Do, onboarding of standard account needs existing stripe account?
A standard connect account is also a Stripe account. I don't think it's asking your Stripe login credentails during the onboarding process, it is more like creating a new Stripe Account.
On first scree, asked for email and on the next screen asking for password.
When I enter a new password, it says incorrect password.
acct_1KGemR4byZSYqr4y - this is the account id
Is this email same as your platform?
No
In test mode, I am entering random email
to create new stripe standard aaccount
This email address may be used by other user, can you try a different email address?
and Even though i passed through that step, in test mode does it acceps real number?
Do you see a button to skip this process?
Do you see the Skip this form button when you first-time open the onboarding URL?
How do you generate this onboarding URL?
Created an account first:
account_id = Stripe::Account.create(type: 'standard').id
Stripe::AccountLink.create(
account: account_id,
refresh_url: base_url + "?payment_redirect=true",
return_url: base_url + "?payment_redirect=true",
type: 'account_onboarding'
)
Can you share with me your merchant ID? you can find it from the Stripe Dashboard -> Settings ->Account Details
acct_1K3xNBGPMeBm9QN3
Hi thanks for the sharing the ID. I just confirmed that you need to use the working email address and phone number to finish the onboarding process via account link, even for test connect accounts.
If you want to skip it, you can create a oauth onboarding URL from dashboard, which shows a Skip this form button in the beginning of the onboarding (see my previous screenshot)
Could you please provide oauth oboarding URL link or documentation?
https://dashboard.stripe.com/test/connect/accounts/overview Click on the +Create button at the right upper corner to create a oauth onboarding URL.
Ok thanks