Reply
Highlighted
Member
Posts: 9
Registered: ‎12-18-2019

Credit card expiration date fails on charge but not on payment profile update - live mode

Hello,

 

I am testing in the sandbox and seeing something unexpected.

When I update a customer payment profile (in live mode via the php api) with an invalid expiration date such as 11/99 it updates without error but when I charge that same customer payment profile, it errors with 'E00013: Credit Card Expiration Date is invalid.' Am I missing something here? Is this expected in the sandbox? Would this not happen in production?

Member
Posts: 9
Registered: ‎12-18-2019

Re: Credit card expiration date fails on charge but not on payment profile update - live mode

I would expect it to return an error when updating the customer payment profile. Why doesn't it error?