#armanelli_api

1 messages ยท Page 1 of 1 (latest)

full urchinBOT
#

๐Ÿ‘‹ Welcome to your new thread!

โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

๐Ÿ”— This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1313501893561159763

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

haughty saddle
#

Hi, let me help you with this.

#

Where do you see the expiry date on PDF?

#

And why are you creating a PaymentMethod first?

clear kelp
#

Where do you see the expiry date on PDF?
Hi, it appears on the Boleto voucher, I will generate a new one and attach it here one sec

#

And why are you creating a PaymentMethod first?

We want the users to fill the necessary info inside our app (like billing address etc) Stripe's screen for Boleto always asks for the data again when the user tries to pay the Invoice. Also, it asks for an email field, currently we fill that email field with the admin user email address which we already validate upon sign up

haughty saddle
#

Because I don't see you setting days_until_due=3 when you create the Subscription. This should take care of it.

clear kelp
#

days_until_due wasn't being accepted as i'm using collection_method charge_automatically

#

Are you following this doc? https://docs.stripe.com/payments/boleto/set-up-subscription?dashboard-or-api=api

At first yes, but I stopped using Checkout Session for Boleto, because even if the customer has all the information filled in the Customer object, when the user clicks on Boleto option at the Checkout Session, it asks for all the information everything again... unless I'm doing something wrong ๐Ÿ™ƒ

haughty saddle
#

Sorry, I am not familiar with this payment method type, so I am just trying to wrap my head around how this works with Subscriptions...

clear kelp
#

No problem, I will try once again with Checkout Sessions and will try to combine my already created payment_method that has all the required info for Boleto and there I can pass expire_after_days again.

Will let you know if it works, thanks for now!

haughty saddle
#

If you just create a Subscription with collection_method=charge_automatically and Boleto enabled on your Stripe account

#

Before you start your integration, go to Manage payments that require confirmation in your Subscriptions and emails settings and enable Send a Stripe-hosted link for customers to confirm their payments when required.