Jump to content

token storeremote results in deleted card.


Recommended Posts


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?



Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated