Page 3 of 3 FirstFirst 123
Results 21 to 28 of 28
  1. #21
    Join Date
    Jul 2006
    Posts
    72
    Plugin Contributions
    0

    Default Re: CyberSource Help!

    Hi deBeajeu,

    Thanks. Everything was working fine prior to the Cybersource code change. Authorizations go through but no admin email or orders appearing in the Zencart admin section.

    Since I wasn't sure how long it would be before this would be fixed and I wasn't the only Cybersource customer to have this problem with Zencart, see Buster's response. I went ahead and got a new payment gateway/merchant account.

    We installed it and now orders are going through. I'll give your response to my programmer and see if it clears up the Cybersource/Zencart problem.

  2. #22
    Join Date
    Aug 2006
    Location
    Kirkland, WA
    Posts
    79
    Plugin Contributions
    2

    Default Re: CyberSource Help!

    Quote Originally Posted by deb View Post
    Hi deBeajeu,

    Thanks. Everything was working fine prior to the Cybersource code change. Authorizations go through but no admin email or orders appearing in the Zencart admin section.

    Since I wasn't sure how long it would be before this would be fixed and I wasn't the only Cybersource customer to have this problem with Zencart, see Buster's response. I went ahead and got a new payment gateway/merchant account.

    We installed it and now orders are going through. I'll give your response to my programmer and see if it clears up the Cybersource/Zencart problem.
    I have reviewed and fine tuned the CyberSource Payment Module on Buster's Web site and he has confirmed that the credit card transactions are processed as expected, both on the ZC host and on the CyberSource Business Center.

    deBeaujeu

  3. #23
    Join Date
    Jul 2006
    Posts
    72
    Plugin Contributions
    0

    Default Re: CyberSource Help!

    Thanks deBeaujeu.

    Things are going through now but a new wrinkle. After the order has been processed using IE (for the browser), we get this error message: https://www.cropaddict.com/shop/cybe...hp?result=true

    cannot find server

    Yet when we refresh the page the IE browser clears and you get the order confirmation page plus the email confirmation is sent.

    This doesn't happen in Netscape or Firefox, just IE. Any thoughts?

    Also, how do we tell if the cybersource.php file is corrupted? It opens fine.

    thks :)

  4. #24
    Join Date
    Mar 2007
    Posts
    7
    Plugin Contributions
    0

    Default Re: CyberSource Help!

    I don't think this is related to the problems outlined in this thread so far - but I found a bug in the cs.php file in includes->modules->payment while helping fix someone's site.

    They've been using Cybersource for about a year without a problem, however one thing that was updated was that billTo_state and shipTo_state are now required fields.

    In many cases, this will not cause a problem, however there is a bug in the code so that if you use the state dropdown (instead of having the full state name) the cybersource code sends a blank billTo_state and shipTo_state, which is now causing the transaction to fail.


    Here are the culprits:

    one line 320 is:
    zen_draw_hidden_field('billTo_state',$states[strtoupper($order->billing['state'])]) ."\n".

    and 330 is:
    zen_draw_hidden_field('shipTo_state',$states[strtoupper($order->delivery['state'])]) ."\n".


    All I did was add the following above these lines (308 or so)

    if(strlen($order->billing['state']) > 2)
    {
    $billstate = $states[strtoupper($order->billing['state'])];
    }
    else
    {
    $billstate = $order->billing['state'];
    }


    if(strlen($order->delivery['state']) > 2)
    {
    $shipstate = $states[strtoupper($order->delivery['state'])];
    }
    else
    {
    $shipstate = $order->delivery['state'];
    }


    and change the offending lines to:

    zen_draw_hidden_field('billTo_state', $billstate) ."\n".

    and

    zen_draw_hidden_field('shipTo_state', $shipstate) ."\n".


    This fixed the problem we were having.. it may help someone else.. or deBeaujeu perhaps you'd like to fix it and repackage it maybe with less of a hacked solution :)

  5. #25
    Join Date
    Jul 2006
    Posts
    72
    Plugin Contributions
    0

    Default Re: CyberSource Help!

    Thanks aerodynamic_elephant. I've passed this along to my programmer for her to take a look at it. :)

  6. #26
    Join Date
    Aug 2006
    Location
    Kirkland, WA
    Posts
    79
    Plugin Contributions
    2

    Default Re: CyberSource Help!

    Quote Originally Posted by deb View Post
    Thanks deBeaujeu.

    Things are going through now but a new wrinkle. After the order has been processed using IE (for the browser), we get this error message: https://www.cropaddict.com/shop/cybe...hp?result=true

    cannot find server

    Yet when we refresh the page the IE browser clears and you get the order confirmation page plus the email confirmation is sent.

    This doesn't happen in Netscape or Firefox, just IE. Any thoughts?

    Also, how do we tell if the cybersource.php file is corrupted? It opens fine.

    thks :)
    To hopefully reach full compatibility with IE (prior to IE7), you can add the code provided to your (store root directory) .htaccess file:

    ## Add these to your .htaccess file so that only one way to your site exists, either http://yoursite.com and http://www.yoursite.com ... preferably the same as your SSL Certificate ... the following adds the www if it's missing:

    RewriteEngine On
    RewriteCond %{HTTP_HOST} ^yoursite.com$ [NC]
    RewriteRule ^(.*)$ http://www.yoursite.com/$1 [R=301,L]

    ## If you'd like your site to go to http://mysite.com instead of http://www.mysite.com, add these changes instead:
    ##RewriteEngine On
    ##RewriteCond %{HTTP_HOST} ^www.yoursite.com$ [NC]
    ##RewriteRule ^(.*)$ http://yoursite.com/$1 [R=301,L]

    ## the following makes sure the correct mime type is sent for the .htc file
    AddType text/x-component .htc
    These .htaccess (Apache Server) files are distributed configuration files used to provide a way to make configuration changes on a per-directory basis. A file, containing one or more configuration directives, is placed in a particular document directory, and the directives apply to that directory, and all its subdirectories.

    For more info, please review: http://httpd.apache.org/docs/2.0/howto/htaccess.html


    For the cybersource.php file, the easiest way is to upload to your ZC store host a fresh copy of that file, obtained from the original CyberSource Payment Module 1.04 contribution package.

    deBeaujeu

  7. #27
    Join Date
    Jul 2006
    Posts
    72
    Plugin Contributions
    0

    Default Re: CyberSource Help!

    Thanks deBeaujeu. I've forwarded this to my programmer. We had deleted and reinstalled Cybersource but maybe it was a new fresh install? How do we completely delete it?

    tks

  8. #28
    Join Date
    Aug 2006
    Location
    Kirkland, WA
    Posts
    79
    Plugin Contributions
    2

    Default Re: CyberSource Help!

    Quote Originally Posted by aerodynamic_elephant View Post
    I don't think this is related to the problems outlined in this thread so far - but I found a bug in the cs.php file in includes->modules->payment while helping fix someone's site.

    They've been using Cybersource for about a year without a problem, however one thing that was updated was that billTo_state and shipTo_state are now required fields.

    In many cases, this will not cause a problem, however there is a bug in the code so that if you use the state dropdown (instead of having the full state name) the cybersource code sends a blank billTo_state and shipTo_state, which is now causing the transaction to fail.
    Thanks for providing this information. I will be looking into this situation ASAP.

    Can you send a copy of the message or ticket post you have received from CyberSource on the subject.

    deBeaujeu

 

 
Page 3 of 3 FirstFirst 123

Similar Threads

  1. Cybersource Error Help! Urgent
    By jack911 in forum Addon Payment Modules
    Replies: 7
    Last Post: 9 Dec 2008, 03:25 AM
  2. Cybersource help
    By twistertires in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 9 Dec 2007, 11:44 PM
  3. Cybersource Help!!!!
    By fattchris in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 6 Sep 2006, 06:49 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg