Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Hacking a CC Module


bigbird_3156

Recommended Posts

Hi,

 

I'm trying to create a Credit card module that will work for my banks gateway,

 

they have given me the software with the sending and receiving parameters and I think I can get something together that will work... if I have a module that I can hack and create a bit of a Frankenstein out of...

 

of the reinstalled modules is there one that is more straight forward, that I could use for this purpose...

 

Basically I need to send the following parameters...

$requestParameters = array();
    $requestParameters[ "order.type" ] = $orderType;  // merchant  info
    $requestParameters[ "customer.username" ] = $customerUsername; // merchant info
    $requestParameters[ "customer.password" ] = $customerPassword; // merchant info
    $requestParameters[ "customer.merchant" ] = $customerMerchant; // merchant info 
    $requestParameters[ "customer.orderNumber" ] = $orderNumber; //
    $requestParameters[ "customer.originalOrderNumber" ] = $orderNumber;
    $requestParameters[ "card.PAN" ] = $cardNumber;
    $requestParameters[ "card.CVN" ] = $cardVerificationNumber;
    $requestParameters[ "card.expiryYear" ] = $cardExpiryYear;
    $requestParameters[ "card.expiryMonth" ] = $cardExpiryMonth;
    $requestParameters[ "card.currency" ] = $cardCurrency;
    $requestParameters[ "order.amount" ] = $orderAmountCents;
    $requestParameters[ "order.ECI" ] = $orderECI; // merchant info 
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
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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.

×
×
  • Create New...