craigchristenson / opencart-2checkout

2Checkout payment module for OpenCart
0 stars 12 forks source link

[OC 1.5.6.4] Completed order not redirecting to order confirmation page #8

Open rokibbd opened 7 years ago

rokibbd commented 7 years ago

I use this module with OC 1.5.6.4 default installation a couple of months earlier and has been working flawlessly. However, very recently, we have noticed a bug that does not redirect the page to confirmation page (thank you page) even after the amount has been debited and the OC invoice has been sent. Please let me know how this can be resolved.

craigchristenson commented 7 years ago

Are you using Inline checkout or redirecting to 2Checkout's purchase page for the customer to complete their payment?

rokibbd commented 7 years ago

Greetings, No! I use redirect to 2Checkout's. see the 2CO setting screenshots. 2checkout - mozilla firefox 23-feb-17 81330 pm

rokibbd commented 7 years ago

Please reply me or tell me how can i fix it.

craigchristenson commented 7 years ago

It may be that it has to do with your approved URL configuration on 2Checkout's end. I went ahead and made a fresh install of opencart 1.5.6.4 and installed this extension and both inline and standard checkout returned me without an issue and marked the order as completed.

On your site management page at 2Checkout, you need to set your approved url to "http://{yourdomain}/books/index.php?route=payment/twocheckout/callback" (replacing {yourdomain} with your actual domain name) and you need to set the Direct Return setting to "Header Redirect". Also since it looks like you have the module configuration set to live instead of demo, you will need to make sure that your demo setting is also not set to 'On' in your 2Checkout Site Management page as well.

Please let me know if this solves the issue. Also please feel free to reach out to me directly by email to debug this with you.

rokibbd commented 7 years ago

Hello, I am attached 2CO site management screenshot. Direct Return setting to "Header Redirect" is " http://www.rubibook.com/books/index.php?route=payment/twocheckout/callback " under "Approved URL" Demo setting is On-OFF- Parameter I select " Parameter" . If you want than I will provide my 2CO login ID & password for your review.

Thanks

On Fri, Feb 24, 2017 at 9:53 AM, Craig Christenson <notifications@github.com

wrote:

It may be that it has to do with your approved URL configuration on 2Checkout's end. I went ahead and made a fresh install of opencart 1.5.6.4 and installed this extension and both inline and standard checkout returned me without an issue and marked the order as completed.

On your site management page at 2Checkout, you need to set your approved url to "http://{yourdomain}/books/index.php?route=payment/twocheckout/callback" (replacing {yourdomain} with your actual domain name) and you need to set the Direct Return setting to "Header Redirect". Also since it looks like you have the module configuration set to live instead of demo, you will need to make sure that your demo setting is also not set to 'On' in your 2Checkout Site Management page as well.

Please let me know if this solves the issue. Also please feel free to reach out to me directly by email to debug this with you.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/craigchristenson/opencart-2checkout/issues/8#issuecomment-282197091, or mute the thread https://github.com/notifications/unsubscribe-auth/AYxReaCLXRqZqIamvF7rx5VDbCGyshLtks5rflQwgaJpZM4MJmZQ .

-- Thanking you,

Rokib Uddin Ahmed Dhaka, Bangladesh Mobile: 01615010058

rokibbd commented 7 years ago

Hello, I am attached 2CO site management screenshot. Direct Return setting to "Header Redirect" is " http://www.rubibook.com/books/index.php?route=payment/twocheckout/callback " under "Approved URL" Demo setting is On-OFF- Parameter I select " Parameter" If you want than I will provide my 2CO login ID & password for your review.

Thanks

website information - mozilla firefox 24-feb-17 121830 pm website information - mozilla firefox 24-feb-17 121558 pm

rokibbd commented 7 years ago

Hello, Just now I made a test transaction (send box) now ok, redirect url success. But pay with paypal button not display.

your order has been processed - mozilla firefox 24-feb-17 123648 pm

rokibbd commented 7 years ago

Hello, Just now I made a test transaction (send box) now ok, redirect url success. But pay with paypal button not display.

On Fri, Feb 24, 2017 at 12:28 PM, Rokib Uddin Ahmed rokibbd@gmail.com wrote:

Hello, I am attached 2CO site management screenshot. Direct Return setting to "Header Redirect" is " http://www.rubibook.com/books/index.php?route=payment/twocheckout/callback " under "Approved URL" Demo setting is On-OFF- Parameter I select " Parameter" . If you want than I will provide my 2CO login ID & password for your review.

Thanks

On Fri, Feb 24, 2017 at 9:53 AM, Craig Christenson < notifications@github.com> wrote:

It may be that it has to do with your approved URL configuration on 2Checkout's end. I went ahead and made a fresh install of opencart 1.5.6.4 and installed this extension and both inline and standard checkout returned me without an issue and marked the order as completed.

On your site management page at 2Checkout, you need to set your approved url to "http://{yourdomain}/books/index.php?route=payment/twocheckout/callback" (replacing {yourdomain} with your actual domain name) and you need to set the Direct Return setting to "Header Redirect". Also since it looks like you have the module configuration set to live instead of demo, you will need to make sure that your demo setting is also not set to 'On' in your 2Checkout Site Management page as well.

Please let me know if this solves the issue. Also please feel free to reach out to me directly by email to debug this with you.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/craigchristenson/opencart-2checkout/issues/8#issuecomment-282197091, or mute the thread https://github.com/notifications/unsubscribe-auth/AYxReaCLXRqZqIamvF7rx5VDbCGyshLtks5rflQwgaJpZM4MJmZQ .

-- Thanking you,

Rokib Uddin Ahmed Dhaka, Bangladesh Mobile: 01615010058 <01615-010058>

-- Thanking you,

Rokib Uddin Ahmed Dhaka, Bangladesh Mobile: 01615010058

rokibbd commented 7 years ago

please reply me, I want to close this issues.

craigchristenson commented 7 years ago

I'm glad to here that it is working for you now. PayPal is not available in the 2Checkout sandbox. On a live sale with a PayPal supported currency the option will show up.

rokibbd commented 7 years ago

But redirect to my page take delay few time. if you want than you can check it at www.rubibook.com/books I will set test mode. please tel me, because you need some bug fix for OC 1.5.6.4. also paypal page payment page display later.

craigchristenson commented 7 years ago

I just tested on your site and the redirect went to 2Checkout properly. The passback just sends the customer along with some sale params back to the controller so we can validate them. Your site performs some additional operations such as setting the sale status which could be where you are seeing some latency. This is not a bug.

For PayPal transactions, 2Checkout only supports (USD, AUD, CAD, EUR, GBP). TRY is only supported for Credit Card Transactions. If you change the currency on the 2Checkout page to a supported currency, you will see the PayPal option show up.

rokibbd commented 7 years ago

Thank you! After update your module for OC 1.5.6.4 please tell me I will update also me end. How can I fix my some latency?