WebsiteBaker Community Forum

WebsiteBaker Support (2.8.x) => Bakery Shop => Topic started by: sky writer on September 18, 2015, 05:52:14 AM

Title: Testing with Paypal Developer Sandbox accounts
Post by: sky writer on September 18, 2015, 05:52:14 AM
All I can find on this is "You do not need a PayPal sandbox account for testing." stated on the Bakery shop module page - http://www.bakery-shop.ch/ (http://www.bakery-shop.ch/)
My question is, how can I set Bakery up to work with Sandbox accounts that I have?  Or do I not have to change anything in Bakery?

Thank you.
Title: Re: Testing with Paypal Developer Sandbox accounts
Post by: freeSbee on September 18, 2015, 10:06:36 AM
Hi sky writer

You can use your PayPal sanbox to either test PayPal PDT (Payment Data Transfer) or PayPal IPN (Instant Payment Notification).

PDT: /bakery/payment_methods/paypal/check_payment.php / line 28
Code: [Select]
$sandbox  = true;       // Use paypal sandbox
IPN: /bakery/payment_methods/paypal/ipn.php / line 34
Code: [Select]
$sandbox = true;  // Use paypal sandbox
Regards Christopih