#shainkey

1 messages · Page 1 of 1 (latest)

north tulipBOT
summer lintel
#

Hi there, the subscription renew happens when the test clock advanced to the next billing date.

abstract trellis
#

okay

#

is there any way to change to capture auto payment and update according in our BE code in python

summer lintel
#

What do you mean by change to capture auto payment ?

abstract trellis
#

For ex:
lets say after 1 month Subscription cancelled we made it auto payment after a month then we can get these all information and update in local DB accordingly So we can show to user whether its expire and auto-renew

summer lintel
#

I'm not following, why do you want to cancel the subscription if you still need recurring payments?

abstract trellis
#

no i want to recurring payment but any how if the payment is failed for that customer then i need to update in my local database whether the payment is successful or failed and according to that i need to update that subscription. So, in this case how we can test this one

#

whatever the event is occuring in recurring payment how we can capture in our database and update according in database not from stripe side.
Stripe side everything is fine

summer lintel
#

you mention i need to update in my local database whether the payment is successful or failed and according to that i need to update that subscription , do you update your DB or the subscription? And if you update the subscription, what property do you update?

abstract trellis
#

Yes i want to make it true or false according to stripe status whether the payment is successful or failed. Lets say if i buy subscription on 16 Nov and it will be finished on next 16 Dec correct but for testing purpose i made it cancelled after an hour and made recurring payment So that time how can i update information in my local database. Because in FE we are showing that information from our api

#

I want to Update the DB for auto recurring payment,
lets say this is the column in DB
subscription_update=True

#

or false

summer lintel
#

So you want a event to notify you when a subscription is cancelled?

abstract trellis
#

yes correct and recurring payment also

#

So i can update in our database

summer lintel
abstract trellis
#

okay thanks
we need to use these all events in our code