#nazar_unexpected

1 messages ยท Page 1 of 1 (latest)

vernal bladeBOT
#

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

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

quiet dew
#

Hi, We have a big problem when customer paying our subscription bill. Subscription is created by the following method, we make a charge from the user then when payment is received we create a subscription with the payment method from charge and give the user a trial for the first period, this was done on the instructions of stripe support because we could not get Ideal/bancontact as a payment method for stripe form. The problem is that the subscription payment for the next period does not go through, I see that the subscription has a payment method but it isn`t attached to invoice payment. Here is an example of subscription sub_1OchGWBGasr0RNIFhbMO58LM and payment pi_3OySouBGasr0RNIF1FJnGUux.

#

this is a critical problem because the first period of the first users of our system is about to end

#

we attach payment method from charge as default_payment_method to subscription

golden spindleBOT
abstract torrent
#

Hello

#

Taking a look

vernal bladeBOT
quiet dew
#

guys, any news on this point?

abstract torrent
#

Still looking. Seeing some issues with the mandate from the SEPA Debit.

#

Did this work for you in the past and just started failing? Did you successfully test this in test mode before going live?

quiet dew
abstract torrent
#

Okay @quiet dew the issue here actually is that SEPA Debit only supports EUR presentment. The currency you are using for the Price in this sub is USD, which isn't supported.

#

Sorry, missed that during the initial investigation.

quiet dew
#

And the thing that I have the price in EUR does not allow me to withdraw the payment in another currency?

abstract torrent
#

Not sure what you mean by that?

valid nimbus
#

Hi ๐Ÿ‘‹

#

The payment method Bancontact is only valid for EUR payments

#

The price associated with the subscription has a currency of USD

quiet dew
#

but the price has value in EUR, we can`t just use it?

valid nimbus
#

When the Subscription was created it was set to USD

quiet dew
#

Yeah, I didn't specify the currency parameter when creating the subscription, I can fix that and pull the currency from the accrual.

valid nimbus
#

The Customer also has a default currency set to 'USD'

quiet dew
#

But can we do something with upcoming and failed payment?

valid nimbus
#

For this subscrpition the currency will be set to USD. The customer will need to have a payment method that is valid for charges in USD. You cannot adjust the currency of the existing subscription I'm sorry to say

quiet dew
#

And if I write a script that will go through all subscriptions, compare the currency in the first payment and subscription and in case of difference - cancel the current subscription and create a new one with a trial for the remaining period, will it workable?

valid nimbus
#

Yes that is an approach you can take. You will want to explicitly set the currency to eur in that case to ensure the currency used to matches the payment method for your customers

quiet dew
#

Okay, thank you

valid nimbus
#

I'm happy we were able to find out what was the matter. ๐Ÿ™‚