How can i set this Schedule API:
Charge user X amount 2 weeks before an event date specified by user. (i already have said date as a field of a thing)
thank you!
How can i set this Schedule API:
Charge user X amount 2 weeks before an event date specified by user. (i already have said date as a field of a thing)
thank you!
I think you can use “Specified Date (+weeks): -2” as the date on which to run. At least I hope that works, I’m using it in my app!
Oh i thought that you can only do (any date) + week because of the + sign.
So for example if i book a date today for jan 31 2017…
i can set the schedule to run: Client event date (+ weeks) -2
and that will charge the user two weeks before the event?
I am not 100% positive, but I’m trying it that way. I guess we could run a test using days to see. I’ll put that together this afternoon.
negative integer are OK, so event date (+ weeks) -2 is correct
Hey @charliefountain,
The guys above have got it correct; you can add negative numbers. Worth noting that the charge may fail if the user doesn’t have sufficient funds in the future. If you have a low-volume app, using the Authorize method could be a nice way to secure funds prior to actually capturing them.
Good idea on Authorizing the charges. Thank you @iamsalar!