Shopping Cart Operations > Extension Support

issue with return URL for extension

(1/2) > >>

oembry:
I am working to upgrade the Square extension for AbanteCart 1.3.1.  I can get the redirect to work when using CURL from the command-line but not in the browser.  I can look at the Network tab in Developer mode but it does not show a page redirect to AbanteCart even though I am on the correct page.

I looked back at the PayPal Express code to see if there is something appended to the return URL for it, but there is not.  I just see a useless blank PHP page, there is nothing in the error.txt file and I have tried to output code into the error_log, but nothing is being updated.  It's iike the redirect happens but nothing is being processed by AbanteCart.  I have been working to try and resolve this issue for over a week now.

If needed, I can send an administrator the compressed files so that it can be installed and tested.  I am at my wits end with trying to figure out the issue.

Thank you.


Obiora

Basara:
Hello.
Are you testing with the Fast checkout or with the old checkout?

How did you initiate the redirect, with the javascript or in PHP code in the controller? Share the redirect code with us or PM me the files

oembry:
The redirect is done within the Controller, the same way that I did it with the 1.2.x versions.  Fast Checkout is disabled.

abolabo:

--- Quote from: oembry on August 30, 2021, 03:50:01 PM ---I am working to upgrade the Square extension for AbanteCart 1.3.1.  I can get the redirect to work when using CURL from the command-line but not in the browser.  I can look at the Network tab in Developer mode but it does not show a page redirect to AbanteCart even though I am on the correct page.

I looked back at the PayPal Express code to see if there is something appended to the return URL for it, but there is not.  I just see a useless blank PHP page, there is nothing in the error.txt file and I have tried to output code into the error_log, but nothing is being updated.  It's iike the redirect happens but nothing is being processed by AbanteCart.  I have been working to try and resolve this issue for over a week now.

If needed, I can send an administrator the compressed files so that it can be installed and tested.  I am at my wits end with trying to figure out the issue.

Thank you.

Obiora

--- End quote ---

1. Did you tried to enable displaying of errors via php.ini? i mean directive display_errors = On;
2. Usually blank screen is a linter(syntax) error (fatal error). You should to check web-server log. (httpd.error etc)
3. You can use exit('bla'); to determine where your script die.

oembry:
And Basara I sent you a PM with the requested information.  Please let me know if you have any questions.

Navigation

[0] Message Index

[#] Next page

Go to full version
Powered by SMFPacks Social Login Mod