Stripe : Handle Expiring Creditcard

There is no specific web-hook to notify you that any particular credit-card is expiring some days later. So you need to keep the payment source details in your local system and keep asking if any is expiring after X days.

Expiration

Credit card expiration dates printed on cards usually consist of a month and year only. In such cases, the cards remain valid until the last calendar day of that month. If, for example, an expiration date reads 06/15, this means it can be used until midnight on June 30, 2015. If you attempt to use the card after this time, it will be declined.

 

Sources:

http://classroom.synonym.com/credit-cards-expire-beginning-end-month-19143.html

http://stackoverflow.com/questions/54037/credit-card-expiration-dates-inclusive-or-exclusive

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s