Results 1 to 10 of 28

Hybrid View

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

    Default Re: Odders not going through

    Quote Originally Posted by deb View Post
    I created an open ticket with Cybersource :

    As a result of the Cybersource code change on Monday orders are not going through on my site. Customers are getting the following error: "The local copy of this webpage is out of date, and the website requires that you download it again. "

    Authorizations are going through but not the entire order process. We are using Zencart. Please advise as to what specific change Cybersource has made so that the coders of Zencart can create the module or write the code needed to allow our orders to be processed again.

    10/5/2007 9:50:26 AM -- CyberSource wrote:



    Does that help?

    I just configured a new ZC store using the CyberSource Business Center Production Server and it is working as expected on the ZC side as well as the CuberSource side.

    The problem you are having may be related to your ZC host server or to the return URLs specified for the CyberSource server to send back transaction status to the ZC application. Could also be related to your SSL Certificate (shared certificates may produced unpredictable problems).

    Make sure the “cybersource.php” file is not corrupted and is located in your ZC store root directory on the host.

    Double check the return URLs specified in the CyberSource Business Center (Live):

    Go to CyberSource Business Center >> Live Business Center >> enter Username & Password and click Login >> Left vertical bar menu >> Tools & Settings >> Hosted Order Page >> Settings >>

    Under “Appearance >> Receipt Page”, in the “Receipt Response URL” input box type: https://yoursite/yourstore/cybersource.php?result=true
    (replacing “yoursite” and “yourstore” with proper URL info for your ZC store, if your store is located in the root directory, the “yourstore” field is not present)
    Check the following “This URL is my custom receipt page.” checkbox.

    Under “Appearance >> Decline Page”, in the “Decline Response URL” input box, type:
    https://yoursite/yourstore/cybersource.php?result=false
    (replacing “yoursite” and “yourstore” with proper URL info for your ZC store, if your store is located in the root directory, the “yourstore” field is not present)
    Check the following “This URL is my custom decline page.” checkbox.

    For more information, please refer to the published guidelines in Zen Cart >> Downloads >> Payment Modules >> CyberSource Payment Module Implementation Guidelines:

    http://www.zen-cart.com/index.php?ma...roducts_id=665

    deBeaujeu

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

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

  4. #4
    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 :)

  5. #5
    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 :)

  6. #6
    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. :)

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

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

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

 

 

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