You are here: CMS Software Joomla Virtuemart Paypal + VirtueMart : ปัญหาการแปลงสกุลเงินไทยเป็น USD

Paypal + VirtueMart : ปัญหาการแปลงสกุลเงินไทยเป็น USD

E-mail Print PDF

Paypal + VirtueMart : ปัญหาการแปลงสกุลเงินไทยเป็น USD

อีเมลพิมพ์PDF

ทำตามขั้นตอนนี้เลยนะครับ แล้วการชำระ้เงินจาก website เราจากสกุลเงินไทยระบบจะแปลงเป็น $ ให้ก่อนที่จะส่งไปยังระบบของ Paypal

FOR VIRTUEMART 1.1.x (tested only on VIRTUEMART 1.1.2)
THIS IS A VERSION BASED ON PAYPAL - Currency Converter by Deneb RELEASED for VirtueMart 1.0.x
DO YOU NEED THIS?
--------------------------------
If you use a shop currency that is not one of these:
U.S. Dollar (USD)
Australian Dollar (AUD)
Canadian Dollar (CAD)
British Pounds Sterling (GBP)
Japanese Yen (JPY)
Euro (EUR)
...AND you wish to accept PayPal payments.
...BUT you can install this anyway and just disable it from the config.
...OR Dev Team can merge this into the next release.
--------------------------------
http://www.nextrix.com/images/fbfiles/files/traznet_paypall.zip
This payment Method:
->Converts the cart Total Amount and Shipping charges to one of the supported currencies that PayPal allows.
TIP: The allowed currencies are viewable in your PayPal account, under 'Profile' > Financial Information - 'Currency Balances' links.
TIP: For more payment receiving options related to currency, See 'Profile' > Selling Preferences - 'Payment Receiving Preferences' (make sure you are not blocking payments that you do not want blocked!)
->Shows a warning to the customer that the currency will be different in PayPal.(configurable!)
->Updates the payment variables sent to PayPal (Post Variables) with the new values. (Or in the case of customer viewing the order from 'Account Maintenance'...it formats the PayPal button correctly.
->Adds PayPal config option to:
=> Enable/Disable the converter
=> Set the supported PayPal currencies
=> Select the PayPal currency to use.
=> Enable/Disable a currency convert warning on Order View
=> Set the Pre text on the warning (HTML OK)
=> Set the Post text on the warning (HTML OK)
One thing to think about...
The current functionality of VM allows customers to checkout with PayPal payment selected, and not immediately fulfill payment.
Also, the currency converter is pulled from daily exchage rates and converts using those rates on the fly.
...The PayPal button on the order.
...Exchange Rates change.
So, an order where the PayPal payment is still 'pending' (whether marked as such or not) could be converted later at a
substantially different rate than when purchsed. This may / may not be advantagous / disadvantagous to the vendor / customer.
--------------------------------
Install Steps:
1. First, back-up some files:
a. PayPal class files
->folder: /administrator/components/com_virtuemart/classes/payment/
->file: ps_paypal.php
->file: ps_paypal.cfg.php
b. Language file
->folder: /administrator/components/com_virtuemart/languages/common
->file: english.php (and romanian.php for romanian users)
2. Figure out if you have any hacks currently applied to your PayPal files.
You may or may not need to merge them into the code supplied with this hack.
3. Back-up your PayPal - 'Payment Extra Info'
->Login to Joomla admin and go to the VirtueMart admin.
->Select 'Store' > 'List Payment Methods' menu item,
->Find PayPal method on the list and click it's name to Edit.
->Go to 'Configuration' tab
->Copy all text in the 'Payment Extra Info' textbox at the bottom.
->Paste it into a text editor and save it somewhere local.
4. Figure out if you have any hacks currently applied to your PayPal 'Payment Extra Info' code.
You may or may not need to merge them into the code supplied with this hack.
5. Upload the language files and overwrite with the file supplied in this attached archive: english.php (and romanian.php for romanian users)
6. Upload the class files (ps_paypal.php, ps_paypal.cfg.php) to folder: /administrator/components/com_virtuemart/classes/payment/
7. Configure your new PayPal method, and 'Payment Extra Info'
->Login to Joomla admin and go to the VirtueMart admin.
->Select 'Store' > 'List Payment Methods' menu item.
->Find PayPal on the list and click name to Edit.
->Go to 'Configuration' tab.
->Re-enter your old settings (look in your backed-up config file), and Choose the new settings you want for currency converter section.
->Copy all text from the file supplied in this attached archive (extrainfonew.txt)
and Paste it into the 'Payment Extra Info' textbox at the bottom.
->Click the SAVE button.
8. Test it.
รายละเอียด เพิ่มเติม http://forum.virtuemart.net/index.php?topic=51168.0
โหลดไฟล์ได้ที่ Click
ขั้นตอนต่อไปที่คือต้องทำการแก้ไข Error ของ Code Paypal ตอนเราส่งข้อมูลไปยัง Paypal ให้ทำตามขั้นตอนต่อไปนี้ ดูที่นี้

 


ความเห็น (1)Add Comment
0
Paypal extended payment module
written by itechshop.org, September 16, 2011
This is Paypal payment module for virtuemart 1.1.x takes any paypal unsupported currency from your store and convert it into paypal supported one that you configured at back end using Google finance so No more "This recipient does not accept payments denominated in xxx. Please contact the seller and ask him to update his payment receiving preferences to accept this currency." on paypal interface.

Now you can use any of following currency on your virtuemart shop, this module will do its job and converted them to the any paypal support currencies you configure at backend.


Paypal supported currencies you can accept using this module

Australian Dollar (AUD)
Brazilian Real (BRL)
Canadian Dollar (CAD)
Czech Koruna (CZK)
Danish Krone (DKK)
Euro (EUR)
Hong Kong Dollar (HKD)
Israeli New Sheqel (ILS)
Mexican Peso (MXN)
Norwegian Krone (NOK)
New Zealand Dollar (NZD)
Philippine Peso (PHP)
Polish Zloty (PLN)
Pound Sterling (GBP)
Singapore Dollar (SGD)
Swedish Krona (SEK)
Swiss Franc (CHF)
Thai Baht (THB)
U.S Dollar


You can set any of following 98 currencies in virtuemart

United Arab Emirates Dirham (AED)
Netherlands Antillean Guilder (ANG)
Argentine Peso (ARS)
Australian Dollar (AUD)
Bangladeshi Taka (BDT)
Bulgarian Lev (BGN)
Bahraini Dinar (BHD)
Brunei Dollar (BND)
Bolivian Boliviano (BOB)
Brazilian Real (BRL)
Botswanan Pula (BWP)
Canadian Dollar (CAD)
Swiss Franc (CHF)
Chilean Peso (CLP)
Chinese Yuan (CNY)
Colombian Peso (COP)
Costa Rican Colón (CRC)
Czech Republic Koruna (CZK)
Danish Krone (DKK)
Dominican Peso (DOP)
Algerian Dinar (DZD)
Estonian Kroon (EEK)
Egyptian Pound (EGP)
Euro (EUR)
Fijian Dollar (FJD)
British Pound Sterling (GBP)
Hong Kong Dollar (HKD)
Honduran Lempira (HNL)
Croatian Kuna (HRK)
Hungarian Forint (HUF)
Indonesian Rupiah (IDR)
Israeli New Sheqel (ILS)
Indian Rupee (INR)
Jamaican Dollar (JMD)
Jordanian Dinar (JOD)
Japanese Yen (JPY)
Kenyan Shilling (KES)
South Korean Won (KRW)
Kuwaiti Dinar (KWD)
Cayman Islands Dollar (KYD)
Kazakhstani Tenge (KZT)
Lebanese Pound (LBP)
Sri Lankan Rupee (LKR)
Lithuanian Litas (LTL)
Latvian Lats (LVL)
Moroccan Dirham (MAD)
Moldovan Leu (MDL)
Macedonian Denar (MKD)
Mauritian Rupee (MUR)
Maldivian Rufiyaa (MVR)
Mexican Peso (MXN)
Malaysian Ringgit (MYR)
Namibian Dollar (NAD)
Nigerian Naira (NGN)
Nicaraguan Córdoba (NIO)
Norwegian Krone (NOK)
Nepalese Rupee (NPR)
New Zealand Dollar (NZD)
Omani Rial (OMR)
Peruvian Nuevo Sol (PEN)
Papua New Guinean Kina (PGK)
Philippine Peso (PHP)
Pakistani Rupee (PKR)
Polish Zloty (PLN)
Paraguayan Guarani (PYG)
Qatari Rial (QAR)
Romanian Leu (RON)
Serbian Dinar (RSD)
Russian Ruble (RUB)
Saudi Riyal (SAR)
Seychellois Rupee (SCR)
Swedish Krona (SEK)
Singapore Dollar (SGD)
Slovak Koruna (SKK)
Sierra Leonean Leone (SLL)
Salvadoran Colón (SVC)
Thai Baht (THB)
Tunisian Dinar (TND)
Turkish Lira (TRY)
Trinidad and Tobago Dollar (TTD)
New Taiwan Dollar (TWD)
Tanzanian Shilling (TZS)
Ukrainian Hryvnia (UAH)
Ugandan Shilling (UGX)
US Dollar (USD)
Uruguayan Peso (UYU)
Uzbekistan Som (UZS)
Venezuelan Bolívar (VEF)
Vietnamese Dong (VND)
CFA Franc BCEAO (XOF)
Yemeni Rial (YER)
South African Rand (ZAR)
Zambian Kwacha (ZMK)


เขียนแสดงความเห็น

busy
Joomlart