LimeLM's license generator + Paypal sandbox.

I am trying to generate license using LimeLM's sample checkout code + Paypal sandbox. But Paypal's sandbox buyer account's email isn't real. How can I get the generated license in a real email? Thanks.

You need to create a "sandbox buyer" with a real email address. See the PayPal documentation: https://developer.paypal.com/docs/classic/lifecycle/sb_create-accounts/

Wyatt wrote:> You need to create a "sandbox buyer" with a real email address.> See the PayPal documentation:> https://developer.paypal.com/docs/classic/lifecycle/sb_create-accounts/

I've just created a "sandbox buyer" with a real email address. It doesn't work either.

Wyatt wrote:> You need to create a "sandbox buyer" with a real email address.> See the PayPal documentation:> https://developer.paypal.com/docs/classic/lifecycle/sb_create-accounts/

developer site say "the Sandbox doesn't send any email outside of the Sandbox environment. "

The sandbox doesn't need to send emails. Your website is sending the emails to the address. See: http://wyday.com/limelm/help/automate-license-generation-with-paypal/

The emails are sent in PaymentSetting

Wyatt wrote:> The sandbox doesn't need to send emails. Your website is sending the emails> to the address. See:> http://wyday.com/limelm/help/automate-license-generation-with-paypal/> > The emails are sent in PaymentSetting

Oh, ya!How come my PaymentSetting didn't sent? I followed the instruction to set the variables very carefully.

Enable debugging. If you're using PHP make sure you read all logs (the log written by PHP itself, the log written by PaymentSettings, etc.).

Wyatt wrote:> Enable debugging. If you're using PHP make sure you read all logs (the log> written by PHP itself, the log written by PaymentSettings, etc.).

It has been enabled by default, right? Here it is:$debug = true;$debug_log = dirname(__FILE__).'/payment_debug.log';

But I couldn't find payment_debug.log in both the "public_html" and its sub directory of "pay".

Your HTTP server runs as a process with limited permission. PHP either runs from that HTTP server process or it runs as its own process with similarly limited permissions.

You're trying to write to a file that may not exist, in a folder that requires permissions that you may not have.

Long story short: (a) create the file. (b) give the file permissions so that the PHP process (or HTTP process) has permission to write to the file. Google for examples.

Sam wrote:> Your HTTP server runs as a process with limited permission. PHP either runs> from that HTTP server process or it runs as its own process with similarly> limited permissions.> > You're trying to write to a file that may not exist, in a folder that> requires permissions that you may not have.> > Long story short: (a) create the file. (b) give the file permissions so> that the PHP process (or HTTP process) has permission to write to the file.> Google for examples.I'm confused here.What's the "key words" for googling?

Guest wrote:> Wyatt wrote:> > Enable debugging. If you're using PHP make sure you read all logs (the log> > written by PHP itself, the log written by PaymentSettings, etc.).> > It has been enabled by default, right? Here it is:> $debug = true;> $debug_log = dirname(__FILE__).'/payment_debug.log';> > But I couldn't find payment_debug.log in both the "public_html" and its sub> directory of "pay".

But I get site error_log. it says:[27-Mar-2016 19:56:40 America/Denver] PHP Notice: Undefined variable: AuthNetBankSelected in /home2/lllengli/public_html/pay/payment.php on line 42[27-Mar-2016 19:56:40 America/Denver] PHP Notice: Undefined variable: PayPalSelected in /home2/lllengli/public_html/pay/payment.php on line 292[27-Mar-2016 19:56:40 America/Denver] PHP Notice: Undefined variable: MoneybookersSelected in /home2/lllengli/public_html/pay/payment.php on line 294[27-Mar-2016 19:56:40 America/Denver] PHP Notice: Undefined variable: AuthNetBankSelected in /home2/lllengli/public_html/pay/payment.php on line 381[27-Mar-2016 19:56:40 America/Denver] PHP Notice: Undefined variable: PayPalSelected in /home2/lllengli/public_html/pay/payment.php on line 385[27-Mar-2016 19:56:40 America/Denver] PHP Notice: Undefined variable: MoneybookersSelected in /home2/lllengli/public_html/pay/payment.php on line 389[27-Mar-2016 19:56:40 America/Denver] PHP Notice: Undefined variable: YourLogo in /home2/lllengli/public_html/pay/payment.php on line 534

never mind.I think I got the problem.Thank you very much