Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

verisign play flo pro integartion support


Recommended Posts

I am having serious problems with integrating When i use the cotribution provided all i get is a loop that keeps takes me to the insert credit card information and a url that say credit card error %21 basically it can't connect to verisign to even send information this is where it screws up

 

 

 

function before_process() {
    global $HTTP_POST_VARS,$order;
    include(DIR_WS_FUNCTIONS . 'php_pfpro.php');
    pfpro_init();
    $transaction = array(USER   => trim(MODULE_PAYMENT_PAYFLOWPRO_USER),
                   VENDOR => trim(MODULE_PAYMENT_PAYFLOWPRO_VENDOR),
                   PARTNER => trim(MODULE_PAYMENT_PAYFLOWPRO_PARTNER),
                   PWD        => trim(MODULE_PAYMENT_PAYFLOWPRO_PWD),
                   TRXTYPE    => trim(MODULE_PAYMENT_PAYFLOWPRO_TRXTYPE),
                   TENDER     => trim(MODULE_PAYMENT_PAYFLOWPRO_TENDER),
                   AMT        => $HTTP_POST_VARS['AMT'],
                   ACCT       => $HTTP_POST_VARS['cc_number'],
                   EXPDATE    => $HTTP_POST_VARS['cc_expires'],
                   FREIGHTAMT    => $HTTP_POST_VARS['FREIGHTAMT'],
                   TAXAMT    => $HTTP_POST_VARS['TAXAMT'],
                   FIRSTNAME    => $HTTP_POST_VARS['FIRSTNAME'],
                   LASTNAME    => $HTTP_POST_VARS['LASTNAME'],
                   STREET    => $HTTP_POST_VARS['STREET'],
                   CITY    => $HTTP_POST_VARS['CITY'],
                   STATE    => $HTTP_POST_VARS['STATE'],
                   ZIP    => $HTTP_POST_VARS['ZIP'],
                   COUNTRY    => $HTTP_POST_VARS['COUNTRY'],
                   EMAIL    => $HTTP_POST_VARS['EMAIL'],
                   SHIPTOFIRSTNAME    => $HTTP_POST_VARS['SHIPTOFIRSTNAME'],
                   SHIPTOLASTNAME    => $HTTP_POST_VARS['SHIPTOLASTNAME'],
                   SHIPTOSTREET    => $HTTP_POST_VARS['SHIPTOSTREET'],
                   SHIPTOCITY    => $HTTP_POST_VARS['SHIPTOCITY'],
                   SHIPTOSTATE    => $HTTP_POST_VARS['SHIPTOSTATE'],
                   SHIPTOZIP    => $HTTP_POST_VARS['SHIPTOZIP'],
                   CSC        => $HTTP_POST_VARS['CSC']
                   );

      $response = pfpro_process($transaction);
      if (!$response||$response[RESULT]!=0) {
              tep_redirect(tep_href_link(FILENAME_CHECKOUT_PAYMENT, 'error_message=' . urlencode(MODULE_PAYMENT_PAYFLOWPRO_TEXT_ERROR.' '.$response[RESPMSG]), 'SSL', true, false));

 

 

 

the $response is where it dies I had to include this include(DIR_WS_FUNCTIONS . 'php_pfpro.php'); because it kept saying that pfpro_init(); was an undeclared class I really need help with this please anyone I will take ideas, thoughts, illusion anything

Link to comment
Share on other sites

  • 2 weeks later...

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