#JayR-directdebit

1 messages · Page 1 of 1 (latest)

somber kayak
#

heya @night rune, sorry but i didn't quite understand this, perhaps can you try rephrasing?

night rune
#

Sorry, so say I have a direct debit set up as a subscription. That's paying off a total amount eg... $1000 total gets paid off $100 a week. Is it possible that the customer can do a one off payment of $200 to either reduce the weekly payment or the date the subscription is paid off

somber kayak
#

it's not possible automatically

#

In short, it's going to require you to implement the logic -

  1. somehow accept the payment from the user (and identify that this is to offset the subscription payment)
  2. apply the payment to the customer balance as an adjustment
  3. Stripe will apply the adjustment to the next invoice automatically
night rune
#

Alright thanks for that, I'm just getting familiar with stripe. So sorry for this next noob question but how would I change the next invoice or total amount manually in this scenario?

somber kayak
#

you wouldn't need to, Stripe would do it automatically

#

you can try this out. If you navigate to a customer page and credit money to the customer's balance

#

then create an invoice for an invoice item

night rune
#

Ok got it, so that's going to reduce the amount credited on the next invoice

somber kayak
#

yep

night rune
#

Awesome that'll work. Thanks a bunch Alex. Enjoy the rest of your day