#jitendra
1 messages ยท Page 1 of 1 (latest)
๐ happy to help
would you mind sharing the request ID?
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
req_PBnusy9zwclu5m
I have many requests, if it's asking for authorisatino then it should be during "stripe.paymentIntents.create"
i am using below params while creating payment intent.
confirmation_method = 'automatic'
confirm = true
payment_method_options = { card: { moto: true } };
instead of attaching the payment method after the PaymentIntent succeeds
why not just use setup_future_usage: 'off_session' ?
I am attaching payment method before PaymentIntent success
ok setup_future_usage=off_session will automatically take this payment method next time?
what's difference if i use off_session and on_session?
ok setup_future_usage=off_session will automatically take this payment method next time?
no this attaches the PM to the customer for future usage
you'd still have to pass in the PM ID each time
off_session means the customer is not present to authenticate the PI and on_session the customer is there
ok, setup_future_usage will automatic attach payment method to customer right?
yes correct
thanks for your help, i will try to integrate this.
setup_future_usage i will set only in case of
payment_method_options = { card: { moto: true } };
i am taking payment by three way
- SEPA direct debit
- through mail order telephone order
- through online, customer direct pay from our website
so i believe in 1st and 3rd method i have to continue use "stripe.paymentMethods.attach" method. correct me if i am wrong
Hi! I'm taking over from my colleague. Please, give me a moment to catch up.
Which of 3 was failing initially?
2nd is failing since last 10days
i can't about 3rd one because i didn't hear any complaint from out customers
10days agp eveything was working fine with same implementation
What's your flow with the moto payments currently?
- Create customer
- Create payment method
- Attach payment method to customer
- Create payment intent by cusotmer id and payment method id
if customer already exist then i am just creating payment method and attach to customer and then follow step 3 and 4
Isn't MOTO payments supposed to be typed in by you?
Can you just create a Customer, then a PaymentIntent and save the PM for future usage?
yes i can do but if you can see this message then you will understand my next query
If i use future usage then how it will impact SEPA direct debit and online customer payment (Non MOTO payments)
Do you need future usage actually? Are you planning to charge Customers multiple times?
Do i have to pass future usage for all three payment methods with either onSesion and offSession
Yes we are taking payment every year but next year i am not sure they are using same card, may be they are using another card as well
But will they be typing the card every year? Or will you let them select the saved one?
yes we are typing their card. no card selection
Then no need to save the Payment Method
ok then how can i pass card details in create payment intent object?
You should not do this, unless your app is PCI-compliant.
You can use Payment Element to securely collect the payment method details on the frontend.
We are not storing any payment/card details into our system. we are just pass the card object to stripe API
what do you mean by Payment Element i can't find anythign in Stripe API
It's a Stripe provided UI kit that securely and compliantly collects payment method details.
ok so if i use this UI then directly paymet goes without card autenticity error?
what if i have to track payments or see payment records or refund payment, will all they work as it is?
This is just a basic way to accept payments with Stripe. If the customer pays, they might be prompted with 3DS authentication pop-up, the Payment Element will take care of it. If you use payment_method_options = { card: { moto: true } } and type the details yourself in it, it will be skipped.
ok perfect for to develop this page it will take some time to prepare and test in all cases
meanwhile how can i fix my current issue?
Your card was declined. This transaction requires authentication.
req_PBnusy9zwclu5m
I don't think this Payment Method can be used off-session now.
๐ stepping in here
That PaymentMethod requires 3DS
It should be attached to a Customer via a SetupIntent
So 3DS can be completed
Or, you attach it during the payment flow
By passing setup_future_usage
this is my test connected account. acct_1Mri7PQoWw98s5ro
here i have filled all required details then why i am getting this error?
No such destination: 'acct_1Mri7PQoWw98s5ro'"
when i pass setup_future_usage: off_session
i am getting this error
Received unknown parameter: payment_method_options[card][moto]"
i can't find any request ID in my logs
Have you gotten approval for MOTO on your account?
If not, you need to reach out to our Support team to get approval
why this is suddenly stopped working for me?
Can you give me the request ID where you see this error?
request id is not available that's what i am trying to say.