#Louie Ip-Invoice
1 messages · Page 1 of 1 (latest)
Ps: I am using Stripe RESTFUL APIs to perform my actions
I think what you're looking for is here: https://stripe.com/docs/payments/au-becs-debit#mandates .
With becs_debit, a mandate is required and the above document covers what is needed. Let me know if you have any questions after reading though this
Hi @rugged osprey, I am still a little bit confused about is there a way to only collect mandate but not perform the payment ?
Hello! Yep, you can collect bank details and the mandate for future use by following this guide: https://stripe.com/docs/payments/au-becs-debit/set-up-payment
Is it possible to get the mandate when the payment method object is created but not also creating the payment intent ?
Hi, taking over!
When you create a SetupIntent per above guide, technically you collect a PaymentMethod inside it, so yes
I see but Is it just possible if I am just creating a Payment method object only ?
Technically possible but it may require you to collect mandate yourself, in contrast with SetupIntent when you just mount the HTML div and Stripe PaymentElement does it for you
Oh I think this may work with a mounted auBankAccount Element. Give it a try!
Unfortnately, I have no access to the frontend. I am using the RESTFUL APIs to complete the processes
Okie, then you need to collect account_number and bsb_number then call this https://stripe.com/docs/api/payment_methods/create#create_payment_method-au_becs_debit
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Yes I have used this API endpoint for creation but how may I get the mandate object from creating this object ?
I don't think it would be accessible from PaymentMethod only. If you use the suggested SetupIntent workflow above, you would have the mandate Id inside the SetupIntent object https://stripe.com/docs/api/setup_intents/object#setup_intent_object-mandate
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Sorry but how can I reference the setup_intent with the invoice object that I am using "invoice/invoiceId/pay to create a payment ?
I am just a bit confused about the process flow
It's a different thing. The flow you should follow is https://stripe.com/docs/payments/au-becs-debit/set-up-payment which Rubeus mentioned earlier
After you have a SetupIntent and its PaymentMethod, you can continue with creating Invoice server-side, specifying the default_payment_method https://stripe.com/docs/api/invoices/create#create_invoice-default_payment_method
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Hi Orakaro, regarding to the setupIntent with its paymentmethod. I still can't perform "invoice/invoiceId/pay" POST action for using the au_decs_debit, because the payment method doesn't have mandate
After you successfully confirmed the SetupIntent (client-side), you should have the mandate inside it, right? On Step 5
I am not able to replicate the step 4 since I don't have access to frontend JS library
Is there a way that I can complete step 4 on RESTFUL APIs ?
No, this is a flow requires both frontend and backend
May I ask how do I collect the Mandate from I am collecting it by myself ?
You can't. It need to be collected client-side
Are there other flows that collect the mandate with the APIs/backend ?