Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
Dante Blitz CreditAttribution: Dante Blitz commentedThis 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
Comment #2
xangyI 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
Comment #3
xangyThe 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 isremote_id
looks to be generated by the payment gateway. Andremote_id
is unique even if all the credentials are same.Comment #4
xangyComment #5
vaccinemedia CreditAttribution: vaccinemedia commentedI can confirm the same issue using Sage Pay and the Server method
Comment #6
cockers CreditAttribution: cockers commentedAlso confirmed today using commerce sagepay (server method) and commerce recurring