Jump to content

Payment Gateway


Recommended Posts

Good day,

 

I'm busy writing a payment gateway but I require the following fields on the callback page, the fields ain't being sent back from the provider, so at the moment I'm saving them in sessions but I think its a security risk saving this in a session, any other way to do this ?

 

$invoiceid = $_SESSION['mygate']['MerchantReference'];
$ClientToken = $_SESSION['mygate']['ClientToken'];
$CVC = $_SESSION['mygate']['CVC'];
$Amount = $_SESSION['mygate']['Amount']

 

I set the following using the _3dsecure function

 

$_SESSION['mygate'] = [
   'ClientToken'           => $params['gatewayid'],
   'CVC'                   => $params['cccvv'],
   'Amount'                => $params['amount'],
   'MerchantReference'     => $params['invoiceid'],  
]

 

I'm using _storeremote($params) to store the card details.

 

Does anyone know of any other way to do this ?

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.

Guest
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