The PayPal Do Reference allows you to authenticate a PayPal user using Express Checkout. Repeat payments can then be taken from that PayPal account.
This service may also be used in conjunction with the PayPal Auth Capture Service to delay settlement of funds until shipment.
When using this service, there are four stages to the payment cycle:
The first stage is as outlined in the PayPal Express Checkout Service.
The payer authorises the billing agreement. If you are performing an initial payment, they will also confirm that payment. PayPal will then re-direct the payer back to your website.
Once the payer is re-directed back to your website, your system sends a request to the DPG which returns details about the customer verification. If these details are in order, a further request is sent to the DPG. This results in the billing agreement being created. If you are performing an initial payment, funds for this will also be automatically transferred from the Payer's account into your PayPal merchant account.
When you wish to take a subsequent payment from the payer, the details of the original transaction are passed to DataCash by your system. The DPG locates the billing agreement details and forwards the transaction to PayPal. PayPal transfer the funds and the result of this transaction is then passed back to your system.
Before you can go live with this Service, you will need the following:
There are two payment processing models which can be used to implement the PayPal Do Reference Service. Either model can be used for each transaction. There are no restrictions, extra service charges or additional account configuration.
With Initial Payment. The billing agreement is set up and an initial payment is taken from the payer.
Without Initial Payment. The billing agreement is setup without an initial payment being taken.
In addition there are two Billing Types:
The subsequent payments which are taken from the agreement may be instant, or delayed if using the PayPal Auth Capture service.
Once the billing agreement has been setup at PayPal, it can be amended or cancelled if required. Any payments which are taken may also be refunded in exactly the same way as normal PayPal Express Checkout transactions. These features are available to both processing models without additional account configuration.
The default timeline setting for PayPal refunds is up to 60 days. In order to change default settings the merchant is advised to contact their Account Manager.
When using this transaction processing model, the creation of the billing agreement and initial payment are triggered in the same transaction.
The transaction types that are used to create a billing agreement with this model are:
|
Transaction Type |
Effect |
|
set_express_checkout |
Initiates transaction |
|
get_express_checkout_details |
Obtains results of customer verification process |
|
do_express_checkout_payment |
Transfers funds for initial payment from PayPal User to PayPal Merchant Account. Also creates billing agreement |
When using this transaction processing model, the billing agreement is created without performing an initial payment. Situations in which this could be implemented include:
The transaction types that are used with this model are:
|
Transaction Type |
Effect |
|
set_express_checkout |
Initiates transaction |
|
get_express_checkout_details |
Obtains results of customer verification process |
|
create_billing_agreement |
Creates billing agreement |
Once the billing agreement has been successfully created, your systems initiate the subsequent payments. The subsequent payments may be instant, or delayed if using the PayPal Auth Capture service.
|
Transaction Type |
Effect |
|
do_reference_transaction |
Initiates subsequent payment from billing agreement |
Enables the billing agreement description or custom annotation to be updated. It also enables the billing agreement to be cancelled.
Situations in which this could be implemented include:
|
Transaction Type |
Effect |
|
update_billing_agreement |
Updates information about the billing agreement, or cancels agreement |
Each transaction type requires specific information to be provided. In addition to those listed, each requires a client and password - these are security details which identify your account.
The information required for the set_express_checkout is nearly the same as for the PayPal Express Checkout Service. There is one additional piece of information which is required which specifies the billing_type. This will be one of:
If an initial payment is not to be taken, the amount supplied with the transaction must be zero.
In addition to these, there are also various optional fields which can be submitted which relate to the billing agreement.
The information required for the get_express_checkout_details is the same as for the PayPal Express Checkout Service.
This transaction type will only be used if a payment is being taken immediately. The information required for the do_express_checkout_payment is the same as for the PayPal Express Checkout Service. If successful, this transaction will create the billing agreement and take the initial payment.
If an initial payment is not being taken, a create_billing_agreement is required to set up the agreement. To perform this, the following information is required:
To collect a subsequent payment from the billing agreement, a do_reference_transaction is required with the following information:
If you wish to use the Auth Capture service to reserve funds and take payment later, the payment_action must be set to order. In this case, a do_authorization and a docapture will also be required to reserve and settle the funds.
In addition to these, there are also various optional fields which can be submitted. These include item and shipping data.
To update a billing agreement, information from the transaction which created the agreement is required, in addition to the transaction type and details to be amended:
One or both of these fields should also be presented:
To cancel a billing agreement, information from the transaction which created the agreement is required, in addition to the transaction type:
Once an agreement has been cancelled, no further updates can be made to it.
When using this Service, the basic responses and error codes are the same as for the PayPal Express Checkout Service.
Like the Express Checkout Service, transactions are detailed in the PayPal section of the DataCash Reporting system. Agreements are also visible within the PayPal Billing Agreement section of the DataCash Reporting system: