WebsiteBaker Logo
  • *
  • Templates
  • Help
  • Add-ons
  • Download
  • Home
*
Welcome, Guest. Please login or register.

Login with username, password and session length
 

News


WebsiteBaker 2.13.6 is now available!


Will it continue with WB? It goes on! | Geht es mit WB weiter? Es geht weiter!
https://forum.websitebaker.org/index.php/topic,32340.msg226702.html#msg226702


The forum email address board@websitebaker.org is working again
https://forum.websitebaker.org/index.php/topic,32358.0.html


R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WB
https://forum.websitebaker.org/index.php/topic,32355.0.html


* Support WebsiteBaker

Your donations will help to:

  • Pay for our dedicated server
  • Pay for domain registration
  • and much more!

You can donate by clicking on the button below.


  • Home
  • Help
  • Search
  • Login
  • Register

  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Bakery Shop »
  • Paypal - Using _cart command instead of _xclick
  • Print
Pages: [1]   Go Down

Author Topic: Paypal - Using _cart command instead of _xclick  (Read 7182 times)

Offline mikal42

  • Posts: 16
Paypal - Using _cart command instead of _xclick
« on: March 22, 2012, 10:57:29 PM »
Hi,
I want to get an itemised order list back from Paypal both for confirmation of order items without having to go to the backend and also for customer convenience.

According to Paypal the '_xclick' command as used in processor.php is only a basic command for ordering a single item as in a simple Paypal buy button:

$post_data = array(
   'cmd'              => '_ext-enter',
   'redirect_cmd'  => '_xclick',

For multiple items such as in a shopping cart, the correct code is '_cart'. (A Paypal advisor pointed this out when I contacted them.)

(See: https://www.paypalobjects.com/en_US/pdf/PP_WebsitePaymentsStandard_IntegrationGuide.pdf)

I have tryed this but Paypal shows an error:

"We have detected a problem with this shopping cart. If the problem persists, please contact the merchant."

I have also tried replacing '_ext-enter', with '_cart' and deleting the 'redirect_cmd' line as suggested by a colleague but that also returns the same error.

Does anyone know a way around this as it seems to be a unfortunate oversight by the module developers...
Logged

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Bakery Shop »
  • Paypal - Using _cart command instead of _xclick
 

  • SMF 2.0.19 | SMF © 2017, Simple Machines
  • XHTML
  • RSS
  • WAP2