PayPal Integrator V5 - Online Help
PayPal Integrator V5
Questions / Feedback?

SetCheckout Method

Call this method to begin the Express Checkout process and fetch a token from PayPal which will encode transaction details.

Object Oriented Interface

public function doSetCheckout();

Procedural Interface

inpaypal_expresscheckout_do_setcheckout($res);

Remarks

This method queries PayPal for a ResponseToken and begins the Express Checkout process. This token is used to identify the transaction on the PayPal network.

The following properties are required before calling SetCheckout:

After calling this method, you should append the ResponseToken value to the following PayPal URL, and redirect your customer there.

https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_express-checkout&token=

The customer will sign in and fill out payment details on PayPal's site. Afterwards PayPal will automatically redirect the customer back to the ReturnURL you specified, along with the updated token appended to the URL. This token should be parsed from the URL and set as the Token property. You may then proceed in calling GetCheckoutDetails and CheckoutPayment.

 
 
Copyright (c) 2017 /n software inc. - All rights reserved.
Build 5.0.6240.0