#Bruna Pinto - Subscriptions with Boleto
1 messages · Page 1 of 1 (latest)
Hi there! Are you receiving an error when you try to cancel these subscriptions? If so, do you have a request ID for this error? Request IDs look like req_
What I'm trying to do is the following: when a person makes a purchase by "boleto" of a plan that is quarterly, in the code a schedule is made to cancel the plan in 3 months. This works if the person buys using a credit card and the cancellation date is correctly scheduled. But when the person buys by "boleto", this scheduling is not being done, and it should, otherwise, the person would have a plan time beyond the contracted one.
this is what happens with "Boleto"
this is an example that works, and the person buys with credit card
Hi there 👋 taking over for @pastel brook
Sorry for the wait. Give me a few minutes to get caught up.
What is the URL for the page where you took those screenshots?
these screenshots are from the Firebase database
we use firebase extension to use Stripe
I see. Do you have a request ID for the subscription you created for testing boleto?
Here's how you can find a request ID: https://support.stripe.com/questions/finding-the-id-for-an-api-request
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_jPjxYJm9sxpnwT
There's a subscription ID in the first screenshot you sent. Can you copy/paste that here?
sub_1LU4FgCqHOHg9sSb90gRFURz
You mentioned there was code that's responsible for creating the schedule if the payment method type is boleto. Do you have that code somewhere that I can look at?
I don't see a delineation between boleto and other payment method types in your code anywhere. Where are you checking to see if the payment method is set to boleto?
I don't, and not even if it's a credit card. I hope the firebase extension does this. Should I? Can you tell me why with a credit card the scheduling works?
That's a better question for Firebase. We don't have a lot of context on what Firebase does or doesn't do. For example, none of the code in your screenshot actually uses a Stripe library.
Hate to give that answer, but they're a separate entity. Here's there support site: https://firebase.google.com/support