KhensU Posted February 2, 2022 Share Posted February 2, 2022 Hi, So I am working on a payment gateway with remote tokenization. This is the second module I have done. I have started with the storeremote function which works well except for one problem. The gateway returns the token fine. WHMCS says it saved the card fine but it doesn't show in the paymethod list. Looking in the tblpaymethods table the 'deleted_at' field is filled out with the current date! The return of the function is: $response = [ 'success' => 'true', 'token' => $whmcs_token, ]; return ['status' => 'success', 'rawdata' => $response, 'gatewayid' => $whmcs_token]; the active log says a Pay Method was created. Any idea what would save and mark the card deleted at the same time? 0 Quote Link to comment Share on other sites More sharing options...
KhensU Posted February 8, 2022 Author Share Posted February 8, 2022 I figured out it was a localapi call that causing the issue. Not sure of the reason but I'll have to do it another way. 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.