Eric @ EricBess WebHome

Wins do not arrogant, not to lose hungry, there is shock chest and face, such as mine Pinghu

Chinese (Simplified) flagItalian flagKorean flagPortuguese flagEnglish flagGerman flagFrench flagSpanish flagJapanese flagArabic flagRussian flagGreek flagDutch flagBulgarian flagCzech flagCroat flagDanish flagFinnish flagHindi flagPolish flagRumanian flagSwedish flagNorwegian flagCatalan flagFilipino flagHebrew flagIndonesian flagLatvian flagLithuanian flagSerbian flagSlovak flagSlovenian flagUkrainian flagVietnamese flag
By N2H

PayPal multi-currency support and the use of IPN

Paypal to receive the following support for the currency

Code Currency
AUD Australian Dollar
CAD Canadian Dollar
CHF Swiss Franc
CZK Czech Koruna
DKK Danish Krone
EUR Euro
GBP Pound Sterling
HKD Hong Kong Dollar
HUF Hungarian Forint
JPY Japanese Yen
NOK Norwegian Krone
NZD New Zealand Dollar
PLN Polish Zloty
SEK Swedish Krona
SGD Singapore Dollar
USD US Dollar

The use of multi-currency IPN

payment_gross and payment_fee: For non-US dollar payment, which is the value of the vacancy, so IPN script will not be such as the amount of dollars to deal with.

Multi-currency variables: For non-US dollar payment, IPN will add the following multi-currency variables, mc_gross and mc_fee
mc_gross: transaction fees deducted before the payment is received to pay the full amount of currency.
mc_fee: payment and paid currency-related transaction costs. Payment_fee similar to the variable function of the variables (such as the amount to be paid, the non-variable).
For rental IPN, such as registration, cancellation, modification, and the failure of EOT, mc_currency is the currency rates rather than monetary payment.

Example 1

If you have a balance of U.S. users receive a payment of $ 100 USD, will be used for payment of the following variables:
mc_gross = payment_gross
mc_fee = payment_fee
Examples of more than 3.1 currency IPN: U.S. payments
payment_status = Completed
payment_gross = 100
payment_fee = 3.00
mc_gross = 100
mc_fee = 3.00
mc_currency = USD

Example 2

If the Canadian dollar has a balance of the user received a payment of $ 100 CAD, will be used for payment of the following variables:
mc_gross and mc_fee valuable.
payment_gross and payment_fee empty.
Examples of more than 3.2 currency IPN: the Canadian dollar payment
payment_status = Completed
payment_gross =
payment_fee =
mc_gross = 100
mc_fee = 3.00
mc_currency = CAD

Example 3

If the account is set to automatic exchange of payment (automatically convert payments), these variables will be used to show dollar. This example shows the balance of U.S. users have received a sum of 100 GBP (Pound Sterling) payment:
Examples of more than 3.3 currency IPN: automatic payment of £ exchange Automatic Conversion of GBP Payment
payment_status = Completed
payment_gross =
payment_fee =
mc_gross = 100
mc_fee = 3.00
mc_currency = GBP
settle_amount = 145.5
settle_currency = USD
exchange_rate = 1.5

Example 4

If the payments received as a result pending_reason = multi_currency and to be paid in the state, received the first IPN will not settle_amount, settle_currency or exchange_rate.

Examples of more than 3.4 currency IPN: to be paid (Pending Payment)
payment_status = Pending
pending_reason = multi_currency
payment_gross =
mc_gross = 100
mc_currency = GBP

The second contains information about IPN settlement payment. If payment in order to account for the major currencies (primary currency) to accept, for example in U.S. dollars:
Examples of 3.5 to be paid - as the main currency exchange
payment_status = Completed
payment_gross =
payment_fee =
mc_gross = 100
mc_fee = 3.00
mc_currency = GBP
settle_amount = 145.5
settle_currency = USD
exchange_rate = 1.5

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...
- Welcomed the rating for this article

Log-related

In this paper, readers are also concerned about the following:

  • N / A

November 7th, 2008 Author: eric | Web technology, financial and investment | Trackback? | No comments | Email This Post Print This Post | 8 views

Add a Comment

Leave a reply

Comments Hide Post Comments