Jason Chance
posted this on June 08, 2010 21:56
DPD provides details of all of your completed purchases to any HTTP form processor or 3rd party service of your choice.
The purchase details that we provide are submitted to your form processor via an HTTP POST. The format of the posted data loosly follows the Paypal IPN format. Any processor that can process a Paypal IPN should be able to process our purchase details.
The IPN notification URL is a website level option. This allows you to integrate with specific mailing lists or 3rd party services for each store you manage with DPD.
We support HTTP and HTTPS for communicating with your form processor. You can also use a password protected URL using the format: https://username:password@example.com/myprocessor. All purchase notifications will posted to your form processor within one minute of the purchase completion. If your server fails to respond, we do not try to post the notification again.
Purchase information fields:
txn_id => Unique identifier for this purchase
mc_gross => Total amount of payment
mc_currency => Currency of the total amount
Customer information fields:
payer_email
first_name
last_name
ip_address
Billing address fields:
address_street
address_city
address_state
address_zip
address_country
address_country_code
For Each Item in the Cart:
X = the item number in the checkout, i.e. 1, 2, 3, etc.
item_nameX => The product name for this item
item_numberX => The DPD product ID number for this item
quantityX => The quantity of this item sold. Typically "1"
mc_gross_X => The product price for this item
mc_currency_X => The price currency for this item
skuX => The SKU / Stock number for this item
product_keyX => If a product key was delivered through DPD's new keycode delivery system for this item, it will be included here.
Related Topics:
Comments
Could you make a video on how to do this?
I was doing good up to this point.
James Dickens