WebsiteBaker Community Forum

WebsiteBaker Support (2.8.x) => Bakery Shop => Topic started by: groovy on November 12, 2012, 02:29:54 PM

Title: ERROR: Payment status or payment method is not defined.
Post by: groovy on November 12, 2012, 02:29:54 PM
Hi All,

I have been trying to get paypal to work in sandbox testing.  I am using Baker V2.8.3 -1638, and Bakery V1.6.0 with default template.

The order progresses through the paypal process and completes so far as paypal is concerned, but I get the above error, and website baker has no record of the order being processed. 

I am new to this, so am I just missing something basic?

Any help appreciated.

Thanks, Groovy.
Title: Re: ERROR: Payment status or payment method is not defined.
Post by: freeSbee on November 12, 2012, 02:57:15 PM
Hi Groovy

I guess you have missed a PayPal setting.
Please (re-)read the manual carefully and check your PayPal settings both at the Bakery backend and at your PayPal account:
http://www.bakery-shop.ch/#paypal

Regards Christoph
Title: Re: ERROR: Payment status or payment method is not defined.
Post by: groovy on November 22, 2012, 06:54:27 AM
Hi freesbee,

Thanks for the link, but I have been over it again and again with no joy.  I feel I have tried all correct settings.

The thing is that the Paypal side shows transaction status completed and IPN sent, and an email is even sent out as being completed.

The error in full is:
Undefined variable payment_status in /..../modules/bakery/view_confirmation.php line 36
Error: Payment status or payment  method is not defined.
Notice: Undefined variable payment_status in  /.../modules/bakery/view.php line 710

This seems to imply a code problem?  But with so many variables and me not being that fluent in php it is hard to tell.  I am also in Australia, so I am not sure if this is making anything different in the eyes of paypal?

I guess what I need to know is:  Does the paypal sandbox testing in bakery actually work?