User's Manual
Table Of Contents
- Preface
- Introduction
- PayPal Payments Overview
- Getting Started
- PayPal Account Optional
- Creating Buy Now and Donation Buttons
- Creating Shopping Cart Buttons
- Adding PayPal to Your Third- party Shopping Cart
- Custom Payment Pages
- Calculating Shipping, Handling, and Tax
- Creating Customer Contact Telephone
- Auto Return
- Backend Integration - Payment Notifications
- Using Multiple Currencies
- Language Encoding for Your Data
- Testing
- Processing eChecks
- Security
- HTML Samples
- IPN and PDT Variables
- About These Tables of Variables
- test_ipn Variable in Sandbox
- IPN Variables in All Posts
- Buyer Information
- Basic Information
- Advanced and Custom Information
- Shopping Cart Information
- Currency and Currency Exchange
- Auctions
- Mass Payment
- Subscriptions Variables
- Dispute Notification Variables
- PDT-Specific Variables
- Country Codes
IPN and PDT Variables
Currency and Currency Exchange
B
152 May, 2005 Merchant User Manual and Integration Guide
Currency and Currency Exchange
parent_txn_
id
In the case of a refund, reversal, or canceled reversal, this variable contains the
txn_id of the original transaction, while txn_id contains a new ID for the
new transaction.
Character length and limitations: 17
txn_type cart
send_money
web-accept
cart: Transaction created by customer via the PayPal Shopping Cart feature.
send-money: Transaction created by customer from the Send Money tab on
the PayPal website.
web-accept: Transaction created by customer via Buy Now, Donation, or
Auction Smart Logos.
payment_
type
echeck
instant
echeck: This payment was funded with an eCheck.
instant: This payment was funded with PayPal balance, credit card, or
Instant Transfer.
T
ABLE B.4 IPN and PDT Variables: Currency and Currency Exchange Information
Variable Name Possible Values Description
mc_gross Full amount of the customer's payment, before transaction fee is subtracted.
Equivalent to payment_gross for USD payments. If this amount is negative,
it signifies a refund or reversal, and either of those payment statuses can be for
the full or partial amount of the original transaction.
mc_fee Transaction fee associated with the payment. mc_gross minus mc_fee will
equal the amount deposited into the receiver_email account. Equivalent to
payment_fee for USD payments. If this amount is negative, it signifies a
refund or reversal, and either of those payment statuses can be for the full or
partial amount of the original transaction fee.
mc_currency See table of
supported
currencies.
For payment IPNs, this is the currency of the payment. For non-payment
subscription IPNs, this is the currency of the subscription.
mc_handling
#
This is the total handling amount associated with the transaction.
If this is a shopping cart transaction, to the Shopping Cart Information section
for more information.
mc_shipping
#
This is the total shipping amount associated with the transaction.
If this is a shopping cart transaction, see also
“Shopping Cart Information”
on page 148
for more information.
T
ABLE B.3 IPN and PDT Variables: Shopping Cart Information
Variable Name Possible Values Description