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

Offline mikal42

  • Posts: 16
Paypal - Using _cart command instead of _xclick
« on: March 22, 2012, 10:57:29 PM »
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.)


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