Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Bank Of America Gateway Not Working


Guest

Recommended Posts

  • 2 weeks later...

I ended up having to track down the problem like a puppy who's toy went under the couch. What I discovered was that the issue arrose from my using BOA's branded card processing. The osCommerce session id wasn't being passed to and frow and since it was going to and from an SSL secure site on different domains the Cookie's weren't doing the trick. So what I ended up doing was almost elementary. I simply added the 'osCsid' to the list of items passed to BOA. That's all there was to it. Below it the code snippet:

 

(let me know how it goes? [email protected])

 

 

/catalog/modules/payment/bofa.php

 

function process_button()

{

global $HTTP_SERVER_VARS, $CardNumber, $order, $customer_id;

 

$process_button_string = tep_draw_hidden_field('IOC_merchant_id', MODULE_PAYMENT_BOFA_MERCHANT_ID) .

tep_draw_hidden_field('osCsid', $session->id) .

tep_draw_hidden_field('IOC_merchant_shopper_id', $customer_id) .

 

Micah

Edited by Johnson
Link to comment
Share on other sites

  • 2 years later...

Are you still using the Bank of America payment module, am looking inot using BOFA payment system for my store. ANy thoughts?

 

 

 

I ended up having to track down the problem like a puppy who's toy went under the couch.  What I discovered was that the issue arrose from my using BOA's branded card processing.  The osCommerce session id wasn't being passed to and frow and since it was going to and from an SSL secure site on different domains the Cookie's weren't doing the trick.  So what I ended up doing was almost elementary.  I simply added the 'osCsid' to the list of items passed to BOA.  That's all there was to it.  Below it the code snippet:

 

  (let me know how it goes?  [email protected])

/catalog/modules/payment/bofa.php

 

    function process_button()

    {

        global $HTTP_SERVER_VARS, $CardNumber, $order, $customer_id; 

 

        $process_button_string = tep_draw_hidden_field('IOC_merchant_id', MODULE_PAYMENT_BOFA_MERCHANT_ID) .

                  tep_draw_hidden_field('osCsid', $session->id) .

        tep_draw_hidden_field('IOC_merchant_shopper_id', $customer_id) .

 

    Micah

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...