danielfelipe16 Posted January 22, 2020 Share Posted January 22, 2020 Hello! I just upgraded to WHMCS 7.9, I had some customization in my cart and now I have to merge them to the newest standard_cart. Something changed in the standard card js file, My payment gateway is tokenized, therefore it has 2 functions _capture and _storeremote _storeremote should be used ONLY if the client chooses to save the card right? However I found that having the _storeremote function set in my payment gateway sets on the payment checkbox at the cart the data "RemoteCreditCard" and this causes to disable the save card switch. Then, all the cards get saved and my customers don't have the option to choose to save the card anymore. Why was this changed? on 7.8 and earlier this was not working that way, I cannot force to my clients to save every card they use, that is illegal! I should be able to execute only _capture if the client chooses not to save the card and _storeremote if they choose to do it. On version 7.8 there was a parameter called "nostore" on the standar_cart/checkout.tpl witch was set in the input #inputNoStore No matter if the gateway was tokenized this parameter was sent during the checkout, now if the gateway has the function "_storeremote" in the checkout the input with name "paymentmethod" gets the data-payment-type='RemoteCreditCard' and this parameters hides the nostore switch, and first I cannot save the token for every card with my provider, also, my client must be able to choose to save the card. Previous WHMCS was working fine, the exact same 2 functions, and if the nostore was 1 , _capture was executed, and if nostore was 0, _storeremote was executed first and then _capture, but this is not working like this anymore, why? 0 Quote Link to comment Share on other sites More sharing options...
Bertie Posted January 28, 2020 Share Posted January 28, 2020 (edited) We have Stripe and GoCardless enabled - We have noticed that clients can now add payment methods to their account and save card details which then parts of it are saved in the database. This wasn't the case before 7.9 - There also doesn't seem to be an option to disable it? Edited January 28, 2020 by Bertie 0 Quote Link to comment Share on other sites More sharing options...
rdhosting Posted April 18, 2020 Share Posted April 18, 2020 On 1/21/2020 at 8:11 PM, danielfelipe16 said: Hello! I just upgraded to WHMCS 7.9, I had some customization in my cart and now I have to merge them to the newest standard_cart. Something changed in the standard card js file, My payment gateway is tokenized, therefore it has 2 functions _capture and _storeremote _storeremote should be used ONLY if the client chooses to save the card right? However I found that having the _storeremote function set in my payment gateway sets on the payment checkbox at the cart the data "RemoteCreditCard" and this causes to disable the save card switch. Then, all the cards get saved and my customers don't have the option to choose to save the card anymore. Why was this changed? on 7.8 and earlier this was not working that way, I cannot force to my clients to save every card they use, that is illegal! I should be able to execute only _capture if the client chooses not to save the card and _storeremote if they choose to do it. On version 7.8 there was a parameter called "nostore" on the standar_cart/checkout.tpl witch was set in the input #inputNoStore No matter if the gateway was tokenized this parameter was sent during the checkout, now if the gateway has the function "_storeremote" in the checkout the input with name "paymentmethod" gets the data-payment-type='RemoteCreditCard' and this parameters hides the nostore switch, and first I cannot save the token for every card with my provider, also, my client must be able to choose to save the card. Previous WHMCS was working fine, the exact same 2 functions, and if the nostore was 1 , _capture was executed, and if nostore was 0, _storeremote was executed first and then _capture, but this is not working like this anymore, why? I would like to know if the same thing happens to me, that when you add a card for the first time, the payment is made twice because it is executed in the _storeremote method and in _capture If so and you fixed it I would like to know how Thank you 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.