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?