Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
34 lines (29 sloc) 1.48 KB
<?php
/**
* Examples
*
* A few examples to demonstrate the methods of accepting payments.
*/
?>
<html>
<head>
<title>PayPal - Digital Goods for Express Checkout Examples</title>
<link rel="stylesheet" type="text/css" href="style.css" />
</head>
<body>
<div class="container">
<h1>Thanks for Dropping by!</h1>
<p>This library includes three examples: <a href="example-purchase.php">Simple Purchase</a>, <a href="example-subscription.php">Simple Subscription</a> and <a href="example-subscription-checkout.php">Subscription with Separate Checkout page</a>.</p>
<h3>Simple Purchase</h3>
<p>This example demonstrates how to use the library to accept a simple Digital Goods payment.</p>
<p><a href="example-purchase.php">Try the Simple Purchase Example &raquo;</a></p>
<h3>Simple Subscription</h3>
<p>Create a recurring payment by following the code for this example.</p>
<p><a href="example-subscription.php">Try the Simple Subscription Example &raquo;</a></p>
<h3>Subscription with Separate Checkout</h3>
<p>Using the library, you can also use a separate checkout page in the payment flow. Doing so greatly reduces the page load of your payment/sign-up page by requesting a checkout token from PayPal only after a visitor has committed to payment.</p>
<p>The code for this example demonstrates how to use a separate checkout page for a subscription sign-up.</p>
<p><a href="example-subscription-checkout.php">Try the Separate Checkout Example &raquo;</a></p>
</div>
</body>
</html>