Sending transaction details from PayPal

Quaderno automatically generates your invoices and credit notes with the customer details received from PayPal, which in turn receives the information collected by the platform you are using to manage your sales.

This article reviews how to customize the information that Paypal sends to Quaderno. This information is useful for integrators and developers.

For cases where some details are missing from your documents, please contact your third party platform’s support team to ask them for help fixing these issues.

Collecting customer’s location

In order to be EU VAT compliant with Quaderno and PayPal, it’s necessary to serialise the IP address in the custom variable of your payment form, as well as the customer’s VAT number (only for B2B sales).

To have enough location evidence to be VAT compliant, we recommend that you make sure that the country is also sent to Quaderno. Depending on your case, either one or two non-conflicting evidences will be required.

Quaderno can make sense of the following fields PayPal’s custom field:

  • tax_id: Tax ID of the customer
  • ip_address: IP address of the customer
  • type: Type of transaction: eserviceebooksaasstandard, and reduced. The default is the type of transaction you’ve selected on your Preferences page.

Collecting customer’s billing details

On EU you need to display a customer’s full billing details on any invoice.

There are many different ways to use PayPal: this information could just be collected from whatever info your customer put on their PayPal account. Or, you may want to make sure its collected on your PayPal payment form, setting the "address_override" variable to “1” as explained here.

Tracking product sales

If you’d like to send through SKUs for your products to track your product sales, Quaderno reads the SKU from the following PayPal’s fields (only one, checked in order): NUMBER, ISBN, PLU, MODELNUMBER or SUBJECT.

Payment form example

The following example shows a PayPal payment form customization to include the client’s billing details, VAT number (if applicable), and IP address:

<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
  <input type="hidden" name="address_override" value="1">
  <input type="hidden" name="cmd" value="_xclick">
  <input type="hidden" name="business" value="you@yourdomain.com">
  <input type="hidden" name="item_name" value="New Router">
  <input type="hidden" name="amount" value="100.00">
  <input type="hidden" name="first_name" value="Maurice">
  <input type="hidden" name="last_name" value="Moss">
  <input type="hidden" name="address1" value="123 Carenden Road">
  <input type="hidden" name="city" value="London">
  <input type="hidden" name="zip" value="EC5M 8AJ">
  <input type="hidden" name="country" value="GB">
  <input type="hidden" name="email" value="moss@reynholm.co.uk">
  <input type="hidden" name="custom" value="<?php echo json_encode(array("tax_id" => "GB123456789", "ip_address" => $_SERVER['REMOTE_ADDR'])) ?>"/>
  <input type="hidden" name="return" value="http://yourdomain.com/thank-you.html">
  <input type="image" name="submit" border="0" src="https://www.paypalobjects.com/en_US/i/btn/btn_buynow_LG.gif">
</form>

In this article, we’ve seen a few ways to make sure your platform collects all needed fields from PayPal, as Quaderno can only show the data PayPal sends us.

However, there are many different ways to use PayPal. Please refer to “HTML Form Basics for PayPal Payments Standard” and “HTML Variables for PayPal Payments Standard” for a more complete PayPal’s reference, or contact PayPal’s support team if some fields are still missing on your documents.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us