I'm using card_on_file with cardsave payment gateway. When I make payment with the same card multiple times and the save card checkbox is checked, then the card is saving as new card instead of updating existing card. Can anyone help me to fix this issue.

Comments

Dante Blitz’s picture

This is also happening for me using SagePay integration and Commerce Recurring.

Drupal: 7.38
Commerce Card on File: 7.x-2.0-beta5+2-dev
Card on File - Recurring: 7.x-2.0-beta5+2-dev
Commerce SagePay: 7.x-1.0
Commerce Recurring: 7.x-2.x-dev

xangy’s picture

I can confirm this issue. Update to question: it is reproducible even if all the fields have exactly same value.

Drupal: 7.41
Install profile: Commerce Kickstart (commerce_kickstart-7.x-2.30)
Commerce Card on File: 7.x-2.0-beta5+3-dev
Card on File - Recurring: 7.x-2.0-beta5+3-dev
Commerce Stripe: 7.x-1.2

xangy’s picture

Status: Active » Closed (won't fix)

The whole card information is not saved in the database. And only field in database, remote_id is unique per card that looks to be generated using card details. The problem is remote_id looks to be generated by the payment gateway. And remote_id is unique even if all the credentials are same.

xangy’s picture

Status: Closed (won't fix) » Active
vaccinemedia’s picture

I can confirm the same issue using Sage Pay and the Server method

cockers’s picture

Also confirmed today using commerce sagepay (server method) and commerce recurring