Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Paypal Does Not Work In Google Chrome Rate Topic   - - - - -

  • Snuggertje
  • Junior Member
  • Members
  • Join Date: 21-Dec 10
  • 35 posts

Posted 03 January 2014 - 12:32 PM #1

Hi all, ive noticed that paypal does not work in my version of cs cart. 2.2.4

I use the standard paypal.php script. it works in FF en IE but in chrome it just remains at the page placing order, connecting to paypal and nothing happens.

I came across this line on http://productforums.google.com/forum/#!topic/chrome/6Ba2CiajPEw

stating that is php is used you can append this to the standard checkout button config:

<?php if(preg_match('/Chrome/',$_SERVER['HTTP_USER_AGENT'])!=1) { $target = "paypal";}else{ $target = "_self";} ?>
<form target="<?php echo $target; ?>" action="https://www.paypal.com/cgi-bin/webscr" method="post">

Does anyone know how to implement this in paypal.php in cs cart? So that Chrome users can checkout?