Orders Module >> "unknown status" from PayPal
Posted: Wed Oct 01, 2008 1:25 am
Hello!
When returning from PayPal checkout to My site, I get the message "Received an unknown status from the payment gateway".
Don't know what is correct variable which should be passed by PayPal to Orders Module. Now $status == 'SUCCESS' according to Gateway Complete Template and action.gateway_complete.php
This is the action is happening:
It seemes that Orders don't recognize that the transaction was ok, so the order is stuck on "Proposed" while the customers money are gone
. No email is send to admin, Cart is not empty.
I'm using PayPal testing enviroment, to simulate the Buyer and the Seller.
I have just upgrade CMS ecommerce suite to the latest versions, now I'm running:
CMSMS 1.4.1
* CGExtensions => 1.10.1
* Cart => 1.1
* FrontEndUsers => 1.5.3
* Products => 2.1.2
* CGSimpleSmarty => 1.3.1
* PaypalGateway => 1.1
* Orders => 1.1
Before that many things were wrong but PayPal step ironically worked well. Now everything is Ok despite PayPal checkout.
Can anyone know how to fix it by making changes in Orsers Module or some settings in PayPal?
Thanks!
When returning from PayPal checkout to My site, I get the message "Received an unknown status from the payment gateway".
Don't know what is correct variable which should be passed by PayPal to Orders Module. Now $status == 'SUCCESS' according to Gateway Complete Template and action.gateway_complete.php
Code: Select all
switch( $status )
{
case 'SUCCESS':
{
Code: Select all
default:
// 1. Reset the gateway
$gateway_module->reset();
// 2. Display an error
echo $this->DisplayErrorMessage($this->Lang('error_unknownstatus'));
break;

I'm using PayPal testing enviroment, to simulate the Buyer and the Seller.
I have just upgrade CMS ecommerce suite to the latest versions, now I'm running:
CMSMS 1.4.1
* CGExtensions => 1.10.1
* Cart => 1.1
* FrontEndUsers => 1.5.3
* Products => 2.1.2
* CGSimpleSmarty => 1.3.1
* PaypalGateway => 1.1
* Orders => 1.1
Before that many things were wrong but PayPal step ironically worked well. Now everything is Ok despite PayPal checkout.
Can anyone know how to fix it by making changes in Orsers Module or some settings in PayPal?
Thanks!