Help Article

Ask our Business Community

Get started and join the conversation to use PayPal for business in the Headstart Community.

How do I process a new reference transaction using XMLPay?

The XMLPay Core Specification Guide's DTD and schema define the RepeatSale element, but PayPal currently doesn't support this functionality. However, you can apply the following workaround, which uses the ExtData field.
 
Disclaimer: PayPal doesn't support this code and provides it for demonstration purposes only. For more information, see the PayPal Developer Portal.
  
<?xml version="1.0" encoding="UTF-8"?>
<XMLPayRequest Timeout="30" version = "2.0" xmlns="http://www.verisign.com/XMLPay">
<RequestData>
<Vendor>VENDOR</Vendor>
<Partner>PARTNER</Partner>
<Transactions>
Transaction>
<Sale>
<PayData>
<Invoice>
<TotalAmt>AMOUNT</TotalAmt>
</Invoice>
<Tender>
<Card>
<ExtData Name="ORIGID" Value="VXYZ12345678"></ExtData>
</Card>
</Tender>
</PayData>
</Sale>
</Transaction>
</Transactions>
</RequestData>
<RequestAuth>
<UserPass>
<User>USER</User>
<Password>PASSWORD</Password>
</UserPass>
</RequestAuth>
</XMLPayRequest>
We’re sorry, the page you’re looking for is no longer available. Please try your search again in our Help Center if you have a question or want to contact us.