PayPal integration won't let me choose currency

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

  1. gusfune

    gusfune New Member

    Joined:
    Feb 20, 2011
    Messages:
    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

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    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

    gusfune New Member

    Joined:
    Feb 20, 2011
    Messages:
    11
    Thanks a lot!

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

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    Yes it will be included in next release.

Share This Page