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.

CommentFileSizeAuthor
#2 Untitled-3.png58.82 KBCollins405
#2 Untitled-4.png66.38 KBCollins405
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Collins405 created an issue. See original summary.

Collins405’s picture

Project: Commerce Stripe » Commerce Card on File
Version: 7.x-1.2 » 7.x-2.x-dev
FileSize
66.38 KB
58.82 KB

Moving this to card on file.

Even after enabling the Commerce Card on File Test Payment module, I can not see this checkbox.

Collins405’s picture

Have tried uninstalling card on file, and installing again. This is driving me nuts.

Also tried latest dev version of module.

mdupree’s picture

What are you using as payment method ?

torgosPizza’s picture

Agree 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.

Stephen_WTD’s picture

This 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?

Stephen_WTD’s picture

Ok 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!!!

2ndmile’s picture

Status: Active » Closed (works as designed)

Going to close this case since it is up to the payment gateway modules to properly implement CoF functionality.