Credit cards are not deleted as expected by the API

Created on 9 April 2024, 3 months ago
Updated 1 May 2024, 2 months ago

Problem/Motivation

It turns out that if you pass any more details for the credit card other than the last 4 digits and the card type, together with the "D" flag, BlueSnap will first try to update the card and then try to delete. Therefore, if the card has expired, updating a card will raise an error "The stated credit card expiration date has already passed." and the operation will be cancelled.

Proposed resolution

Only pass the last 4 digits and the card type when deleting a credit card.

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡΅πŸ‡ͺPeru krystalcode

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024