23.02.2013 Views

Express Checkout for Payflow Pro - PayPal

Express Checkout for Payflow Pro - PayPal

Express Checkout for Payflow Pro - PayPal

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

2<br />

Billing Agreements and Reference Transactions<br />

Obtaining the BAID Without <strong>Express</strong> <strong>Checkout</strong> Purchase<br />

Example of Obtaining the BAID Without <strong>Express</strong> <strong>Checkout</strong> Purchase<br />

This section provides an example of obtaining the BAID. The billing agreement parameters<br />

(and AMT, which must be 0) are shown in boldface.<br />

Set <strong>Express</strong> <strong>Checkout</strong> Request (ACTION=S)<br />

The following is an example of a Set <strong>Express</strong> <strong>Checkout</strong> request that passes billing agreement<br />

parameters:<br />

IMP O RTANT: Even though no payment is sent, the value of TRXTYPE must be A in the<br />

request strings.<br />

PARTNER=partner<br />

&VENDOR=vendor<br />

&PWD=password<br />

&USER=user<br />

&TRXTYPE=A<br />

&ACTION=S<br />

&TENDER=P<br />

&RETURNURL=http://return.com<br />

&CANCELURL=http://cancel.com<br />

&AMT=0.00<br />

&BA_DESC=purchase Time magazine<br />

&BILLINGTYPE=MerchantInitiatedBilling<br />

&PAYMENTTYPE=any<br />

&BA_CUSTOM=magazine subscription<br />

Set <strong>Express</strong> <strong>Checkout</strong> Response<br />

RESULT=0<br />

&RESPMSG=Approved<br />

&TOKEN=EC-36X58962RS656712N<br />

&CORRELATIONID=a398b1f35ebfa<br />

Create Customer Billing Agreement Request (ACTION=X)<br />

The Create Customer Billing Agreement request passes the TOKEN returned in the Set <strong>Express</strong><br />

<strong>Checkout</strong> response:<br />

PARTNER=partner<br />

&VENDOR=vendor<br />

&PWD=password<br />

&USER=user<br />

&TRXTYPE=A<br />

&ACTION=X<br />

&TENDER=P<br />

&TOKEN=EC-36X58962RS656712N<br />

Create Customer Billing Agreement Response<br />

The response returns the BAID:<br />

28 <strong>Express</strong> <strong>Checkout</strong> <strong>for</strong> <strong>Payflow</strong> <strong>Pro</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!