AbanteCart Community
AbanteCart Development => Extensions and Add-Ons => Payment Modules => Topic started by: lydmanp on February 22, 2015, 08:33:12 AM
-
Hi,
When i use paypal in sandbox mode and make a paypal checkout, the process goes ok and paypal returns me to the checkout/success page in abantecart page. So ok until this but then when customer tries to open order history, the just made order cannot be seen.
In admin mode the order can be seen as incomplete and therefore is not seen in customer view.
This is seen when abantecart works from localhost or a webhotel or from the abantecart demo site.
Paypal express checkout seems to change state to processing, and works ok.
Some how i think this could be related to paypal side?
Please help me out if you know where i could start debugging.
-
What i meant was, when using paypal extension as payment method, i get incomplete order status.
-
Hello.
Please check PayPal Standard extension setting Order Status in your admin
-
I switched to paypal express, since it works and i can even refund orders with paypal express through AbanteCart cart admin mode.
The only negative thing is the paypal express extension is, that the customer may not understand that the order must be confirmed after paypal stage is completed.
It whould be better that the paypal payment return whould return to checkout/success page.
BUT, I hope someone can tell me why standard paypal isn't working as i expect > so that status will change to processing after completion of order.
-
Hello.
Please check PayPal Standard extension setting Order Status in your admin
Non of the order statuses stands for incomplete. There is only:
Pending
Processing
Complete
I have the Processing order status selected.
Non of the other statuses will change the result. Incomplete is always returned.
Can you confirm that it works for you ?
-
Non of the order statuses stands for incomplete. There is only:
Pending
Processing
Complete
I have the Processing order status selected.
Non of the other statuses will change the result. Incomplete is always returned.
Can you confirm that it works for you ?
Yes, I confirm PayPal std work fine with my sandbox account
Check if any issues on paypal side - login to your paypal sandbox and check is everything ok with your account
-
Yes, everything is fine on paypal side. I get the user-buyer@domain and user-facilitator@domain notifications of placed orders and respectively received orders.
All seems fine, but abantecart status is left as incomplete.
i've tested abantecart 1.2.0 and 1.2.1. locally and 1.1.9 (on webhotel) and 1.2.0 (abantecart demo). All works in the same way. Yes this seems as it would be a paypal issue but then again paypal express works which makes this a little confusing where to try to find the issue :|
-
I checked the express checkout also. The express checkout will also be incomplete to the point when paypal returns back to store. But after we click, confirm order button, the status will change to processing or other configured status (complete, pending, processing).
-
Hi,
i might have found the problem. It seems to me like it could be a defect in the pp_standart.php file
This codes are taken from: github
$this->data[ 'back' ] = HtmlElementFactory::create(array( 'type' => 'button',
'name' => 'back',
'text' => $this->language->get('button_back'),
'style' => 'button',
'href' => $back ));
$this->data[ 'button_confirm' ] = HtmlElementFactory::create(
array( 'type' => 'submit',
'name' => $this->language->get('button_confirm'),
'style' => 'button',
));
As you see, after the 'button' there is a comma "," so php is expecting a parameter.
compare this to pp_express:
$this->data[ 'button_back' ] = $this->html->buildElement(array( 'type' => 'button',
'name' => 'back',
'text' => $this->language->get('button_back'),
'href' => $back ));
$this->data[ 'button_confirm' ] = HtmlElementFactory::create(
array( 'type' => 'submit',
'name' => $this->language->get('button_confirm'),
'style' => 'button',
'href' => $this->html->getSecureURL('r/extension/default_pp_express/confirm')
));
I just cant get it working by applying the 'href' => $this->html->getSecureURL('r/extension/default_pp_standart/confirm') to the pp_standart.php file...
-
I found the issue, and i think it was all in me... aargh.
It was the notify_url that was incorrect. It was:
$this->data['notify_url'] = $this->html->getURL('extension/default_pp_standart/confirm');
while it must be:
$this->data['notify_url'] = $this->html->getURL('extension/default_pp_standart/callback');
-
I found the issue, and i think it was all in me... aargh.
It was the notify_url that was incorrect. It was:
$this->data['notify_url'] = $this->html->getURL('extension/default_pp_standart/confirm');
while it must be:
$this->data['notify_url'] = $this->html->getURL('extension/default_pp_standart/callback');
What PayPal extension version you have? Looks like only you have issue with incomplete status
Are you sure you did not modify files and have correct Order Status settings (Paypal and common Abantecart default Order Status (http://www.abantecart.com/ecommerce-documentation/user-manual/admin-user-manual/system/settings/checkout) )?