Results 1 to 9 of 9

Hybrid View

  1. #1
    Join Date
    Jan 2010
    Posts
    52
    Plugin Contributions
    0

    help question TWD currency in PayPal IPN - Website Payments Standard

    Hi everyone,

    I try to add a new currency (taiwan currency) to PayPal IPN - Website Payments Standard, and select it on the installation and set to direct to Taiwan Paypal. However, it directs to UK paypal, and its currency is USD. I want it to direct to taiwan paypal and use taiwan currency.

    I added the new currency by following this link:

    http://www.zen-cart.com/forum/showthread.php?t=146022

    Could anyone please help me with it?

    Regards

    Steve

  2. #2
    Join Date
    Jan 2010
    Posts
    52
    Plugin Contributions
    0

    Default Re: New currency in PayPal IPN - Website Payments Standard

    I changed the code on paypal.php

    From line 466

    $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_PAYPAL_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.', '6', '3', '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\'), ', now())");

    To
    $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_PAYPAL_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', '3', '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())");

    Please tell me how to solve it?

    Steve

  3. #3
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: New currency in PayPal IPN - Website Payments Standard

    You need to also click Remove to remove the module, then click Install to re-install it so your changes take effect.
    .

    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.

  4. #4
    Join Date
    Jan 2010
    Posts
    52
    Plugin Contributions
    0

    help question Re: New currency in PayPal IPN - Website Payments Standard

    Quote Originally Posted by DrByte View Post
    You need to also click Remove to remove the module, then click Install to re-install it so your changes take effect.
    Dear DrByte,

    I did. Otherwise, I won't be able to select the newly added currency.
    I will try it again anyway and come back.

    Steve

  5. #5
    Join Date
    Jan 2010
    Posts
    52
    Plugin Contributions
    0

    Default Re: New currency in PayPal IPN - Website Payments Standard

    Quote Originally Posted by DrByte View Post
    You need to also click Remove to remove the module, then click Install to re-install it so your changes take effect.
    Dear DrByte,

    I tried again, but it is still the same.

    Steve

  6. #6
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: TWD currency in PayPal IPN - Website Payments Standard

    1. The link you posted above is where I *already* helped you do the same thing with the Express Checkout module, and you also adjusted it for the Pro module.

    2. The Express Checkout module is much more modern than the IPN/Standard module, so I'm puzzled about why you're even thinking about using the IPN module.

    3. As with the Express Checkout code changes, there are 2 sections of code to change for the IPN/Standard module, too. Your post above shows that you only did *one* of them, not both.

    I strongly recommend that you use Express Checkout instead of IPN/Standard.
    .

    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.

  7. #7
    Join Date
    Jan 2010
    Posts
    52
    Plugin Contributions
    0

    Default Re: TWD currency in PayPal IPN - Website Payments Standard

    Quote Originally Posted by DrByte View Post
    1. The link you posted above is where I *already* helped you do the same thing with the Express Checkout module, and you also adjusted it for the Pro module.

    2. The Express Checkout module is much more modern than the IPN/Standard module, so I'm puzzled about why you're even thinking about using the IPN module.

    3. As with the Express Checkout code changes, there are 2 sections of code to change for the IPN/Standard module, too. Your post above shows that you only did *one* of them, not both.

    I strongly recommend that you use Express Checkout instead of IPN/Standard.

    Dear DrByte,

    Thank for your help and your time.

    I am new to Express Checkout module. I can use Express Checkout module as long as it is supported in Taiwan. Because Paypal Pro does NOT support in Taiwan.

    I will try it again for Express Checkout module, and come back to report the result.

    Thank you again.

    Steve

  8. #8
    Join Date
    Jan 2010
    Posts
    52
    Plugin Contributions
    0

    Default Re: TWD currency in PayPal IPN - Website Payments Standard

    Dear DrByte,

    I installed PayPal Express Checkout (I removed Paypal IPN that has been installed, and install Express Checkout.
    ). However, an error occured when the botton of Check Out with PayPal is clicked.

    The following error is displayed:

    An error occurred when we tried to contact the payment processor. Please try again, select an alternate payment method, or contact the store owner for assistance. (10401) 10401 Transaction refused because of an invalid argument. See additional error messages for details. - Order total is invalid.


    The settings of Express Checkout is shown below:

    -----------------------------------------------------------------------------

    Enable this Payment Module
    True

    Sort order of display.
    0

    Payment Zone
    --none--

    Set Order Status
    Processing [2]

    Set Unpaid Order Status
    Pending [1]

    Set Refund Order Status
    Pending [1]

    Express Checkout: Require Confirmed Address
    No

    Express Checkout: Select Cheapest Shipping Automatically
    Yes

    Express Checkout: Skip Payment Page
    Yes

    Express Checkout: Automatic Account Creation
    Yes

    Payment Action
    Final Sale

    Transaction Currency
    Only TWD

    PayPal Page Style
    Primary

    API Signature -- Username
    *****************************

    API Signature -- Password
    ****************

    API Signature -- Signature Code
    **********************************************

    PayPal Mode
    PayPal

    Live or Sandbox
    live

    Debug Mode
    Log and Email

    -----------------------------------------------------------------------------


    Could you please shed light on this?

    Thank you for your time and help in advance.

    Steve

  9. #9
    Join Date
    Jan 2010
    Posts
    52
    Plugin Contributions
    0

    Default Re: TWD currency in PayPal IPN - Website Payments Standard

    Quote Originally Posted by DrByte View Post
    1. The link you posted above is where I *already* helped you do the same thing with the Express Checkout module, and you also adjusted it for the Pro module.

    2. The Express Checkout module is much more modern than the IPN/Standard module, so I'm puzzled about why you're even thinking about using the IPN module.

    3. As with the Express Checkout code changes, there are 2 sections of code to change for the IPN/Standard module, too. Your post above shows that you only did *one* of them, not both.

    I strongly recommend that you use Express Checkout instead of IPN/Standard.


    Dear DrByte,

    I am wondering if you tell me how to change the IPN (Becaue Express checkout CANNOT work for me!) so that I can test it.

    Thank you for your help.

    Steve

 

 

Similar Threads

  1. v139h PayPal Website Payments Standard - IPN
    By WiccanWitch420 in forum General Questions
    Replies: 10
    Last Post: 5 Nov 2014, 10:03 PM
  2. PayPal Website Payments Standard (IPN) Orders
    By stonecoldinc in forum Basic Configuration
    Replies: 3
    Last Post: 26 Aug 2011, 02:50 AM
  3. PayPal IPN - Website Payments Standard(v1.3.8a/v1.3.8)
    By Bobthecow in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 16 Jan 2010, 07:52 AM
  4. PayPal IPN - Website Payments Standard
    By nosnappyname in forum Built-in Shipping and Payment Modules
    Replies: 3
    Last Post: 12 Feb 2009, 01:23 AM
  5. PayPal IPN - Website Payments Standard
    By breck in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 1 Jun 2008, 08:40 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg