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.
With the latest version, and stripe-php 1.18 library.
On any new charge, the payment is taken, but the customer card data is not saved.
I have checked...
- Payment method is enabled and "Enable card on file functionality" is checked.
- No errors in watchdog.
- Card is not saved on users "Stored Cards" tab.
- Same thing happens with Live keys or Test Keys
Will investigate more.
Comment | File | Size | Author |
---|---|---|---|
#2 | Untitled-3.png | 58.82 KB | Collins405 |
#2 | Untitled-4.png | 66.38 KB | Collins405 |
Comments
Comment #2
Collins405 CreditAttribution: Collins405 commentedMoving this to card on file.
Even after enabling the Commerce Card on File Test Payment module, I can not see this checkbox.
Comment #3
Collins405 CreditAttribution: Collins405 commentedHave tried uninstalling card on file, and installing again. This is driving me nuts.
Also tried latest dev version of module.
Comment #4
mdupree CreditAttribution: mdupree as a volunteer and at Acro Commerce commentedWhat are you using as payment method ?
Comment #5
torgosPizzaAgree that this is probably an issue with the payment method you are using. It's up to each payment method to implement the proper Cadonfile APIs, so that is where I would look first.
Comment #6
Stephen_WTD CreditAttribution: Stephen_WTD commentedThis is an old issue but I'm experiencing this exactly as well - and in part because this is not working the customer object in stripe is not created (see issue https://www.drupal.org/node/2881411).
I am using card on file (7.x-2.x-dev 2017-Apr-05 ) and commerce stripe (7.x-3.x-dev 2017-May-04).
Torgos can you shed any light?
Comment #7
Stephen_WTD CreditAttribution: Stephen_WTD commentedOk so on further testing it looks like the stripe payment rule created by the module appears to work as in show credit card save options.
I have been testing with a cloned custom rule with the same settings but when that was selected in payment screen the save card details were absent - dont know why. (probably has to do with the module having a test payment rule with it).
I can now only test with a live transaction to Stripe to confirm it is saving card details and creating a customer object.
Edit: Live transaction worked and customer object created!!!
Comment #8
2ndmile CreditAttribution: 2ndmile commentedGoing to close this case since it is up to the payment gateway modules to properly implement CoF functionality.