Jump to content

after payment - i have a blank page


Recommended Posts

hi to all , 

 

i would be happy if i get some help :

 

this is my website : www.allsoft.co.il

 

after making an order and paying with "pay by phone" option.

 

i get a blank page

 

the log writes: 

 

[11-Dec-2014 16:35:07 Israel] PHP Fatal error:  Uncaught exception 'PrestaShopException' with message 'Can't load Order status' in /home/adobesa1/public_html/classes/log/PaymentModule.php:174
Stack trace:
#0 /home/adobesa1/public_html/modules/paybyphone/validation.php(17): PaymentModuleCore->validateOrder(181, '1', 519.26, 'Pay By Phone', NULL, Array, 2, false, '47b93fbf9ddf6e1...')
#1 {main}
  thrown in /home/adobesa1/public_html/classes/log/PaymentModule.php on line 174
 
 
what is the problem ? 
Link to comment
Share on other sites

  • 5 weeks later...
  • 3 weeks later...

I think there is a fault within the statuses. I upgraded from 1.6.0.9 to 1.6.0.11 and then installed the Braintree module by Bellini.

 

I went into the Statuses options to add "Pending Order Validation" as per Bellini's instructions, which became ID 14. I noticed there was ID 13 calling "Payment accepted". Since this was a duplication of ID 2 I deleted it.

 

When testing Braintree as a customer I was getting either an "Invalid new order status" error or the page was blank.

 

I asked Bellini to help and WOW I was really impressed with his level of aftersales!

 

Anyway, turns out the 'fault' was due to me deleting ID 13 and caused all forms of payment to break when ordering items not in stock on my store.

 

When upgrading PS I believe it created ID 13 but called it "Payment accepted" instead of "On backorder (not paid)", hence why I deleted it.

 

Also PS shouldn't let you delete ID 13 but it does.

 

I'd like to thank Bellini for fixing this for me :D

Edited by n_s_simpson (see edit history)
  • Like 1
Link to comment
Share on other sites

Hi

 

So just to make sure I wasn't imaging things I went to an old backup and tried upgrading again from 1.6.0.9 to 1.6.0.11.

 

I took a screenshot of the statuses before and after the upgrade (see attached).

 

My mistake, the new status it adds is "On backorder", which is ID 13. Since ID 9 has the same status I deleted ID 13 thinking it's an unnecessary duplicate.

 

In the Prestashop Demo ID 13 is called "On backorder (not paid)".

 

Hopefully that clarifies things somewhat.

 

Cheers

 

Nick

post-846853-0-88852500-1422305820_thumb.png

post-846853-0-23970700-1422305821_thumb.png

Link to comment
Share on other sites

×
×
  • Create New...