Post by nick9822 » Tue Nov 22, 2016 8:53 pm

Hello All,

I have configured to use PayPal Standard to accepts payments for the orders.
But all the orders whether its in Sandbox Mode or Live goes to Missing Orders.

I am getting response from PayPal as

Code: Select all

PP_STANDARD :: IPN RESPONSE: VERIFIED
Also request posts "Completed" for the Live mode and "Pending" for the Sandbox mode.

After reviewing some code the function calls $this->model_checkout_order->addOrderHistory($order_id, $order_status_id); after paypal response and It seems that the above function is unable to update statues and insert order history.

Please guide if something is wrong with settings or anything. I have checked all the settings for statues and all seems fine. I have attached screenshots for reference.
oc-paypal-settings.PNG

Paypal Settings - oc-paypal-settings.PNG (19.21 KiB) Viewed 1568 times

oc-store-settings.PNG

Store settings - oc-store-settings.PNG (20.99 KiB) Viewed 1568 times

Thanks,
Nick

Newbie

Posts

Joined
Tue Nov 22, 2016 8:19 pm

Post by thekrotek » Wed Nov 23, 2016 11:30 am

You sure, you want to have Complete status as Processing Order Status? Shouldn't it be Processed or something like that?

Professional OpenCart extensions, support and custom work.
Contact me via email or Skype by support@thekrotek.com


User avatar
Expert Member

Posts

Joined
Sun Jul 03, 2016 12:24 am


Post by nick9822 » Wed Nov 23, 2016 5:26 pm

Thank you for your reply.

As per your suggestion I have changed Processing Order status, but still orders are missing.

Please guide.

Newbie

Posts

Joined
Tue Nov 22, 2016 8:19 pm

Post by thekrotek » Thu Nov 24, 2016 1:24 pm

nick9822 wrote:Thank you for your reply.
As per your suggestion I have changed Processing Order status, but still orders are missing.
Please guide.
It's hard to say without knowing the contents of your IPN. It has payment_status variable, that needs to be checked. Go to IPN History page in your PayPal account, find the transaction and see its contents. Look for payment_status and write down its value.

Professional OpenCart extensions, support and custom work.
Contact me via email or Skype by support@thekrotek.com


User avatar
Expert Member

Posts

Joined
Sun Jul 03, 2016 12:24 am


Post by nick9822 » Thu Nov 24, 2016 10:48 pm

thekrotek wrote:
nick9822 wrote:Thank you for your reply.
As per your suggestion I have changed Processing Order status, but still orders are missing.
Please guide.
It's hard to say without knowing the contents of your IPN. It has payment_status variable, that needs to be checked. Go to IPN History page in your PayPal account, find the transaction and see its contents. Look for payment_status and write down its value.
Thank you for your reply.

As mentioned in the post, I am receiving status as Complete and Pending for Sand Box requests.

It calls function i.e ($this->model_checkout_order->addOrderHistory($order_id, $order_status_id); ) which is to be called after paypal reply, but I guess something is wrong in addOrderHistory function because of which its unable to update order.

Thanks,
Nick

Newbie

Posts

Joined
Tue Nov 22, 2016 8:19 pm

Post by thekrotek » Fri Nov 25, 2016 2:44 am

It's hard to say anything particular. In theory it should work, indeed, but sometimes it fails. I personally never saw this issue, PP Standard always worked perfectly for me. But I know the flow pretty good, because I have a file selling extension for Joomla, which works via IPN and it works perfectly.

Professional OpenCart extensions, support and custom work.
Contact me via email or Skype by support@thekrotek.com


User avatar
Expert Member

Posts

Joined
Sun Jul 03, 2016 12:24 am

Who is online

Users browsing this forum: No registered users and 3 guests