PayPal integration won't let me choose currency

Discussion in 'Payment Systems' started by gusfune, Feb 21, 2011.

  1. gusfune New Member

    Member Since:
    Feb 20, 2011
    Message Count:
    11
    Hello,

    Currently all my subscriptions are in Brazilian Reais (BRL), but the PayPal integration plugin only shows prices in US Dollars (USD).

    PayPal accepts BRL as a currency. How can I change on the PayPal_R integration plugin to handle this specific currency?

    Thanks.
  2. alexander Administrator

    Member Since:
    Jan 8, 2003
    Message Count:
    5,909
    Sure you can add this to /amember/plugins/payment/paypal_r/paypal_r.inc.php:
    PHP:

            add_product_field
    ('paypal_currency',
                
    'PayPal Currency',
                
    'select',
                
    'valid only for PayPal processing.<br /> You should not change it<br /> if you use
                another payment processors'
    ,
                
    '',
                array(
    'options' => array(
                    
    '' => 'USD',
                    
    'GBP' => 'GBP',
                    
    'EUR' => 'EUR',
                    
    'CAD' => 'CAD',
                    
    'AUD' => 'AUD',
                    
    'JPY' => 'JPY',
                    
    'BRL' => 'BRL'
                
    ))
                );
  3. gusfune New Member

    Member Since:
    Feb 20, 2011
    Message Count:
    11
    Thanks a lot!

    I suggest this adjustment becomes a native feature on future plugin updates.
  4. alexander Administrator

    Member Since:
    Jan 8, 2003
    Message Count:
    5,909
    Yes it will be included in next release.

Share This Page