This section contains sample code for implementing Checkout pages.
Zuora Global Support does not troubleshoot content from GitHub. The sample code is as an example of code that has worked for previous implementations and was created by both Zuora and non-Zuora authors. You must customize the sample code for use with your system. Send any comments and feedback to firstname.lastname@example.org
The sample code attached in this article produces a simple demo projects of the Checkout page. The project embeds a Checkout page iFrame on a webpage and handles the callback response to show a successful transaction or any transaction error messages.
You will need to modify two inputs in each of the project to make it display your Checkout page:
If you properly modify the above two inputs, then your demo webpage should look like this:
Below are the languages for which sample code for this demo project is available.
subscription.phpfile by including your Checkout page URL.
callback.phpfile by including your API Security Key.
subscription.jspfile by including your Checkout page URL.
callback.jspfile by including your API Security Key.