Forums / PayPal Website Payments Pro support / Currency question using Paypal Module

Currency question using Paypal Module

Locked

Started by steveduncan on 18 Jan 2010, 5:29 PM · Views: 1,958

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
18 Jan 2010, 5:29 PM
#1
steveduncan avatar

steveduncan

New Zenner

Join Date:
Jan 2010
Posts:
52
Plugin Contributions:
0

Currency question using Paypal Module

Hi everyone,
I'm using v1.3.8a.

I try to set up PayPal Website Payments Pro. However, in the Transaction Currency section, there is "NO" Taiwan New Dollar currency. Because the PayPal account is supposed to accepting Taiwan New Dollar currency.:frusty:

Could anyone please provide solutions, e.g. new add on module? :jawdrop:

Regards

Steve

18 Jan 2010, 8:32 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: Currency question using Paypal Module

This should help you: http://www.zen-cart.com/forum/showthread.php?t=141211
You'll need to update your /includes/modules/payment/paypaldp.php file using the instructions posted there.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

18 Jan 2010, 10:13 PM
#3
steveduncan avatar

steveduncan

New Zenner

Join Date:
Jan 2010
Posts:
52
Plugin Contributions:
0

Re: Currency question using Paypal Module

DrByte:

This should help you: http://www.zen-cart.com/forum/showthread.php?t=141211
You'll need to update your /includes/modules/payment/paypaldp.php file using the instructions posted there.

Dear DrByte,

Thank you for your help.

The link above is for PayPal Express Checkout. The same procedure applies to PayPal Website Payments Pro, with the different code applying to /includes/modules/payment/paypaldp.php:

1 Around line 795:
$db->Execute("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ('Transaction Currency', 'MODULE_PAYMENT_PAYPALDP_CURRENCY', 'Selected Currency', 'Which currency should the order be sent to PayPal as? <br />NOTE: if an unsupported currency is sent to PayPal, it will be auto-converted to USD (or GBP if using UK account)<br /><strong>Default: Selected Currency</strong>', '6', '25', 'zen_cfg_select_option(array('Selected Currency', 'Only USD', 'Only AUD', 'Only CAD', 'Only EUR', 'Only GBP', 'Only CHF', 'Only CZK', 'Only DKK', 'Only HKD', 'Only HUF', 'Only JPY', 'Only NOK', 'Only NZD', 'Only PLN', 'Only SEK', 'Only SGD', 'Only THB', 'Only MXN', 'Only ILS', 'Only PHP', 'Only TWD', 'Only BRL', 'Only MYR'), ', now())");

2:
function selectCurrency($val = '', $subset = 'EC') {
$ec_currencies = array('CAD', 'EUR', 'GBP', 'JPY', 'USD', 'AUD', 'CHF', 'CZK', 'DKK', 'HKD', 'HUF', 'NOK', 'NZD', 'PLN', 'SEK', 'SGD', 'THB', 'MXN', 'ILS', 'PHP', 'TWD', 'BRL', 'MYR');
$dp_currencies = array('CAD', 'EUR', 'GBP', 'JPY', 'USD', 'AUD');

Thanks again,

Steve