#b33fb0n3

1 messages · Page 1 of 1 (latest)

cloud surgeBOT
fleet narwhal
#

Hi! Let me help you with this.

simple juniper
#

Second question: can I somehow disable the invocies for the subscriptions? The customer don't want to get the invocies. Not for the first and also not for the second, third, ...

fleet narwhal
#

And check for status attribute.

fleet narwhal
fleet narwhal
simple juniper
simple juniper
# fleet narwhal https://stripe.com/docs/api/events/types#event_types-customer.subscription.creat...

ah thats easy. Can I then just use these two events:

https://stripe.com/docs/api/events/types#event_types-customer.subscription.created
Whenever it's created AND paid?

https://stripe.com/docs/api/events/types#event_types-customer.subscription.deleted
Whenever it's canceled, or unpaid, ... no more payments?

fleet narwhal
#

created AND paid
It depends how you create the Subscription, it might be in the pending state. Still customer.subscription.updated is the best choice.

#

It's best to listen to all of those events, and then just check the status attribute in all handlers.

simple juniper
#

yeah, I think so too, but for me it's a little confusing, what I should do with all of these events: incomplete, incomplete_expired, trialing, active, past_due, canceled, or unpaid

For me the only thing thats important: when I get money, I can read that and be able to do something and the same thing for when I won't get money. All the other things are covered with this setting. You know what I mean? But what kind of status should I listen to?

It would help me if you just say

%status%: add to customer (when money comes)
%status%: remove from customer (when no more money comes)

fleet narwhal
#

I would suggest also listening to invoice.paid for successful attempts and invoice.payment_failed.

simple juniper
#

then I would listen to ALL invoices, right?

fleet narwhal
fleet narwhal
simple juniper
#

I don't want to use invoices. I would like to not send them to the customer. Can I somehow do that? Not the first invoice, not the second, ...

simple juniper
fleet narwhal
#

Sorry, I think Discord had some issues, we're back now.

simple juniper
#

I think so too, my messages are delayed... 🤔

fleet narwhal
fleet narwhal
simple juniper
#

yes both. I don't want to send anything to the customer. Maybe the "hey your subscription is now active" or something like that, but nothing with any payment stuff

simple juniper
simple juniper
simple juniper
simple juniper
# fleet narwhal Yes

ok, 2 questions:

  1. Can I disable them ONLY for the subscription?
  2. Can I somehow add the payment method "SEPA" ONLY to this subscription? When I click on "configure" at the subscription in the dashboard then I will be ask to activate it in the payment methods. But my normal API integrated payment intents should not be able to use SEPA
fleet narwhal
simple juniper
#
  1. sounds great. That will overwrite the setting from the dashboard when it's not activated in the dashboard?
fleet narwhal
#

Yes

simple juniper
#

nice, you helped me a lot, thanks!

fleet narwhal
#

Happy to help!