The problem is with how your PHP is setup on the server. See: PHP Mail Runtime Configuration.
And of course you can change the "mail()" call in PaymentSettings.php. Look at the SendPKeys() function in that file.
Hi Wyatt,
Using your web api. Works well, thanks
I have a wordpresss site. I'm testing payments via Paypal. Works well too.
But the email the potential customer gets with a product key is this, using email: salesATdigitalcodingmethods.com (set in paymentsettings):
Customers Name,
Thank you for your order. Your product key is:
D39C-W3C8-C7VA-TRQI-5IXH-XXXXX-XXXXX
This product key is licensed for 1 user of .
Thank you,
As you can see no product name and I presume there should be something after "thank you". And the *from* email address is incorrect:
Paypal sends me a correct email, the customer gets the correct paypal email, but the the email the customer gets from salesATdigitalcodingmethods.com has this in the email *from* address: System User <digitalc9@lin193.gridhost.co.uk> - not salesATdigitalcodingmethods.com (gridhost.co.uk is somewhat correct as this is the ISP Webhosting Control Panel (https://www.tsohost.com): https://control.gridhost.co.uk/, and the customer gets the product key )
Here's the log from web site:
[08/20/2014 5:49 PM] - SUCCESS :paychecker intiated by 173.0.81.1[08/20/2014 5:49 PM] - SUCCESS :Validating PayPal order 1[08/20/2014 5:50 PM] - SUCCESS :IPN successfully verified.[08/20/2014 5:50 PM] - SUCCESS :Creating product Information to send.[08/20/2014 5:50 PM] - SUCCESS :TODO: Insert array into db:
Array( [quantity_licenses] => 1 [pkey] => D39C-W3C8-C7VA-TRQI-5IXH-xxxx-xxxx
The problem is with how your PHP is setup on the server. See: PHP Mail Runtime Configuration.
And of course you can change the "mail()" call in PaymentSettings.php. Look at the SendPKeys() function in that file.