Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Bombazok

Newbie
  
  • Posts

    2
  • Joined

  • Last visited

Bombazok's Achievements

Newbie

Newbie (1/14)

  • First Post
  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

1

Reputation

  1. по пути catalog/controller/extension/payment/tinkoff.php заменил 'amount' => $this->currency->format($order['total'], $order['currency_code'], $order['currency_value'], false) * 100, на 'amount' => $this->currency->convert($order['total'], 'USD', 'RUB') * 100, в моём случае - из доллара в рубли, USD можно заменить на EUR и любую другую валюту, после чего в админке в Settings>Localisation>Currencies привел к такому виду (все валюты активировал, но может быть можно оставить enabled только дефолтную, точно не знаю) После этого конвертировать начало нормально, вместо 1 рубля - перевод по курсу Надеюсь, кому-нибудь поможет!
  2. Есть ли идеи, в какую сторону копать? Даже если в параметре amount заменить функцию format на convert, оно все равно ничего не конвертирует
Guest
×
  • Create New...

Important Information

On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice.