Hi,
I'm having some issues with the Paypal module (Opencart 1.1.8 ), hoping someone can shed some light.
1) Opencart is sending out the order 'thanks' emails before the order has actually been processed. That is, on the way out to Paypal., rather than after the payment has been processed.
2) The is no indication (at least in the Paypal Sandbox order notification emails) of the Opencart order id, thus no way to match up a received payment with an Opencart order.
Edit: I should add that I've tried setting the default order status to both 'pending' and 'processing', to no avail.
Thanks in advance,
Skye
I'm having some issues with the Paypal module (Opencart 1.1.8 ), hoping someone can shed some light.
1) Opencart is sending out the order 'thanks' emails before the order has actually been processed. That is, on the way out to Paypal., rather than after the payment has been processed.
2) The is no indication (at least in the Paypal Sandbox order notification emails) of the Opencart order id, thus no way to match up a received payment with an Opencart order.
Edit: I should add that I've tried setting the default order status to both 'pending' and 'processing', to no avail.
Thanks in advance,
Skye
Last edited by i2Paq on Thu Oct 14, 2010 3:20 pm, edited 1 time in total.
Reason: Topic moved
Reason: Topic moved
Hi,
I have just stumbled upon OpenCart whilst looking for a nice lightweight shopping cart to use for a project I've just been asked to do.
To be honest I think it's fantastic, the templating system looks very easy to use and the admin area has just enough to keep the end user happy but not to much to drive them crazy!
Unfortunately I too have come across the PayPal problems listed above. In this state it pains me to say it will be unusable. However it seems such a shame as everything else looks so fantastic! so if anybody out there has already had a crack at this OR if anybody out there can point me in the right direction I'm more than willing to roll up my sleeves and have a go at resolving this issue.
you can always pm me on here or drop me an email to info@hypercore.co.uk
Matt
I have just stumbled upon OpenCart whilst looking for a nice lightweight shopping cart to use for a project I've just been asked to do.
To be honest I think it's fantastic, the templating system looks very easy to use and the admin area has just enough to keep the end user happy but not to much to drive them crazy!
Unfortunately I too have come across the PayPal problems listed above. In this state it pains me to say it will be unusable. However it seems such a shame as everything else looks so fantastic! so if anybody out there has already had a crack at this OR if anybody out there can point me in the right direction I'm more than willing to roll up my sleeves and have a go at resolving this issue.
you can always pm me on here or drop me an email to info@hypercore.co.uk
Matt
This sounds somewhat familiar. The old PayPal used to have similar issues in Opencart 0.7.9 before Qphoria sorted them out. Maybe we can port the PayPal module from Opencart 0.7.9 to Opencart 1.x, because that one is working fine now, including proper IPN support.
As soon as the customer clicks the continue button to goto the paypal page the mail is sent and the order is registered.
You can not have the email sent on the success page because sometimes people just close their browser after making the payment.
You can not have the email sent on the call back sent from paypal to your store becuase the callback can be up to one month. It also takes time for the funds to be authrised.
Trust me this is not a bug. There is no other way of doing this 100%.
You can not have the email sent on the success page because sometimes people just close their browser after making the payment.
You can not have the email sent on the call back sent from paypal to your store becuase the callback can be up to one month. It also takes time for the funds to be authrised.
Trust me this is not a bug. There is no other way of doing this 100%.
Daniel wrote: You can not have the email sent on the call back sent from paypal to your store becuase the callback can be up to one month. It also takes time for the funds to be authrised.
I think the likelyhood of this is low enough to be considered unrealistic. IPN is paypal's golden boy. They swear up and down by it, so yes they might "support" 1 month, but its more like 1 second in 99% of the cases.
The ajax-based email call on the confirm page is fine for a "Thanks for ordering, however your order will not be shipped until the paypal process is completed". Then after paypal callback occurs you can send another "Your paypal payment has been received". For 0.x, I am using the method that Paypals own dev forums recommend which is an IPN primary with a PDT backup. They refer to is as "Belt & Suspenders". Basically a system where each method backs up the other.
So I would certainly recommend following their guidelines, but you can still keep the ajax call for the initial received but not paid email.
Can't this thing be set up so that Paypal sends an instant message back to Opencart as soon as Paypal receives a newly submitted order? And the Opencart callback then sends an e-mail to the customer confirming the submission of the order. And when Paypal procesesses the payment, another message is sent to Opencart's callback function, and another e-mail is sent to the customer confirming the payment of the order. Just wondering...
In general, the callback function should be able to receive all sorts of important messages from the Payment gateway, including the initial order submission, successful credit card charge, order cancellation, etc, and process these messages in Opencart, including sending e-mails to the customer and automatically updating the order state in Opencart. That's how I basically did it with the Google Checkout, and though I haven't looked at the Paypal module I believe it could be done in a similar way.
In general, the callback function should be able to receive all sorts of important messages from the Payment gateway, including the initial order submission, successful credit card charge, order cancellation, etc, and process these messages in Opencart, including sending e-mails to the customer and automatically updating the order state in Opencart. That's how I basically did it with the Google Checkout, and though I haven't looked at the Paypal module I believe it could be done in a similar way.
It already does this. Just change the text on the order confirmed and order update mail page.JNeuhoff wrote:Can't this thing be set up so that Paypal sends an instant message back to Opencart as soon as Paypal receives a newly submitted order? And the Opencart callback then sends an e-mail to the customer confirming the submission of the order. And when Paypal procesesses the payment, another message is sent to Opencart's callback function, and another e-mail is sent to the customer confirming the payment of the order. Just wondering...
I was planning on doing this aswell but thought just a basic paypal version for now would surfice.JNeuhoff wrote: In general, the callback function should be able to receive all sorts of important messages from the Payment gateway, including the initial order submission, successful credit card charge, order cancellation, etc, and process these messages in Opencart, including sending e-mails to the customer and automatically updating the order state in Opencart. That's how I basically did it with the Google Checkout, and though I haven't looked at the Paypal module I believe it could be done in a similar way.
Hi,
sorry if I have this wrong, especially as I haven't actually tried this yet, but does this mean that the PayPal module in v1.x doesn't work properly?
After the customer hits continue and goes to PayPal to make payment, when PayPal returns back to OC are you saying that it doesn't necessarily mean that payment has been accepted (or declined)?
So how, as the store owner do I know that I can deliver the product to the customer, safe in the knowledge that payment has been made?
Thanks,
Mark
sorry if I have this wrong, especially as I haven't actually tried this yet, but does this mean that the PayPal module in v1.x doesn't work properly?
After the customer hits continue and goes to PayPal to make payment, when PayPal returns back to OC are you saying that it doesn't necessarily mean that payment has been accepted (or declined)?
So how, as the store owner do I know that I can deliver the product to the customer, safe in the knowledge that payment has been made?
Thanks,
Mark

