WEB API Integration

Hi,

After integrating WebAPI for PHP for paypal integration . It proceed for payment from paypal and re-directs me to ThankYou page saying that you will receive you product key in 10 mints ( also check spam) . But i am not getting email/product key .

Do i have to use GeneratePK function myself & other function to send email , or WebAPI is doing this for us.

Thanks

Make sure you enable debugging, Make sure the log is being written to (and you've also enabled logging). Then, run a test again and look at the log.

Do i have to use GeneratePK function myself & other function to send email , or WebAPI is doing this for us.

The example does that. But only if you configure everything correctly (including setting the "CheckScript", "BuyPage", and "ThankYouPage" variables to the publicly-accessible locations of the included pages.)

Thanks for the reply. I am at same point/issue. I am going to describe complete scenario.

I am having free plan account on LimeLM for testing purpose.Created one product and generated one key their also.Having paypal sandbox account.

Using LimeLM webAPI paypall is doing payment transaction , and return to success/thankyou page of LimeLM API.API don't generates product key and send me email , also paypal don't send payment confirmation email Thanks !

Right.

Did you enable debugging in the PaymentSettings.php?What's in your log file?

I was configuring webAPI from my local IIS server , and it was not sending me email. While configuring to my live website it did sent me product key on email.

But sent address contains my IP address instead of domain name.

Can you clear my query to send email from domain name instead of IP address.

The mail() PHP function is what is sending the mail. The headers that will be on the email itself depend on your configuration.