#neto-dev_api

1 messages ยท Page 1 of 1 (latest)

crude hillBOT
#

๐Ÿ‘‹ 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/1404447117958844416

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

Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

frozen geode
#

๐Ÿ‘‹
Sorry, I'm not sure I udnerstand the issue here? what is the difference between test and live mode exactly ?

young cape
#

From my api side there's no difference at all, I want to understand why in dev it creates correctly in the right method and in prod it doesn't

crude hillBOT
toxic linden
young cape
#

But what does this have to do with this subscription being boleto and the invoice that was created 7 days before coming as card

toxic linden
#

Can you clarify here? That invoice, in_1RuuyaQn8w7ktsfBwAdNEeSy from that subscription was paid on the day that the subscription was created.

young cape
#

I think you didn't understand the central problem, my system creates an invoice 7 days before the subscription, this invoice is created in the same payment method as the subscription, as you can see in sub_1RuuyaQn8w7ktsfB84M1vC1k (which is in test mode), so if the subscription is boleto, 7 days before an invoice will be created in boleto, if it's card in card. However in production when I have a subscription in boleto, the invoice that is created 7 days before is coming as card like in sub_1RlAK6H7b7tFkA7YtY7er4fA

toxic linden
#

What invoice IDs are you looking at?

young cape
#

this one in dev mode created boleto correctly pi_3Ruv7mQn8w7ktsfB0ovbHEph this one was supposed to be boleto and was created as card pi_3Rtrm2H7b7tFkA7Y0UIiYWsn

toxic linden
young cape
#

But that customer's default payment method is boleto. cus_SgXOI1X7O2ovPv

toxic linden
#

Ah, the reason is you create the invoice: https://dashboard.stripe.com/logs/req_vnmpQFIF17KqzC manually and passed the card payment method explicity here. Since the customer did not have a default card payment method, it did not use that payment method type of boleto.