#Ian Kaplan

1 messages · Page 1 of 1 (latest)

rough jettyBOT
ripe light
#

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?

inland patio
#

im just trying to create a payment intent through the cli

#

so i can test soe behavior of aus_debit

ripe light
#

Can you send me the current CLI command that you are using?

inland patio
#

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

ripe light
#

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?

inland patio
#

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

ripe light
#

Apologies for the delay, still looking in to this and have reached out to a colleague. Will get back with what we find

inland patio
#

ok thank you

ripe light
#

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

inland patio
#

ok that works at least to beable to create the charge

ripe light
#

Exactly, should be good enough here