6. 3 The following diagram illustrates the typical processing flow to create recurring payments during checkout. 1.Calls SetExpressCheckout with one or more billing agreement details in the request 2. Returns a token, which identifies the transaction, tothe merchant. 3. Redirects buyer’s browser to: https://www.paypal.com/cgibin/ webscr?cmd=_express-checkout &token=<token returned by SetExpressCheckout>Displays login page. Allows user to select payment options and shipping address. 4.Redirects buyer’s browser to returnURL passed to SetExpressCheckout if buyer agrees to payment description. 5. Calls GetExpressCheckoutDetails to get buyer information (optional). Returns GetExpressCheckoutDetails response.Displays merchant review page for buyer. 6.Calls DoExpressCheckoutPayment if the order includes one-time purchases as well as a recurring payment. Otherwise, skip this step. Returns DoExpressCheckoutPayment response Calls CreateRecurringPaymentsProfile one time for each recurring payment item included in the order.Returns ProfileID in CreateRecurringPaymentsProfile response for each profile successfully created. 7. Displays successful transaction page.
8. 5 PayPal review page with Agree and Pay button for Billing Agreement
9. Server side Action The PayPal API provides four operations for Express Checkout Recurring Payments: SetExpressCheckout: Sets up the Express Checkout transaction. You can customize the look and feel of the PayPal site and the information it displays. GetExpressCheckout: Optionally obtains information about the buyer from PayPal, including shipping information. DoExpressCheckoutPayment: Optionally for Initial fee or one time purchase. CreateRecurringPaymentsProfileAPI Request https://api-3t.sandbox.paypal.com/nvp? METHOD=CreateRecurringPaymentsProfile VERSION=63.0 TOKEN=EC-4HK34648JN225684E PROFILESTARTDATE=2010-10-05T06:01:29 BILLINGPERIOD=Day BILLINGFREQUENCY=1 DESC=Recurring Desc… CURRENCYCODE=EUR& CreateRecurringPaymentsProfile API Response PROFILEID=I-6UJNDJ75LXUL&PROFILESTATUS=ActiveProfile&TIMESTAMP=2010-10-05T13:01:59Z&CORRELATIONID=ed9778685cab3&ACK=Success&VERSION=63.0&BUILD=1492716 6
10. GO TO HEADER/ FOOTER MENU TO SET TITLE 10/5/2010 7 Buyer view Seller view