Jump to content

Blank order confirmation page (redirect error)


Recommended Posts

Hello!

 

I have a problem that I hope someone can help me to solve.

Today I'm using Payson as the payment option together with a module from Prestaworks. Payson is offering two options; credit card/bank transaction and invoice.

 

When a customer clicks to confirm his or her order when paying with Payson invoice, the payment module has problems to redirect to the order-confirmation page. It only goes blank and the browser's address line says for example http://vaggur.se/modules/payson/return.php?id_cart=417&TOKEN=****

 

I have switched on display_errors in the config.inc file and then the same page gives me this error code:

 

Fatal error: Call to a member function getPageLink() on a non-object in

/home/vaggurse/public_html/classes/Tools.php on line 88

 

But, when paying with credit card/bank transaction the redirect works fine.

 

I'm using Prestashop 1.4.3 together with a different one page checkout (if that matters?).

 

I can't figure out what's wrong and it would be nice to get the proper order confirmation page displayed.

Link to comment
Share on other sites

The problem is now solved!

 

I had to add $link = new Link(); in the file return.php (for the Payson module).

If someone with same problem reads this, $link = new Link(); should be added under $obj_payson = NEW Payson(); (row 6).

  • Like 1
Link to comment
Share on other sites

  • 5 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...