I\'m trying to create a script to capture data via HTTP POST from Ejunkie. When someone makes a purchase on ejunkie, they can transmit all the order data via HTTP POST to a
Instead of using Logger.log() as a way to notify yourself if your calls made it through, try sending an email to yourself instead. This is the snippet:
function doPost(e) {
if(typeof e !== 'undefined')
MailApp.sendEmail({
to: "youremail@gmail.com",
subject: "Call Sucessful",
htmlBody: "I am your
" +
"DATA"
});
}
Just allow the necessary permission if asked. If I'm not mistaken Logger.log is for script editor only and not for your production web apps.