#dominikganic_unexpected

1 messages ยท Page 1 of 1 (latest)

subtle onyxBOT
#

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

๐Ÿ“ 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.

reef hull
#

That's how I create subscriptions currently in my backend yet. I think, theres something wrong.

rugged chasm
#

Hi, let me help you with this.

#

Why wasn't the client_secret returned?

reef hull
#

I don't know - it's null.

#

The thing is, it automatically charges a payment method

#

And the subscription changes it's status to "active"

#

But I don't want to automatically charge the payment method.

#

sub_1QpRsvLZihhBkt1crm4daLXZ

Maybe you can take a look on this subscription what happened

#

The subscription is active but the invoice is in draft wtf?

#

How can a subscription be active without a payment

rugged chasm
#

automatically charges a payment method
I can't see that any charge is happening on the Subscription. Where do you see it? Since the collection_method="send_invoice" the customer wouldn't be charged automatically.

rugged chasm
reef hull
#

Yes you are right, it wasn't charged but the subscription has changed anyways to active which I try to prevent

#

Yes, but default should be "incomplete"

#

But the status is "active" which is really weird. I want to let the subscription "incomplete"

rugged chasm
reef hull
#

But that's exactly what I have in my options and it still activates it?

rugged chasm
#

Sorry, this only applies to Subscriptions with collection_method=charge_automatically

reef hull
#

Yes but collection_method is by default "charge_automatically"

rugged chasm
#

For collection_method=send_invoice the Subscription always starts as active giving the customer a few days to complete the payment.

reef hull
#

Yes that's what I don't want to take action

rugged chasm
reef hull
#

req_2KMLAqFRzXFC5a

#

This is the current new request

#

With charge_automatically

#

"id":
"sub_1QpSHSLZihhBkt1cN0H3PSGz"
,

#

And this subscription is "active"?

#

Ah damn!

#

It was paid using my positive customer balance / "credit"

#

That's the problem xD

rugged chasm
#

Correct.

reef hull
#

But is there any way I can disable it in this case?

#

For newly created subscriptions I'd like to initiate a payment with a prefered payment method instead of charging the balance of the customer

rugged chasm
reef hull
#

Ah okay, nervermind, I'll inform the user in the frontend that we'll charge his balance and furthermore his default payment method ๐Ÿ™‚

#

Thanks a lot for reaching out yet. I think I'm good now to continue working on it ๐Ÿ™‚ Have a nice day!

rugged chasm
#

Happy to help.
You too.