#Ian Kaplan
1 messages · Page 1 of 1 (latest)
Good question, checking in to this
Quick question: are you using Stripe Elements here and if so are you using the Payment Element or Card Element?
im just trying to create a payment intent through the cli
so i can test soe behavior of aus_debit
Can you send me the current CLI command that you are using?
stripe payment_intents create --amount="10000" --customer=cus_NWygV5DVyJzfQc --currency="aud" --description="(created by Stripe Shell)" --confirm="true" --payment-method="pm_1MlusdCe8oi104iNpEUYUhWH" -d "payment_method_types[0]=au_becs_debit" --stripe-account=acct_1MHER2Ce8oi104iN
Hey apologies I am still looking in to this. Having a bit of trouble understanding the typical flor for this for BECS payments but will reach out to a colleague. So basically are you trying to figure out what to pass in to the mandate_data parameter when creating the payment intent to simulate the actual mandate that an AU BECS payment would have in live mode?
yes
given that i get this message This PaymentIntent requires a mandate, but no existing mandate was found. Collect mandate acceptance from the customer and try again, providing acceptance data in the mandate_data parameter
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Apologies for the delay, still looking in to this and have reached out to a colleague. Will get back with what we find
ok thank you
Looks like you should just be able to send mandate_data[customer_acceptance][type]=offline
Unfortunately I don't think there is a way to simulate the full online info without actually using the frontend but that should unblock you somewhat
ok that works at least to beable to create the charge
Exactly, should be good enough here