0
votes

I have written a Listener for Paypal in Google script. On receiving data from Paypal, I have set up a timed trigger to run a function after the doPost return. Shortly the trigger runs the function to complete verification with Paypal and complete the tasks actioned through the purchase.

However the timed trigger has been giving me problems. Is there an another way to trigger the verification function after the doPost does its return.

Thank you.

1
Would probably be helpful if you gave some example code - AshClarke
What problems is the time-driven trigger giving you? - Henrique G. Abreu
The time trigger does not always run the function. I understand that others have had this problem. - Pivot Wizard

1 Answers

0
votes

Are you thinked to do it with batch process:

  1. Recive your data from Paypal with your script and appendRow from from the process inside a Spreadsheet.
  2. Use a Trigger Event OnChange or OnEdit or Timer Trigger to run another Script to finish the process?