Jump to content

tiagoadp

Members
  • Posts

    22
  • Joined

  • Last visited

Community Answers

  1. tiagoadp's post in Paypal Configs And Others was marked as the answer   
    Tnx for your time CubicWebs, helped me a lot, about the currency, i have solved changing the gateway php file, list this:
     
    Before on line 85:
     
    /** * Return all currencies supported by this gateway * * @return array A numerically indexed array containing all currency codes (ISO 4217 format) this gateway supports */ public function getCurrencies() { return array("AUD", "CAD", "CZK", "DKK", "EUR", "HKD", "HUF", "JPY", "NOK", "NZD", "PLN", "GBP", "SGD", "SEK", "CHF", "USD"); }   After the change i added BRL to the list of supported currencies:   /** * Return all currencies supported by this gateway * * @return array A numerically indexed array containing all currency codes (ISO 4217 format) this gateway supports */ public function getCurrencies() { return array("AUD", "CAD", "CZK", "DKK", "EUR", "HKD", "HUF", "JPY", "NOK", "NZD", "PLN", "GBP", "SGD", "SEK", "CHF", "USD", "BRL"); }  
     
    Hope it helps a lot of ppl, and this currency is accepted on paypal, change it to be officially on next update ppl... Tnx to all!
×
×
  • Create New...