FFS if you don't know PHP don't come up with poor conclusions. Check the code yourself.MarkF wrote:Hi,
sorry if I have this wrong, especially as I haven't actually tried this yet, but does this mean that the PayPal module in v1.x doesn't work properly?
After the customer hits continue and goes to PayPal to make payment, when PayPal returns back to OC are you saying that it doesn't necessarily mean that payment has been accepted (or declined)?
So how, as the store owner do I know that I can deliver the product to the customer, safe in the knowledge that payment has been made?
Thanks,
Mark
PayPal works fine I have tested it myself. Even if the order has been accepted or declined you need to keep a record of it.
The paypal extension works fine. It does the callback and if the payment has been confirmed it changes the status of the order to what ever status you set the paypal order status to be.
How hard would it be to port your PayPal improvements it to Opencart 1.x?For 0.x, I am using the method that Paypals own dev forums recommend which is an IPN primary with a PDT backup. They refer to is as "Belt & Suspenders". Basically a system where each method backs up the other.
Has anyone seen this before? I am trying to enable call back for PayPal but receive the below error in the ssl weblog. I get a confirmation that settings saved successfully but when going back into Paypal > Edit in the admin interface this setting is back to 'Check Out' rather than 'Callback'. I am using apache and OpenCart 1.2.6.
I just wonder if anyone else have seen this? Is there a value in the DB which gets set when enabling call back? Is anyone using call back with this version of OpenCart successfully?
I replaced my IP and web server directories below.
Error Msg:
[Fri May 01 21:28:49 2009] [error] [client IP ADDRESS] PHP Notice: Undefined variable: paypal_confirm in /<my installation directory>/admin/view/template/payment/paypal.tpl on line 38, referer: https://<site url>/admin/index.php?route=extension/payment
Cheers for your help.
I just wonder if anyone else have seen this? Is there a value in the DB which gets set when enabling call back? Is anyone using call back with this version of OpenCart successfully?
I replaced my IP and web server directories below.
Error Msg:
[Fri May 01 21:28:49 2009] [error] [client IP ADDRESS] PHP Notice: Undefined variable: paypal_confirm in /<my installation directory>/admin/view/template/payment/paypal.tpl on line 38, referer: https://<site url>/admin/index.php?route=extension/payment
Cheers for your help.
Who is online
Users browsing this forum: No registered users and 9 guests