Thursday, May 10, 2012

New HTML keyword for payment buttons

As part of our rapid update cycle, a new [#AUTOPAYURL#] has been added to the list of keywords you can use in the "embedded HTML" field. This will be useful if you are not using our built-in PayPal payment button but are instead relying on your own from a different vendor. If the button has a URL callback feature, you can supply this keyword as the URL value and it will be replaced with the dynamically generated URL for this appointment. Calling this URL (presumably as an automatic callback when your payment processor has successfully completed the payment process) will tag the appointment as paid for.

A typical callback line in your payment button would look like this (vendor specific so this is only a generic example):
<input type="hidden" name="vendor_callbackVariable_name" value="[#AUTOPAYURL#]" />