Using uc_dtripe + ubercart recurring payments system. Is that possible to update credit card details?

If user got his card expired, what users can do to change/enter new card detail?

Please suggest ! Thanks!!

Comments

jas1988 created an issue. See original summary.

jas1988’s picture

Issue summary: View changes
jas1988’s picture

Issue summary: View changes
rfay’s picture

Issue tags: -uc_stripe

I don't think there's any way to do this other than a new subscription. Cancel the old, create the new. Remember that the card data is completely invisible to the Ubercart payment system when using uc_stripe (it only hits Stripe itself).

It's probable that there should be a better solution to this, but I'm not even sure uc_recurring would support it.

jas1988’s picture

Thanks for details!!

rfay’s picture

Title: Update Credit card details ? » Update uc_recurring subscription credit card details ?
Version: 7.x-2.0-beta3 » 7.x-2.x-dev
jas1988’s picture

HI,

First of all thanks for you all great work ! Please let me know your thoughts if you have time and decided to make any progress related to this. That will be very helpful if you could guide me with some details or be my Mentor in this task.

I was going thorugh stripe API and had bit chat with them etc

So you know, if a card expires and you try to create a payment, the bank will re-route this payment to the new bank issued card. Should you wish to read further afield about this, I have more information available here:

https://stripe.com/blog/smarter-saved-cards

You can also have a look through our API libraries regarding this here:

https://stripe.com/docs/api#customers

Is this will be possible to create customer as mentioned in API or this will be compatible with uc_recurring moduel ?

As customer Id is placed in users account data and the card data is completely invisible to the Ubercart payment system when using uc_stripe (it only hits Stripe itself).

Please suggest !!

Thanks again!

rfay’s picture

If I'm reading https://stripe.com/blog/smarter-saved-cards correctly, it means that you will have very little trouble with this old problem going forward. That would be very cool. As far as I can tell, there is nothing we need to do to get this feature. (Note that we do not support their webhooks, which would notify us when an expiration date changed, but that doesn't seem to be in any way necessary.)

jas1988’s picture

StatusFileSize
new100.8 KB
new54.52 KB
new128.51 KB
new3.65 KB

Thank you for information. It was possible with Stripe API. I have made small custom module to make it possible for our site to UPDATE credit card details for customers who actually have recurring payments. Not sure if any one can use this module to make same but may it helps for users who have active recurring fees.

Admin settings : http://www.mysite.com/admin/config/stripe_card_update

It will create 2 URL's to update card details :

http://www.mysite.com/renew-card

http://www.mysite.com/user/user_id/renew-card

Thanks!

jas1988’s picture

StatusFileSize
new7.73 KB

There was need of adding publish key and secret key from admin settings form, added new field from config page, now this can be used by any user who wants similar functionality to update card details. Thanks!

jas1988’s picture