From bedd891e7395382437fbe6c1e5003f2439915b92 Mon Sep 17 00:00:00 2001 From: Paul Shatalov Date: Tue, 23 Jan 2018 13:43:12 +0700 Subject: [PATCH] cleanup and better api v2 support --- classes/PaybearData.php | 3 + config.xml | 2 +- controllers/front/callback.php | 12 ++- controllers/front/currencies.php | 15 +--- controllers/front/payment.php | 5 ++ paybear.php | 67 ++------------ sdk/PayBearSDK.php | 141 +++++------------------------- views/css/paybear.css | 2 +- views/js/paybear.js | 51 +++++++++-- views/templates/front/payment.tpl | 12 +-- 10 files changed, 99 insertions(+), 211 deletions(-) mode change 100644 => 100755 views/js/paybear.js diff --git a/classes/PaybearData.php b/classes/PaybearData.php index 2d429ee..e58c572 100644 --- a/classes/PaybearData.php +++ b/classes/PaybearData.php @@ -21,6 +21,8 @@ class PaybearData extends ObjectModel public $token; + public $payment_add; + /** * @see ObjectModel::$definition */ @@ -37,6 +39,7 @@ class PaybearData extends ObjectModel 'amount' => array('type' => self::TYPE_FLOAT, 'validate' => 'isPrice', 'required' => true), 'date_add' => array('type' => self::TYPE_DATE, 'validate' => 'isDateFormat'), 'date_upd' => array('type' => self::TYPE_DATE, 'validate' => 'isDateFormat'), + 'payment_add' => array('type' => self::TYPE_DATE, 'validate' => 'isDateFormat'), ) ); diff --git a/config.xml b/config.xml index 55caef2..3011dd0 100644 --- a/config.xml +++ b/config.xml @@ -2,7 +2,7 @@ paybear - + diff --git a/controllers/front/callback.php b/controllers/front/callback.php index ce09dd4..d617953 100644 --- a/controllers/front/callback.php +++ b/controllers/front/callback.php @@ -30,7 +30,7 @@ public function initContent() $toPay = $paybearData->amount; $amountPaid = $params->inTransaction->amount / pow(10, $params->inTransaction->exp); $fiatPaid = $amountPaid * $sdk->getRate($params->blockchain); - $maxDifference = min($toPay * 0.005, 0.001); + $maxDifference = 0.00000001; $paybear = Module::getInstanceByName('paybear'); PrestaShopLogger::addLog(sprintf('PayBear: to pay %s', $toPay), 1, null, 'Order', $order->id, true); @@ -41,7 +41,7 @@ public function initContent() if ($toPay > 0 && ($toPay - $fiatPaid) < $maxDifference) { $orderTimestamp = strtotime($order->date_add); - $paymentTimestamp = time(); + $paymentTimestamp = strtotime($paybearData->payment_add); $deadline = $orderTimestamp + Configuration::get('PAYBEAR_EXCHANGE_LOCKTIME') * 60; $orderStatus = Configuration::get('PS_OS_PAYMENT'); @@ -69,6 +69,14 @@ public function initContent() echo $invoice; //stop further callbacks die(); + } elseif ($order->current_state != (int) Configuration::get('PAYBEAR_OS_WAITING_CONFIRMATIONS')) { + $paybearData->payment_add = date('Y-m-d H:i:s'); + $paybearData->update(); + + $orderHistory = new OrderHistory(); + $orderHistory->id_order = (int) $order->id; + $orderHistory->changeIdOrderState((int) Configuration::get('PAYBEAR_OS_WAITING_CONFIRMATIONS'), $order, false); + $order->add(true); } } die(); diff --git a/controllers/front/currencies.php b/controllers/front/currencies.php index 8a825f2..d2142ec 100644 --- a/controllers/front/currencies.php +++ b/controllers/front/currencies.php @@ -9,26 +9,15 @@ public function initContent() $this->ajax = true; $sdk = new PayBearSDK($this->context); - // $orderId = (int) $_GET['order']; $orderId = Tools::getValue('order'); - $fiatTotal = 19.99; //get from order - - $tokens = ['ETH', 'BTC', 'LTC', 'BCH', 'BTG', 'DASH']; if (isset($_GET['token'])) { $token = $_GET['token']; $data = $sdk->getCurrency($token, $orderId, true); } else { $data = []; - foreach ($tokens as $token) { - $enabled = Configuration::get('PAYBEAR_ENABLE_'.strtoupper($token)); - $wallet = Configuration::get('PAYBEAR_' . strtoupper($token) . '_WALLET'); - $confirmations = Configuration::get('PAYBEAR_' . strtoupper($token) . '_CONFIRMATIONS'); - - if (!$enabled || !$wallet || !$confirmations) { - continue; - } - + $currencies = $sdk->getCurrencies(); + foreach ($currencies as $token => $currency) { $currency = $sdk->getCurrency($token, $orderId); if ($currency) { $data[] = $currency; diff --git a/controllers/front/payment.php b/controllers/front/payment.php index dc03d45..8a94891 100644 --- a/controllers/front/payment.php +++ b/controllers/front/payment.php @@ -12,6 +12,11 @@ public function initContent() /** @var Order $order */ $order = Order::getByReference($orderReference)->getFirst(); + + if ($order->current_state != (int) Configuration::get('PAYBEAR_OS_WAITING')) { + Tools::redirect('index.php?controller=order'); + } + $customer = $order->getCustomer(); $this->context->smarty->assign([ diff --git a/paybear.php b/paybear.php index 2cc92cf..626654c 100755 --- a/paybear.php +++ b/paybear.php @@ -1,28 +1,4 @@ -* @copyright 2007-2015 PrestaShop SA -* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*/ use PrestaShop\PrestaShop\Core\Payment\PaymentOption; @@ -34,8 +10,6 @@ class PayBear extends PaymentModule { - const DEBUG_MODE = true; // todo change - protected $_html = ''; protected $_postErrors = array(); @@ -44,17 +18,6 @@ class PayBear extends PaymentModule public $address; public $extra_mail_vars; - - - protected $cryptoCurrencies = array( - array('name' => 'eth', 'label' => 'ETH', 'defaults' => array('enabled' => 1, 'confirmations' => 3)), - array('name' => 'btc', 'label' => 'BTC', 'defaults' => array('enabled' => 1, 'confirmations' => 1)), - array('name' => 'bch', 'label' => 'BCH', 'defaults' => array('enabled' => 0, 'confirmations' => 3)), - array('name' => 'btg', 'label' => 'BTG', 'defaults' => array('enabled' => 0, 'confirmations' => 3)), - array('name' => 'dash', 'label' => 'DASH', 'defaults' => array('enabled' => 1, 'confirmations' => 3)), - array('name' => 'ltc', 'label' => 'LTC', 'defaults' => array('enabled' => 1, 'confirmations' => 3)), - ); - public function __construct() { $this->name = 'paybear'; @@ -71,12 +34,8 @@ public function __construct() $this->bootstrap = true; parent::__construct(); - // $this->displayName = Configuration::get('PAYBEAR_TITLE'); - // $this->description = Configuration::get('PAYBEAR_DESCRIPTION'); - $this->displayName = $this->l('Crypto Payment Gateway for PrestaShop by PayBear.io'); $this->description = $this->l('Allows to accept crypto payments such as Bitcoin (BTC) and Ethereum (ETH)'); - // $this->module_link = $this->context->link->getAdminLink('AdminModules', true).'&configure='.$this->name.'&tab_module='.$this->tab.'&module_name='.$this->name; if (!count(Currency::checkPaymentCurrencies($this->id))) { $this->warning = $this->l('No currency has been set for this module.'); @@ -85,7 +44,6 @@ public function __construct() public function install() { - // Registration order status if (!$this->installOrderState()) { return false; } @@ -106,19 +64,6 @@ public function install() Configuration::updateValue('PAYBEAR_DESCRIPTION', 'Bitcoin (BTC), Ethereum (ETH) and other crypto currencies'); Configuration::updateValue('PAYBEAR_EXCHANGE_LOCKTIME', '15'); - // foreach ($this->cryptoCurrencies as $cryptoCurrency) { - // if (!Configuration::updateValue('PAYBEAR_ENABLE_'.strtoupper($cryptoCurrency['name']), $cryptoCurrency['defaults']['enabled'])) { - // return false; - // } - // if (!Configuration::updateValue('PAYBEAR_' . strtoupper($cryptoCurrency['name']) . '_CONFIRMATIONS', $cryptoCurrency['defaults']['confirmations'])) { - // return false; - // } - // - // if (!Configuration::updateValue('PAYBEAR_' . strtoupper($cryptoCurrency['name']) . '_WALLET', '')) { - // return false; - // } - // } - return true; } @@ -280,11 +225,6 @@ public function displayForm() $helper->fields_value['paybear_exchange_locktime'] = Configuration::get('PAYBEAR_EXCHANGE_LOCKTIME'); $helper->fields_value['paybear_api_secret'] = Configuration::get('PAYBEAR_API_SECRET'); $helper->fields_value['paybear_api_public'] = Configuration::get('PAYBEAR_API_PUBLIC'); - // foreach ($this->cryptoCurrencies as $currency) { - // $helper->fields_value['paybear_enable_' . $currency['name']] = Configuration::get('PAYBEAR_ENABLE_' . strtoupper($currency['name'])); - // $helper->fields_value['paybear_' . $currency['name'] . '_confirmations'] = Configuration::get('PAYBEAR_' . strtoupper($currency['name']) . '_CONFIRMATIONS'); - // $helper->fields_value['paybear_' . $currency['name'] . '_wallet'] = Configuration::get('PAYBEAR_' . strtoupper($currency['name']) . '_WALLET'); - // } return $helper->generateForm($fields_form); } @@ -299,10 +239,13 @@ private function installSQL() `token` VARCHAR(256) NULL DEFAULT NULL, `address` VARCHAR(256), `invoice` VARCHAR(256), - `amount` DECIMAL(20, 7), + `amount` DECIMAL(20, 8), `confirmations` INT(2) NULL DEFAULT NULL, `date_add` DATETIME NULL DEFAULT NULL, - `date_upd` DATETIME NULL DEFAULT NULL + `date_upd` DATETIME NULL DEFAULT NULL, + `payment_add` DATETIME NULL DEFAULT NULL, + KEY `order_reference` (`order_reference`), + KEY `token` (`token`) ) ENGINE = "._MYSQL_ENGINE_; foreach ($sql as $q) { diff --git a/sdk/PayBearSDK.php b/sdk/PayBearSDK.php index 2a98787..377dbf8 100644 --- a/sdk/PayBearSDK.php +++ b/sdk/PayBearSDK.php @@ -3,6 +3,8 @@ class PayBearSDK { + public static $currencies = null; + protected $context; public function __construct($context) @@ -27,17 +29,15 @@ public function getAddress($orderId, $token = 'ETH') $data->order_reference = $orderId; } - // $payoutAddress = $this->getPayout($token); $callbackUrl = $this->context->link->getModuleLink('paybear', 'callback', array('order' => $orderId)); - // $url = sprintf('https://api.paybear.io/v2/%s/payment/%s/%s', strtolower($token), $payoutAddress, urlencode($callbackUrl)); $url = sprintf('http://s.etherbill.io/v2/%s/payment/%s?token=%s', strtolower($token), urlencode($callbackUrl), $apiSecret); if ($response = file_get_contents($url)) { $response = json_decode($response); if (isset($response->data->address)) { $fiatAmount = $order->total_paid; - $coinsAmount = round($fiatAmount / $rate, 7); + $coinsAmount = round($fiatAmount / $rate, 8); $data->confirmations = null; $data->token = strtolower($token); @@ -72,111 +72,17 @@ public function getCurrency($token, $orderId, $getAddress = false) /** @var Order $order */ $order = Order::getByReference($orderReference)->getFirst(); $fiatValue = (float)$order->total_paid; - $coinsValue = round($fiatValue / $rate, 7); - - switch ($token) { - case 'ETH': - $currency = (object) [ - 'coinsValue' => $coinsValue, - 'rate' => $this->getRate('eth'), - 'title' => "Ethereum", - 'code' => "ETH", - 'metamask' => true, - 'confirmations' => Configuration::get('PAYBEAR_'.strtoupper($token) . '_CONFIRMATIONS'), - 'icon' => 'data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjQxNyIgcHJlc2VydmVBc3BlY3RSYXRpbz0ieE1pZFlNaWQiIHZpZXdCb3g9IjAgMCAyNTYgNDE3IiB3aWR0aD0iMjU2IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGQ9Im0xMjcuOTYxMSAwLTIuNzk1IDkuNXYyNzUuNjY4bDIuNzk1IDIuNzkgMTI3Ljk2Mi03NS42Mzh6IiBmaWxsPSIjMzQzNDM0Ii8+PHBhdGggZD0ibTEyNy45NjIgMC0xMjcuOTYyIDIxMi4zMiAxMjcuOTYyIDc1LjYzOXYtMTMzLjgwMXoiIGZpbGw9IiM4YzhjOGMiLz48cGF0aCBkPSJtMTI3Ljk2MTEgMzEyLjE4NjYtMS41NzUgMS45MnY5OC4xOTlsMS41NzUgNC42MDEgMTI4LjAzOC0xODAuMzJ6IiBmaWxsPSIjM2MzYzNiIi8+PHBhdGggZD0ibTEyNy45NjIgNDE2LjkwNTJ2LTEwNC43MmwtMTI3Ljk2Mi03NS42eiIgZmlsbD0iIzhjOGM4YyIvPjxwYXRoIGQ9Im0xMjcuOTYxMSAyODcuOTU3NyAxMjcuOTYtNzUuNjM3LTEyNy45Ni01OC4xNjJ6IiBmaWxsPSIjMTQxNDE0Ii8+PHBhdGggZD0ibSAuMDAwOSAyMTIuMzIwOCAxMjcuOTYgNzUuNjM3di0xMzMuNzk5eiIgZmlsbD0iIzM5MzkzOSIvPjwvc3ZnPg==', - 'blockExplorer' => 'https://etherscan.io/address/%s', - 'walletLink' => 'ethereum:%s?amount=%s', - 'minimum' => 0.001, - 'min_with_fee' => 0.006, - ]; - break; - case 'BTC': - $currency = (object) [ - 'coinsValue' => $coinsValue, - 'rate' => $this->getRate('btc'), - 'title' => 'Bitcoin', - 'code' => 'BTC', - 'confirmations' => Configuration::get('PAYBEAR_'.strtoupper($token) . '_CONFIRMATIONS'), - 'icon' => 'data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjU0IiB2aWV3Qm94PSIwIDAgMzkgNTQiIHdpZHRoPSIzOSIge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DY1NS0uNTk2NDgwMyA0LjA1NjA2NTUgNC40MTM5NTM2LjExOTI5NjEgNC43NzE4NDE3LTQuMDU2MDY1NSAzLjkzNjc2OTQtNC4wNTYwNjU1IDMuOTM2NzY5NHoiIGZpbGw9IiNmN2FjMzEiIHRyYW5zZm9ybT0ibWF0cml4KC45ODE2MjcxOCAuMTkwODA5IC0uMTkwODA5IC45ODE2MjcxOCAtNC4yMTg5NTUgLTEwLjUwOTU1OSkiLz48L3N2Zz4=', - 'blockExplorer' => 'https://blockchain.info/address/%s', - 'minimum' => 0.0005, - 'min_with_fee' => 0.001, - // 'walletLink' => "bitcoin:%s?amount=%s" - ]; - break; - case 'DASH': - $currency = (object) [ - 'coinsValue' => $coinsValue, - 'rate' => $this->getRate('dash'), - 'title' => 'Dash', - 'code' => 'DASH', - 'confirmations' => Configuration::get('PAYBEAR_'.strtoupper($token) . '_CONFIRMATIONS'), - 'icon' => 'data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjM4IiB2aWV3Qm94PSIwIDAgNjQgMzgiIHdpZHRoPSI2NCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJtNjMuOTEzNjQ2MiAxOC45NjkwMDk1Yy4yMDkzMjQyIDEuMjkwODMyNC4wMzQ4ODczIDIuNjE2NTUyMS0uNDg4NDIzMSAzLjgwMjcyMjRsLTUuNzU2NDE0NiAxOC4xMDY1NDA2Yy0uNTIzMzEwNCAxLjI1NTk0NS0xLjE1MTI4MjkgMi40NDIxMTUzLTEuOTE4ODA0OSAzLjU5MzM5ODItLjkwNzA3MTQgMS4xNTEyODI5LTEuOTUzNjkyMiAyLjE5NzkwMzgtMy4xMDQ5NzUyIDMuMTA0OTc1Mi0xLjE4NjE3MDMuOTc2ODQ2MS0yLjU4MTY2NDcgMS42NzQ1OTMzLTMuODAyNzIyNCAyLjM3MjM0MDYtMS4yMTg4ODA0LjQ1MDg4MDktMi41MDM1NzI1LjY5ODM5MDQtMy44MDI3MjI0LjczMjYzNDZoLTQzLjYwOTIwMTc4bDMuMTA0OTc1MTctOS4zMTQ5MjU1aDM5LjMxODA1NjMxbDYuMjA5OTUwNC0xOS4wNDg0OTk0aC0zOS4zMTgwNTY0bDMuMTA0OTc1Mi05LjMxNDkyNTVoNDMuMzk5ODc3NmMxLjE1MTI4My0uMDM0ODg3NCAyLjMwMjU2NTkuMjA5MzI0MiAzLjM0OTE4NjcuNzMyNjM0NiAxLjAxMTczMzUuMzgzNzYxIDEuODgzOTE3NiAxLjE1MTI4MjkgMi4zNzIzNDA2IDIuMTI4MTI5LjU1ODE5NzguOTQxOTU4OC44NzIxODQxIDIuMDIzNDY3Ljk0MTk1ODggMy4xMDQ5NzUyem0tMzcuNjc4MzUwNCA4LjU0NzQwMzYtMi44NjA3NjM2IDguNjE3MTc4MmgtMjMuMzc0NTMyMmwzLjEwNDk3NTE3LTguNjE3MTc4MnoiIGZpbGw9IiMxZTc1YmIiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAgLTEzKSIvPjwvc3ZnPg==', - 'blockExplorer' => 'https://explorer.dash.org/address/%s', - 'minimum' => 0.0005, - 'min_with_fee' => 0.003, - ]; - break; - /* - case 'XMR': - return (object)[ - 'address' => $address, - 'coinsValue' => $coinsValue, - 'rate' => getRate('xmr'), - 'title' => 'Monero', - 'code' => 'XMR', - 'confirmations' => 0, - 'icon' => 'data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjY0IiB2aWV3Qm94PSIwIDAgNjQgNjQiIHdpZHRoPSI2NCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSJub25lIj48cGF0aCBkPSJtMzEuODc0OTg4MyAwYy0xNy42MDEyNDUxIDAtMzEuODc0OTg4MyAxNC4yNzM0OTQyLTMxLjg3NDk4ODMgMzEuODc1MjM3NCAwIDMuNTE4MDA3Ny41NzAyNzIzNyA2LjkwMjAzODkgMS42MjMxNTk1MyAxMC4wNjgxNzEyaDkuNTMzMjYwNjd2LTI2LjgxOTIzNzRsMjAuNzE5MDY2MiAyMC43MTkwNjYyIDIwLjcxODU2ODEtMjAuNzE5MDY2MnYyNi44MTg5ODgzaDkuNTMzMjYwN2MxLjA1MzYzNDItMy4xNjYxMzIzIDEuNjIzOTA2Ni02LjU1MDE2MzQgMS42MjM5MDY2LTEwLjA2ODE3MTItLjAwMDI0OS0xNy42MDIyNDEyLTE0LjI3NDI0MTMtMzEuODc0OTg4My0zMS44NzYyMzM1LTMxLjg3NDk4ODMiIGZpbGw9IiNmNjAiLz48cGF0aCBkPSJtMjcuMTEwODQ4MiA0MC42MDY4Nzk0LTkuMDQyMTc4OS05LjA0MjQyOHYxNi44NzUzMzA3aC0xMy40MzEwMzUwNmM1LjU5NTY0MjA2IDkuMTc5ODkxMSAxNS43MDE0MTYzNiAxNS4zMTAxOTQ2IDI3LjIzNjg1NjA2IDE1LjMxMDE5NDZzMjEuNjQyMjEwMS02LjEzMDMwMzUgMjcuMjM3MTA1LTE1LjMxMDE5NDZoLTEzLjQzMDc4NnYtMTYuODc1NTc5OGwtOS4wNDIxNzg5IDkuMDQyMTc5LTQuNzYzODkxMSA0Ljc2MzY0Mi00Ljc2MzM5My00Ljc2MzM5MjloLS4wMDA0OTgxeiIgZmlsbD0iIzRjNGM0YyIvPjwvZz48L3N2Zz4=', - 'blockExplorer' => 'https://moneroblocks.info/tx/%s' - ]; - break; - case 'WAVES': - return (object)[ - 'address' => $address, - 'coinsValue' => $coinsValue, - 'rate' => getRate('waves'), - 'title' => 'Waves', - 'code' => 'WAVES', - 'confirmations' => 0, - 'icon' => 'data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjY0IiB2aWV3Qm94PSIwIDAgNjQgNjQiIHdpZHRoPSI2NCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxwYXRoI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jIxOTMyIDEuNjIzNTY3OS02LjIxMTQ1NjcgMGwtNi40LTUuOTE4MTY3Yy0uOTQyNzE2OC0uODc5ODY5LTIuMzk4NjkwNi0uODc5ODY5LTMuMzQxNDA3NSAwbC02LjQgNS45MTgxNjdjLTEuNzU5NzM4MSAxLjYyMzU2NzktNC40NjIxOTMxIDEuNjIzNTY3OS02LjIxMTQ1NjYgMGwtNi40LTUuOTE4MTY3Yy0uOTUzMTkxNS0uODc5ODY5LTIuMzk4NjkwNjgtLjg3OTg2OS0zLjM1MTg4MjE3IDBsLTMuNTgyMzI0MDYgMy4zMDk5ODM3Yy0zLjI4OTAzNDM3IDMuMDU4NTkyNC02Ljc2NjYxMjExIDQuNDYyMTkzMS0yLjI2MjUyMDQ2IDguOTY2Mjg0NyIgZmlsbD0iI2UyZTFlMSIvPjwvZz48L3N2Zz4=', - 'blockExplorer' => 'https://wavesexplorer.com/address/%s' - ]; - break; - case 'EOS': - return (object)[ - 'address' => $address, - 'coinsValue' => $coinsValue, - 'rate' => getRate('eos'), - 'title' => 'Eos', - 'code' => 'EOS', - 'confirmations' => 0, - 'icon' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEEAAAA9CAAAAADXfFsjAAAC0klEQVRIx9WXra70IBCGz42dq9lL6CXsNWBISEhIKjAoVFUdDlNTg8EgqhCIJuT9RH+3Z88p3aqvYtOS7sN0Zt6Z4Qt3r6/TN0y+SWi/1T2CJ4T0dwgj9TSQeIOgWpBs688JnUAmCdJ8SogkIpOERMKHBGGBTBLgaP6IYBRmAprmE0IgaSVk5q4TMnVYCTPuGmE2fCbAyqsEx/ILAbW9RlgDGB5uCe1wiaDmJMrM0HG67Xm+QLBii6hu53vdlBPiIqZEItLyMFJfTBBmUxawKsuRUkKumiWp8j6dukcqJAxk3pVPxSXMslDvis1bgm3EAABd/RKZkZmmkKBcYwCMawZMnu1lrMsImSdfvwrSKADagqciQhTINGEg405mHplGKFdE6DWgulchOIogAGOKCI0FOu35y6LsTAt4VUQQAUj0UBsjpQFIP7XxhpBYBvDkh2VdAUAdCghOAkiVPlbNxwCgMQWEtgWglTjYK7UE0KsCQu2BQLI4+iEzB0R2Thj5CIhuMmWX6RqeZkAMp4QggZ4D4RDNHlAW0P0pwbbI1AOZDi91cwQiSbDNKUH1MBJHt3dy7gChPiNkHuey5sVLSk6WDPkorh+EgaNp5zIdd5PI2nekOyFYHRdN6k1arl40Gkx7QtC9svvkPMAcD/KEUNs1iuPabfM2Skkrxj8JUez6/OQ+AJ5ufmIHcR0J/rkzchWB3gW2eXZ/EppH3M+Cs8Fsv1jVfxKePMXtYl2MMUZHdmtxKhS/EsiDCb5c4lkJzrmoqt0af1T5L8LY0J100uRBuvOdZzqdaZPLTVLcAxjIumlUP/r3u0prabv8xTTLz/RIyqo9kl6SIrIMiHlbz2UsnmE8V9PLPCBOnXvDFs5ys8FtC6sBwJI2X5wno2IeCAzCAUHI+MFc7ahOoJ4cQnxlts+GdIY1/W8fUHLGiYp8P+Vw66znSHf3vHn/xPo/EP4BiV3eIZgOCrEAAAAASUVORK5CYII=', - 'blockExplorer' => 'https://etherscan.io/token/EOS?a=%s' - ]; - break; - case 'ETC': - return (object)[ - 'address' => $address, - 'coinsValue' => $coinsValue, - 'rate' => getRate('etc'), - 'title' => 'Eth. Classic', - 'code' => 'ETC', - 'confirmations' => 0, - 'icon' => 'data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjY0IiB2aWV3Qm94PSIwIDAgMzkgNjQiIHdpZHRoPSIzOSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJtMTMuNjk2NTk4NiAyOC42NzY2NDQgMTguODY2MjEzMi03Ljk1MjgzNDUgMTguMjg1NzE0MyA4LjE1NjAwOTEtMTguMzE0NzM5My0yOC44Nzk4MTg2em0uMDU4MDQ5OSA4LjgyMzU4MjggMTguODM3MTg4MiAxMC45MTMzNzg2IDE5LjIxNDUxMjUtMTAuOTEzMzc4Ni0xOS4wNDAzNjI4IDI2LjQ5OTc3MzJ6bTE4Ljg5NTIzODEtMTIuODg3MDc0OSAxOS4wOTg0MTI3IDguNTA0MzA4NC0xOS4wOTg0MTI3IDEwLjY4MTE3OTItMTkuNjQ5ODg2Ni0xMC45MTMzNzg3eiIgZmlsbD0iIzY2OTA3MyIgZmlsbC1ydWxlPSJldmVub2RkIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMTMpIi8+PC9zdmc+', - 'blockExplorer' => 'https://etcchain.com/addr/%s' - ]; - break; - */ - default: - //echo 'currency '.$token.' not found'; - return null; - } + $coinsValue = round($fiatValue / $rate, 8); + + $currencies = $this->getCurrencies(); + $currency = (object) $currencies[strtolower($token)]; + $currency->coinsValue = $coinsValue; + if ($getAddress) { $currency->address = $this->getAddress($orderId, $token); } else { $currency->currencyUrl = $this->context->link->getModuleLink('paybear', 'currencies', array('token' => $token, 'order' => $orderReference)); - // $currency->currencyUrl = sprintf('/app_dev.php/currencies?order=%s&token=%s', $orderId, $token); } return $currency; @@ -188,6 +94,19 @@ public function getCurrency($token, $orderId, $getAddress = false) return null; } + public function getCurrencies() + { + if (self::$currencies === null) { + $url = sprintf('http://s.etherbill.io/v2/currencies?token=%s', Configuration::get('PAYBEAR_API_SECRET')); + $response = file_get_contents($url); + $data = json_decode($response, true); + + self::$currencies = $data['data']; + } + + return self::$currencies; + } + public function getRate($curCode) { @@ -214,20 +133,4 @@ public function getRates() return $rates; } - - - /* - function getRate($curCode) { - $url = "https://api.paybear.io/v1/".strtolower($curCode)."/exchange/usd/rate"; - - if ($response = file_get_contents($url)) { - $response = json_decode($response); - if ($response->success) { - return $response->data->mid; - } - } - return null; - } - - */ } diff --git a/views/css/paybear.css b/views/css/paybear.css index f5eaa5e..c8ae912 100755 --- a/views/css/paybear.css +++ b/views/css/paybear.css @@ -1 +1 @@ -#paybear{font-family:Helvetica,Arial,sans-serif}@media (max-width:640px){#paybear{height:100%}}.PayBear-app{font-size:18px;height:100%;min-height:500px;margin:0 auto;overflow:hidden;-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none}@media (max-width:640px){.PayBear-app{height:100%}}@media (min-width:641px){.PayBear-app{height:auto}}.PayBear-app *,.PayBear-app :after,.PayBear-app :before{-webkit-box-sizing:border-box;box-sizing:border-box}.PayBear-app a{color:#527ee0;font-weight:600;text-decoration:none;-webkit-box-shadow:none;box-shadow:none;border:0}.PayBear-app .PayBear-container{padding:0 20px 20px;max-width:640px;min-width:320px;margin:0 auto;height:100%;min-height:500px;background:#fff;position:relative;border-radius:0 0 6px 6px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.PayBear-app .PayBear-container .PayBear{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}@media (max-width:640px){.PayBear-app .PayBear-container{border-radius:0}}@media (min-width:769px) and (min-height:700px){.PayBear-app .PayBear-container{padding:0 40px 40px}}@media (min-width:2400px) and (min-height:700px){.PayBear-app .PayBear-container{max-width:800px}}@media (max-height:770px) and (min-width:1025px){.PayBear-app .PayBear-container{max-width:600px}}@media (max-height:700px) and (min-width:1025px){.PayBear-app .PayBear-container{max-width:540px}}.PayBear-app button{background:none;border:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;outline:0;font-family:Helvetica,Arial,sans-serif;cursor:pointer}.PayBear-app [role=button]{outline:0}.PayBear-app h1,.PayBear-app h2,.PayBear-app h3{margin:20px 0}.PayBear-app h1{font-size:25px}.PayBear-app h2{font-size:20px}.P-box{-webkit-box-shadow:0 2px 2px rgba(0,0,0,.06),0 2px 24px rgba(0,0,0,.06);box-shadow:0 2px 2px rgba(0,0,0,.06),0 2px 24px rgba(0,0,0,.06);border-radius:4px;overflow:hidden;height:100%}.P-box,.P-box__inner{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.P-box__inner{padding:20px 20px 30px;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}@media (min-width:769px) and (min-height:700px){.P-box__inner{padding:20px 20px 40px}}@media (max-height:770px) and (min-width:1025px){.P-box__inner{padding:20px 20px 40px}}@media (max-height:600px) and (min-width:1025px){.P-box__inner{padding-bottom:20px}}.P-Content{font-size:17px;letter-spacing:.22px;line-height:1.58;color:#747474}@media (min-width:769px) and (min-height:700px){.P-Content{padding:0 55px}}@media (max-height:770px) and (min-width:1025px){.P-Content{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}}.P-Content strong{font-weight:500;color:#353535}.P-Content h2{color:#161616;font-size:24px;letter-spacing:.3px;font-weight:700;margin:20px 0 23px;line-height:1.33;padding:0 22px}@media (max-width:350px){.P-Content h2{padding:0}}.P-Content p{margin:0}.P-Content__icon{width:170px;height:160px;padding:24px 26px;margin:0 auto}@media (max-width:350px){.P-Content__icon{width:120px;height:140px;padding:10px}}@media (min-width:769px) and (min-height:700px){.P-Content__icon{width:240px;height:240px;padding:22px}}@media (max-height:770px) and (min-width:1025px){.P-Content__icon{width:100%;height:200px;padding:20px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}}@media (max-height:700px) and (min-width:1025px){.P-Content__icon{padding:16px}}.P-Content__icon img{width:100%}@media (max-height:770px) and (min-width:1025px){.P-Content__icon img{width:auto;height:100%}}.P-Content__icon svg{width:100%;height:100%}.P-Content ul{list-style:none;margin:0;padding:0 0 0 30px;text-align:left}@media (min-width:769px) and (min-height:700px){.P-Content ul{padding:0 0 0 60px}}.P-Content ul li{margin-bottom:20px;position:relative}.P-Content ul li:last-child{margin-bottom:0}.P-Content ul li:before{content:"";position:absolute;top:50%;left:-25px;margin-top:-5px;width:10px;height:10px;background:#e0e0e0;border-radius:2px}@media (min-width:769px) and (min-height:700px){.P-Content ul li:before{left:-50px;margin-top:-10px;width:20px;height:20px}}.P-Payment__expired .P-Content{color:#797979;font-size:18px;letter-spacing:0;line-height:1.45;padding:16px 0}@media (min-width:769px) and (min-height:700px){.P-Payment__expired .P-Content{font-size:22px;letter-spacing:0;padding:32px 56px}}.P-Payment__expired .P-Content strong{font-weight:600;color:#494949}.P-block-explorer{white-space:nowrap;display:inline-block}.P-block-explorer svg{vertical-align:-2px}.PayBear-spinner{background:#fff;width:300px;text-align:center;padding:40px;border-radius:6px;margin:100px auto 0}.PayBear-spinner__container{position:relative;height:40px;width:40px;margin:auto}.PayBear-spinner__item{min-width:30px;min-height:30px}@-webkit-keyframes spinner{to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes spinner{to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.PayBear-spinner__item:before{content:"";position:absolute;top:50%;left:50%;width:40px;height:40px;margin-top:-20px;margin-left:-20px;border-radius:50%;border:5px solid #ccc;border-top-color:#5e7fcd;-webkit-animation:spinner .6s linear infinite;animation:spinner .6s linear infinite}.PayBear-app-error{background:#fff;width:100%;max-width:400px;text-align:center;padding:40px;border-radius:6px;margin:100px auto 0;color:#797979;font-size:16px;letter-spacing:0;line-height:1.45}.PayBear-app-error .P-btn{outline:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;height:50px;line-height:50px;font-size:18px;font-weight:700;padding:0 30px;background:#396ee0;color:#fff;text-decoration:none;border-radius:999px;cursor:pointer;border:0;display:block;margin:20px auto 0}.P-disabled{position:relative;pointer-events:none}.P-disabled:after{content:"Loading...";position:absolute;width:100%;height:100%;left:0;top:0;text-align:center;padding-top:30%;background:hsla(0,0%,100%,.7)}.PayBear-app .P-buttons-flex{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.PayBear-app .P-buttons-flex .P-btn-block{width:100%;max-width:236px}.PayBear-app .P-btn-block{display:inline-block;vertical-align:middle;font-size:11px;font-weight:600;color:#656565;cursor:pointer;width:236px;margin-right:12px;line-height:1.25}@media (min-width:500px) and (min-height:700px){.PayBear-app .P-btn-block{font-size:15px;margin-right:24px}}.PayBear-app .P-btn-block:last-child{margin-right:0}.PayBear-app .P-btn-block__inner{display:block;padding:16px 10px 21px;border-radius:6px;background:#fff;-webkit-box-shadow:0 1px 2px rgba(0,0,0,.14),0 2px 17px rgba(0,0,0,.06);box-shadow:0 1px 2px rgba(0,0,0,.14),0 2px 17px rgba(0,0,0,.06)}.PayBear-app .P-btn-block:active .P-btn-block__inner{-webkit-box-shadow:0 1px 2px rgba(0,0,0,.14);box-shadow:0 1px 2px rgba(0,0,0,.14)}.PayBear-app .P-btn-block.P-wallet-btn .P-wallet-icon{width:18px;height:18px;margin:0 auto 4px;display:block;background:no-repeat 50% url("data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjMwIiB2aWV3Qm94PSIwIDAgMzIgMzAiIHdpZHRoPSIzMiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJtMjguNjY2NjY2NyAxMy4zMzMzMzMzaC0uNjY2NjY2N3YtMy4zMzMzMzMzYzAtMS4yMjY2NjY2Ny0uNjkzMzMzMy0yLTEuNjEzMzMzMy0yLjY2NjY2NjY3LS42MjI1NDQ2LS40Mzc1MDAxMS0xLjM2NTc3NjgtLjY3MDQ4ODI2LTIuMTI2NjY2Ny0uNjY2NjY2NjZoLTE4LjE5MzMzMzMzYy0xLjAyNzEyNDMzLjAyMTg1Njg0LTEuOTExMjg5NzctLjcyMTEyNzM1LTIuMDY2NjY2NjctMS43MzY2NjY2Ny0uMDc2MzA5NTktLjU3NDM1MjQ0LjEwMDIwODQ4LTEuMTUzNTcxNDUuNDgzODY4OS0xLjU4Nzc0NzE2LjM4MzY2MDQz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zMxOTAxNC0uOTc2MzEwNy0yLjM1NzAyMjYtLjYyNTEyMTMtLjYyNTEyMTMtMS40NzI5Njc3LS45NzYzMTA4LTIuMzU3MDIyNi0uOTc2MzEwOHptMiA0LjY2NjY2NjdjMCAxLjEwNDU2OTUtLjg5NTQzMDUgMi0yIDJoLTYuNjY2NjY2N2MtMS4xMDQ1Njk1IDAtMi0uODk1NDMwNS0yLTJ2LTEuMzMzMzMzM2MwLTEuMTA0NTY5NS44OTU0MzA1LTIgMi0yaDYuNjY2NjY2N2MxLjEwNDU2OTUgMCAyIC44OTU0MzA1IDIgMnptLTggLjY2NjY2NjdjLjczNjM3OTYgMCAxLjMzMzMzMzMtLjU5Njk1MzcgMS4zMzMzMzMzLTEuMzMzMzMzNCAwLS43MzYzNzk2LS41OTY5NTM3LTEuMzMzMzMzMy0xLjMzMzMzMzMtMS4zMzMzMzMzLS43MzYzNzk3IDAtMS4zMzMzMzM0LjU5Njk1MzctMS4zMzMzMzM0IDEuMzMzMzMzMyAwIC43MzYzNzk3LjU5Njk1MzcgMS4zMzMzMzM0IDEuMzMzMzMzNCAxLjMzMzMzMzR6IiBmaWxsPSIjOTk5IiB0cmFuc2Zvcm09IiIvPjwvc3ZnPg==");background-size:contain}@media (min-width:500px) and (min-height:700px){.PayBear-app .P-btn-block.P-wallet-btn .P-wallet-icon{width:24px;height:24px;margin:0 auto 9px}}.PayBear-app .P-btn-block__helper{display:block;color:#9f9f9f;letter-spacing:-.22px;font-family:Menlo,monospace;font-weight:400;margin-bottom:7px;font-size:13px}@media (min-width:500px) and (min-height:700px){.PayBear-app .P-btn-block__helper{font-size:21px}}.PayBear-app .P-btn-block__helper .P-dots{margin:0 -6px}.PayBear-app .P-btn-block__helper .P-dots i{display:inline-block;vertical-align:middle;width:4px;height:4px;border-radius:50%;background:#9f9f9f;margin:0 2px}.PayBear-app .P-btn-block__helper .P-dots:after,.PayBear-app .P-btn-block__helper .P-dots:before{content:"";display:inline-block;vertical-align:middle;width:4px;height:4px;border-radius:50%;background:#9f9f9f}.PayBear-app .P-btn-block .P-btn-block__copied-text{content:"";font-size:6px;color:#4fbda6;letter-spacing:.65px;font-weight:700;text-transform:uppercase;position:absolute;z-index:2;top:-16px;padding:4px 0;left:0;width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;visibility:hidden;white-space:nowrap}@media (min-width:769px) and (min-height:700px){.PayBear-app .P-btn-block .P-btn-block__copied-text{padding:5px 0;margin-left:-3px;top:-23px;font-size:11px}}.PayBear-app .P-btn-block .P-btn-block__copied-text svg{margin-right:3px;-ms-flex-negative:0;flex-shrink:0;width:8px;height:8px}@media (min-width:769px) and (min-height:700px){.PayBear-app .P-btn-block .P-btn-block__copied-text svg{width:13px;height:13px}}.PayBear-app .P-btn-block--copied{position:relative}.PayBear-app .P-btn-block--copied .P-btn-block__inner{position:relative;z-index:2}.PayBear-app .P-btn-block--copied:before{-webkit-box-sizing:content-box;box-sizing:content-box;content:"";position:absolute;z-index:1;left:-6px;top:-16px;width:100%;height:100%;padding:6px;padding-top:16px;background:rgba(79,189,166,.19);border-radius:8px}@media (min-width:769px) and (min-height:700px){.PayBear-app .P-btn-block--copied:before{top:-23px;padding-top:23px}}.PayBear-app .P-btn-block--copied .P-btn-block__copied-text{visibility:visible}.PayBear-app .P-btn-block[disabled]{opacity:.7;pointer-events:none}.PayBear-app .P-btn{height:50px;line-height:50px;font-size:18px;font-weight:700;padding:0 30px;margin-top:30px;background:#396ee0;color:#fff;text-decoration:none;display:inline-block;border-radius:999px;cursor:pointer;border:0}.PayBear-app .P-btn[disabled]{opacity:.7;pointer-events:none}@media (max-width:350px){.PayBear-app .P-btn{height:42px;line-height:42px;font-size:15px;margin-top:20px}}@media (min-width:769px) and (min-height:700px){.PayBear-app .P-btn{height:54px;line-height:54px;font-size:24px;padding:0 31px;margin-top:27px}}@media (max-height:700px) and (min-width:1025px){.PayBear-app .P-btn{margin-top:10px}}.PayBear-app .P-btn__icon{display:inline-block;width:22px;height:22px;fill:#fff;vertical-align:-3px;margin-right:10px}@media (max-width:350px){.PayBear-app .P-btn__icon{width:16px;height:16px}}@media (min-width:769px) and (min-height:700px){.PayBear-app .P-btn__icon{width:32px;height:32px;vertical-align:-7px}}.PayBear-app .P-btn__icon--back-grey{background:no-repeat 50% url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PHN2ZyAgIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgICB4bWxuczpjYz0iaHR0cDovL2NyZWF0aXZlY29tbW9ucy5vcmcvbnMjIiAgIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyIgICB4bWxuczpzdmc9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiAgIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgICB4bWxuczpzb2RpcG9kaT0iaHR0cDovL3NvZGlwb2RpLnNvdXJjZWZvcmdlLm5ldC9EVEQvc29kaXBvZGktMC5kdGQiICAgeG1sbnM6aW5rc2NhcGU9Imh0dHA6Ly93d3cuaW5rc2NhcGUub3JnL25hbWVzcGFjZXMvaW5rc2NhcGUiICAgaGVpZ2h0PSIyMiIgICB2aWV3Qm94PSIwIDAgMjIgMjIiICAgd2lkdGg9IjIyIiAgIGlkPSJzdmcyIiAgIHZlcnNpb249IjEuMSIgICBpbmtzY2FwZTp2ZXJzaW9uPSIwLjkxIHIxMzcyNSIgICBzb2RpcG9kaTpkb2NuYW1lPSJhcnJvdy1ncmF5LnN2ZyI+ICA8bWV0YWRhdGEgICAgIGlkPSJtZXRhZGF0YTEwIj4gICAgPHJkZjpSREY+ICAgICAgPGNjOldvcmsgICAgICAgICByZG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MTMuNzYxNjg0LDAgYyAxLjAxODIzMSwwIDEuODQzNjcxLDAuODIzNDQgMS44NDM2NzEsMS44MzkyMDUxIDAsMS4wMTU3NjQgLTAuODI1NDQsMS44MzkyMDUgLTEuODQzNjcxLDEuODM5MjA1IGwgLTE0LjM3NjI0MSwwIDIuNDgzNjI4LDIuNDc3NjEgYyAwLjcxOTk5OCwwLjcxODI1NCAwLjcxOTk5OCwxLjg4Mjc3NCAwLDIuNjAxMDI4IC0wLjcxOTk5OSwwLjcxODI1NSAtMS44ODczNDcsMC43MTgyNTUgLTIuNjA3MzQ1LDAgTCAwLjUzOTk5OCwxMi41MDczMzMgQyAwLjEyNzE4MywxMi4wOTU1MTcgLTAuMDQ4OTQxLDExLjUzNjk5NyAwLjAxMTYyMywxMSAtMC4wNDg5MzcsMTAuNDYzMDAzIDAuMTI3MTgzLDkuOTA0NDgyOSAwLjUzOTk5OCw5LjQ5MjY2NjkgTCA1LjY1NjM3MSw0LjM4ODY5MDMgYyAwLjcxOTk5OCwtMC43MTgyNTQgMS44ODczNDYsLTAuNzE4MjU0IDIuNjA3MzQ1LDAgMC43MTk5OTgsMC43MTgyNTUgMC43MTk5OTgsMS44ODI3NzM2IDAsMi42MDEwMjg2IHoiICAgICBpZD0icGF0aDQiICAgICBpbmtzY2FwZTpjb25uZWN0b3ItY3VydmF0dXJlPSIwIiAgICAgc3R5bGU9ImZpbGw6I2M5YzljOSIgLz48L3N2Zz4=");background-size:contain}.PayBear-app .P-btn__icon--refresh{background:no-repeat 50% url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48c3ZnIHdpZHRoPSIyMnB4IiBoZWlnaHQ9IjE4cHgiIHZpZXdCb3g9IjAgMCAyMiAxOCIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3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;fill:#fff;vertical-align:-1px;width:13px;height:13px}.PayBear-app .P-btn-grey{background:#f5f5f5;color:#a0a0a0;font-weight:400}.PayBear-app .P-btn-grey svg{fill:#c9c9c9}.PayBear-app .P-btn--sm{background:none;height:36px;line-height:36px;border:0;-webkit-box-shadow:inset 0 0 0 2px #e3e3e3;box-shadow:inset 0 0 0 2px #e3e3e3;color:#b2b2b2;min-width:0;font-size:18px;font-weight:400;padding:0 18px 0 13px}.PayBear{height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.PayBear__Item{background:#fff;padding:21px 6px 15px;border-radius:4px;-webkit-box-shadow:0 2px 2px rgba(0,0,0,.06),0 2px 24px rgba(0,0,0,.06);box-shadow:0 2px 2px rgba(0,0,0,.06),0 2px 24px rgba(0,0,0,.06);width:calc((100% - 20px) / 3);text-align:center;color:#686868;font-size:12px;line-height:1.35;margin-bottom:10px;margin-right:10px;cursor:pointer;outline:0;position:relative;-webkit-transition:all .1s ease;-o-transition:all ease .1s;transition:all .1s ease;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}@media (min-width:500px) and (min-height:700px){.PayBear__Item{font-size:14px}}@media (min-width:769px) and (min-height:700px){.PayBear__Item{width:calc((100% - 32px) / 3);margin-bottom:16px;margin-right:16px;padding:20px;font-size:17px}}@media (max-height:770px) and (min-width:1025px){.PayBear__Item{padding:12px}}.PayBear__Item--last{-webkit-box-shadow:inset 0 0 0 2px #f0f0f0;box-shadow:inset 0 0 0 2px #f0f0f0}.PayBear__Item--last img{opacity:.2}@media (min-width:769px) and (min-height:700px){.PayBear__Item--last img{width:47px;margin-top:16px}}.PayBear__Item:nth-child(3n){margin-right:0}.PayBear__Item__icon{width:52px;height:52px;margin:5px auto 0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}@media (min-width:769px) and (min-height:700px){.PayBear__Item__icon{width:54px;height:54px;margin:8px auto 0}}.PayBear__Item__icon img,.PayBear__Item__icon svg{max-width:100%;max-height:100%;width:100%;height:100%}.PayBear__Item__code{font-size:14px;font-weight:700;color:#303030;margin-top:21px;margin-bottom:3px}@media (min-width:500px) and (min-height:700px){.PayBear__Item__code{font-size:16px}}@media (min-width:769px) and (min-height:700px){.PayBear__Item__code{font-size:18px;margin-top:22px}}@media (max-height:770px) and (min-width:1025px){.PayBear__Item__code{margin-top:12px}}.PayBear__Item__val{font-size:12px;color:#838383}@media (min-width:500px) and (min-height:700px){.PayBear__Item__val{font-size:14px}}@media (min-width:769px) and (min-height:700px){.PayBear__Item__val{font-size:18px}}.PayBear__Item:not(.PayBear__Item--disabled):active{-webkit-box-shadow:0 1px 1px rgba(0,0,0,.06);box-shadow:0 1px 1px rgba(0,0,0,.06);-webkit-transform:translate3d(0,1px,0);transform:translate3d(0,1px,0)}.PayBear__Item--disabled{position:relative;cursor:default}.PayBear__Item--disabled:after{content:"COMING SOON";font-size:8px;color:#899fb9;font-weight:600;background:#ecf0f1;border-radius:4px 4px 0 0;height:15px;line-height:15px;white-space:nowrap;position:absolute;left:0;top:0;width:100%}@media (min-width:769px) and (min-height:700px){.PayBear__Item--disabled:after{font-size:11px;height:20px;line-height:20px}}.PayBear__Nav{color:#bdbdbd;font-size:13px;letter-spacing:.22px;padding:30px 0 18px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-negative:0;flex-shrink:0}@media (max-width:350px){.PayBear__Nav{font-size:10px;padding:20px 0 18px}}@media (min-width:769px) and (min-height:700px){.PayBear__Nav{font-size:16px;padding:32px 0 30px}}@media (max-height:770px) and (min-width:1025px){.PayBear__Nav{padding:12px 0}}@media (max-height:700px) and (min-width:1025px){.PayBear__Nav{font-size:12px}}.PayBear__Nav>div{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.PayBear__Nav__external{margin:0 3px -3px 9px}@media (min-width:769px) and (min-height:700px){.PayBear__Nav__external{height:21px;width:21px;margin:0 -2px -5px 12px}}.PayBear__Nav a{color:#5e7fcd;font-weight:700;text-decoration:none}.PayBear__Nav__arrow{width:22px;height:22px;margin-right:8px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}@media (min-width:769px) and (min-height:700px){.PayBear__Nav__arrow{width:28px;height:28px;margin-right:19px}}@media (max-height:700px) and (min-width:1025px){.PayBear__Nav__arrow{width:22px;height:22px}}.PayBear__Nav__arrow svg{width:100%;height:100%;-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg);fill:#e3e3e3}.PayBear__Nav__price{color:#525252;font-size:11px;letter-spacing:-.17px;font-weight:500}@media (min-width:769px) and (min-height:700px){.PayBear__Nav__price{font-size:15px;letter-spacing:-1px}}@media (max-height:700px) and (min-width:1025px){.PayBear__Nav__price{font-size:11px}}.PayBear__Nav__price span{font-size:18px;vertical-align:-2px;letter-spacing:-.23px;font-weight:600;margin-right:3px;margin-left:1px}@media (min-width:769px) and (min-height:700px){.PayBear__Nav__price span{font-size:22px;letter-spacing:.75px;margin-right:5px;margin-left:2px}}.PayBear__Icons{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.P-Payment{text-align:center;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}.P-Payment__header{text-align:left;font-weight:600;font-size:10px;color:#b8bcc4;line-height:1.18;padding:16px;background:rgba(94,127,205,.1);-webkit-box-shadow:inset 0 1px 0 rgba(0,0,0,.02);box-shadow:inset 0 1px 0 rgba(0,0,0,.02);-webkit-transition:all .2s ease;-o-transition:all ease .2s;transition:all .2s ease;-ms-flex-negative:0;flex-shrink:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}@media (max-width:350px){.P-Payment__header{font-size:8px}}@media (min-width:500px) and (min-height:700px){.P-Payment__header{font-size:12px;padding:17px}}@media (min-width:2400px) and (min-height:700px){.P-Payment__header{font-size:15px}}@media (max-height:770px) and (min-width:1025px){.P-Payment__header{font-size:12px}}@media (max-height:700px) and (min-width:1025px){.P-Payment__header{font-size:10px}}.P-Payment__header__timer{-ms-flex-negative:0;flex-shrink:0;background:#5e7fcd;border-radius:4px;padding:5px 0;color:#fff;font-size:16px;display:inline-block;vertical-align:middle;width:55px;text-align:center;-webkit-transition:all .2s ease;-o-transition:all ease .2s;transition:all .2s ease;white-space:nowrap;margin-right:10px}@media (min-width:500px) and (min-height:700px){.P-Payment__header__timer{margin-right:14px;width:70px;padding:5px 0;font-size:20px}}@media (min-width:769px) and (min-height:700px){.P-Payment__header__timer{font-size:23px}}.P-Payment__header__title{color:#5e7fcd;font-weight:700;font-size:14px;-webkit-transition:all .2s ease;-o-transition:all ease .2s;transition:all .2s ease}@media (min-width:500px) and (min-height:700px){.P-Payment__header__title{font-size:18px}}@media (min-width:2400px) and (min-height:700px){.P-Payment__header__title{font-size:24px}}.P-Payment__header__helper{letter-spacing:.7px;text-transform:uppercase;margin-top:2px}@media (min-width:769px) and (min-height:700px){.P-Payment__header__helper{letter-spacing:1.23px}}@media (min-width:480px){.P-Payment__header__text{min-width:314px}}.P-Payment__header--red{background:rgba(185,61,61,.1);color:#968e8e}.P-Payment__header--red .P-Payment__header__timer{background:#b93d3d}.P-Payment__header--red .P-Payment__header__title{color:#b93d3d}.P-Payment__header--green{background:rgba(61,179,158,.1);color:#8e9594}.P-Payment__header--green .P-Payment__header__timer{background:#3db39e}.P-Payment__header--green .P-Payment__header__title{color:#3db39e}.P-Payment__header__check{background:#3db39e no-repeat 50% url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjNweCIgaGVpZ2h0PSIxOHB4IiB2aWV3Q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PSIjRkZGRkZGIj48L3BhdGg+PC9zdmc+");background-size:50%;width:28px;height:28px;border-radius:4px;display:block;-ms-flex-negative:0;flex-shrink:0;margin-right:10px}@media (min-width:769px) and (min-height:700px){.P-Payment__header__check{margin-right:14px;width:32px;height:32px}}.P-Payment__confirmed,.P-Payment__confirming,.P-Payment__expired,.P-Payment__expired-helper,.P-Payment__start{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}@media (max-height:770px) and (min-width:1025px){.P-Payment__confirming .P-Payment .P-btn,.P-Payment__confirming .P-Payment__helper{margin-top:20px}}@media (max-height:700px) and (min-width:1025px){.P-Payment__confirming p{margin-bottom:0}}.P-Payment__value{color:#2d2d2d;font-size:19px;line-height:1.23;letter-spacing:0;text-align:center;padding:24px 0;position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-ms-flex-negative:0;flex-shrink:0}@media (min-width:769px) and (min-height:700px){.P-Payment__value{padding:20px 0;font-size:25px}}@media (max-width:350px){.P-Payment__value{font-size:21px}}@media (max-height:770px) and (min-width:1025px){.P-Payment__value{padding-top:12px}}.P-Payment__value__icon{height:45px;line-height:45px;text-align:center;margin-right:18px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}@media (min-width:769px) and (min-height:700px){.P-Payment__value__icon{height:64px;line-height:64px}}.P-Payment__value__icon img{height:100%;max-height:100%;max-width:100%}.P-Payment__qr{width:125px;height:125px;min-width:125px;width:25vh;height:25vh;margin:-7px auto 5px;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}@media (max-width:350px){.P-Payment__qr{width:120px;height:108px}}@media (min-width:769px) and (min-height:700px){.P-Payment__qr{width:170px;height:170px}}@media (min-width:2400px) and (min-height:700px){.P-Payment__qr{width:196px;height:196px}}@media (max-height:770px) and (min-width:1025px){.P-Payment__qr{width:140px;height:140px}}.P-Payment__qr img{width:100%}.P-Payment__address{color:#8c8c8c;font-size:11px;padding:25px 0;position:relative;z-index:2}@media (max-width:350px){.P-Payment__address{font-size:10px}}@media (min-width:420px){.P-Payment__address{font-size:13px}}@media (min-width:500px) and (min-height:700px){.P-Payment__address{font-size:16px}}@media (min-width:769px) and (min-height:700px){.P-Payment__address{padding:32px 0 44px;font-size:20px}}.P-Payment__address b{color:#6a6a6a;font-weight:500}.P-Payment__address code{display:block;color:#000;font-size:10.5px;font-weight:700;padding:0;margin:0;background:none;font-family:Menlo,monospace;margin-top:12px}@media (max-width:350px){.P-Payment__address code{font-size:9.5px}}@media (min-width:420px){.P-Payment__address code{font-size:13px}}@media (min-width:500px) and (min-height:700px){.P-Payment__address code{font-size:16px}}@media (min-width:769px) and (min-height:700px){.P-Payment__address code{letter-spacing:-.54px;font-size:20px}}.P-Payment__helper{color:#5e7fcd;text-transform:uppercase;font-size:12px;font-weight:600;margin-top:20px;letter-spacing:1.23px}@media (max-width:350px){.P-Payment__helper{font-size:10px}}@media (min-width:769px) and (min-height:700px){.P-Payment__helper{font-size:15px;margin-top:40px}}@media (min-width:2400px) and (min-height:700px){.P-Payment__helper{font-size:17px}}.P-Tabs{margin-top:0;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}@media (min-width:769px) and (min-height:700px){.P-Tabs{margin-top:22px}}@media (max-height:770px) and (min-width:1025px){.P-Tabs{margin-top:20px}}@media (max-height:700px) and (min-width:1025px){.P-Tabs{margin-top:0}}.P-Tabs__Tab-list{list-style:none;margin:0 auto 12px;padding:0;background:#f7f7f7;-webkit-box-shadow:inset 0 2px 0 rgba(0,0,0,.04);box-shadow:inset 0 2px 0 rgba(0,0,0,.04);border-radius:999px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-negative:0;flex-shrink:0;position:relative;width:240px}@media (min-width:500px) and (min-height:700px){.P-Tabs__Tab-list{width:300px}}@media (min-width:769px) and (min-height:700px){.P-Tabs__Tab-list{width:345px}}@media (max-height:700px) and (min-width:1025px){.P-Tabs__Tab-list{margin-bottom:20px}}@media (max-height:600px) and (min-width:1025px){.P-Tabs__Tab-list{margin-bottom:10px}}.P-Tabs__Tab-list:before{content:"";height:100%;background:#fff;-webkit-box-shadow:0 2px 2px rgba(0,0,0,.06),0 2px 24px rgba(0,0,0,.06);box-shadow:0 2px 2px rgba(0,0,0,.06),0 2px 24px rgba(0,0,0,.06);border-radius:999px;position:absolute;left:0;top:0;width:33.33%;pointer-events:none;-webkit-transition:all .2s ease;-o-transition:all ease .2s;transition:all .2s ease}.P-Tabs__Tab-list--no-wallet:before{width:50%}.P-Tabs__Tab-list--second:before{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}.P-Tabs__Tab-list--third:before{-webkit-transform:translate3d(200%,0,0);transform:translate3d(200%,0,0)}.P-Tabs__Tab-panel{display:none;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}.P-Tabs__Tab-panel--selected{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.P-Tabs__Tab{display:inline-block;vertical-align:middle;font-size:13px;font-weight:600;color:#696969;width:50%;text-align:center;padding:13px 15px;cursor:pointer;line-height:1.35}@media (min-width:500px) and (min-height:700px){.P-Tabs__Tab{font-size:14px}}@media (min-width:769px) and (min-height:700px){.P-Tabs__Tab{font-size:18px;padding:12px}}.P-Tabs__Tab--selected{position:relative;color:#5e7fcd}.Confirming__icon{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}@media (max-height:770px) and (min-width:1025px){.Confirming__icon svg{height:100%;max-width:none}}.Confirming__icon--small .Confirming__pic__point--top{display:none}.Confirming__icon--full .Confirming__pic__point--center{display:block}.Confirming__pic .check,.Confirming__pic__point--center{display:none}.Confirming__pic--1 .Confirming__pic__point:first-child .circle{fill:#3db39e}.Confirming__pic--1 .Confirming__pic__point:first-child .time{display:none}.Confirming__pic--1 .Confirming__pic__point:first-child .check{display:block}.Confirming__pic--2 .Confirming__pic__point:first-child .circle{fill:#3db39e}.Confirming__pic--2 .Confirming__pic__point:first-child .time{display:none}.Confirming__pic--2 .Confirming__pic__point:first-child .check{display:block}.Confirming__pic--2 .Confirming__pic__point:nth-child(2) .circle{fill:#3db39e}.Confirming__pic--2 .Confirming__pic__point:nth-child(2) .time{display:none}.Confirming__pic--2 .Confirming__pic__point:nth-child(2) .check{display:block}.Confirming__pic--3 .Confirming__pic__point:first-child .circle{fill:#3db39e}.Confirming__pic--3 .Confirming__pic__point:first-child .time{display:none}.Confirming__pic--3 .Confirming__pic__point:first-child .check{display:block}.Confirming__pic--3 .Confirming__pic__point:nth-child(2) .circle{fill:#3db39e}.Confirming__pic--3 .Confirming__pic__point:nth-child(2) .time{display:none}.Confirming__pic--3 .Confirming__pic__point:nth-child(2) .check{display:block}.Confirming__pic--3 .Confirming__pic__point:nth-child(3) .circle{fill:#3db39e}.Confirming__pic--3 .Confirming__pic__point:nth-child(3) .time{display:none}.Confirming__pic--3 .Confirming__pic__point:nth-child(3) .check{display:block}.Confirming__pic--4 .Confirming__pic__point:first-child .circle{fill:#3db39e}.Confirming__pic--4 .Confirming__pic__point:first-child .time{display:none}.Confirming__pic--4 .Confirming__pic__point:first-child .check{display:block}.Confirming__pic--4 .Confirming__pic__point:nth-child(2) .circle{fill:#3db39e}.Confirming__pic--4 .Confirming__pic__point:nth-child(2) .time{display:none}.Confirming__pic--4 .Confirming__pic__point:nth-child(2) .check{display:block}.Confirming__pic--4 .Confirming__pic__point:nth-child(3) .circle{fill:#3db39e}.Confirming__pic--4 .Confirming__pic__point:nth-child(3) .time{display:none}.Confirming__pic--4 .Confirming__pic__point:nth-child(3) .check{display:block}.Confirming__pic--4 .Confirming__pic__point:nth-child(4) .circle{fill:#3db39e}.Confirming__pic--4 .Confirming__pic__point:nth-child(4) .time{display:none}.Confirming__pic--4 .Confirming__pic__point:nth-child(4) .check{display:block}.Confirming__pic--5 .Confirming__pic__point .circle{fill:#3db39e}.Confirming__pic--5 .Confirming__pic__point .time{display:none}.Confirming__pic--5 .Confirming__pic__point .check{display:block}.PayBearModal{display:none;font-size:16px}.PayBearModal *,.PayBearModal :after,.PayBearModal :before{-webkit-box-sizing:border-box;box-sizing:border-box}.PayBearModal--open{display:block}.PayBearModal__Overlay{bottom:0;background-color:rgba(0,0,0,.7)}.PayBearModal__Content,.PayBearModal__Overlay{position:fixed;top:0;left:0;right:0;z-index:999}.PayBearModal__Content{overflow:auto;outline:none;pointer-events:none}@media (max-width:640px){.PayBearModal__Content{bottom:0}}.PayBearModal__Content>*{pointer-events:all}@media (max-height:500px){.PayBearModal__Content{bottom:0;pointer-events:all;overflow-y:scroll}}.PayBearModal__Close{height:20px;padding:20px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin-bottom:20px;cursor:pointer}.PayBearModal__Close svg{width:20px;height:20px;display:inline-block;vertical-align:middle;fill:#e3e3e3;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}@media (min-width:769px) and (min-height:700px){.PayBearModal .PayBear-app{max-height:98vh;display:-webkit-box;display:-ms-flexbox;display:flex}}.PayBearModal .PayBear-container{pointer-events:all}@media (max-height:510px){.PayBearModal .PayBear-container{padding:0 20px 20px}}@media (min-width:769px) and (min-height:700px){.PayBearModal .PayBear-container{height:auto;width:100%}}@media (max-height:510px){.PayBearModal .PayBear__Nav{padding:20px 0 18px}}@media (max-height:510px){.PayBearModal .Payment__value{padding:12px 0 24px}}@media (max-height:510px){.PayBearModal .P-Tabs__Tab{padding:8px 15px}}@media (max-height:510px){.PayBearModal .P-box__inner{padding:10px 20px 20px}}@media (max-width:400px){.PayBearModal .P-Content h2{padding:0}}.PayBearModal__Body--open{overflow:hidden}@media (max-width:640px){.PayBearModal__Body--open{position:fixed;height:100vh;width:100%;left:0;top:0}}@media (max-height:500px){.PayBearModal__Body--open{position:fixed;height:100vh;width:100%;left:0;top:0}} +#paybear{font-family:Helvetica,Arial,sans-serif}@media (max-width:640px){#paybear{height:100%}}.PayBear-app{font-size:18px;height:100%;min-height:560px;margin:0 auto;overflow:hidden;-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none}@media (max-width:640px){.PayBear-app{height:100%}}@media (min-width:641px){.PayBear-app{height:auto}}.PayBear-app *,.PayBear-app :after,.PayBear-app :before{-webkit-box-sizing:border-box;box-sizing:border-box}.PayBear-app a{color:#527ee0;font-weight:600;text-decoration:none;-webkit-box-shadow:none;box-shadow:none;border:0}.PayBear-app .PayBear-container{padding:0 20px 20px;max-width:640px;min-width:320px;margin:0 auto;height:100%;min-height:500px;background:#fff;position:relative;border-radius:0 0 6px 6px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.PayBear-app .PayBear-container .PayBear{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}@media (max-width:640px){.PayBear-app .PayBear-container{border-radius:0}}@media (min-width:769px) and (min-height:700px){.PayBear-app .PayBear-container{padding:0 40px 40px}}@media (min-width:2400px) and (min-height:700px){.PayBear-app .PayBear-container{max-width:800px}}@media (max-height:770px) and (min-width:1025px){.PayBear-app .PayBear-container{max-width:600px}}@media (max-height:700px) and (min-width:1025px){.PayBear-app .PayBear-container{max-width:540px}}.PayBear-app button{background:none;border:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;outline:0;font-family:Helvetica,Arial,sans-serif;cursor:pointer}.PayBear-app [role=button]{outline:0}.PayBear-app h1,.PayBear-app h2,.PayBear-app h3{margin:20px 0}.PayBear-app h1{font-size:25px}.PayBear-app h2{font-size:20px}.P-box{-webkit-box-shadow:0 2px 2px rgba(0,0,0,.06),0 2px 24px rgba(0,0,0,.06);box-shadow:0 2px 2px rgba(0,0,0,.06),0 2px 24px rgba(0,0,0,.06);border-radius:4px;overflow:hidden;height:100%}.P-box,.P-box__inner{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.P-box__inner{padding:20px 20px 30px;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}@media (min-width:769px) and (min-height:700px){.P-box__inner{padding:20px 20px 40px}}@media (max-height:770px) and (min-width:1025px){.P-box__inner{padding:20px 20px 40px}}@media (max-height:600px) and (min-width:1025px){.P-box__inner{padding-bottom:20px}}.P-Content{font-size:17px;letter-spacing:.22px;line-height:1.58;color:#747474}@media (min-width:769px) and (min-height:700px){.P-Content{padding:0 55px}}@media (max-height:770px) and (min-width:1025px){.P-Content{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}}.P-Content strong{font-weight:500;color:#353535}.P-Content h2{color:#161616;font-size:24px;letter-spacing:.3px;font-weight:700;margin:20px 0 23px;line-height:1.33;padding:0 22px}@media (max-width:350px){.P-Content h2{padding:0}}.P-Content p{margin:0}.P-Content__icon{width:170px;height:160px;padding:24px 26px;margin:0 auto}@media (max-width:350px){.P-Content__icon{width:120px;height:140px;padding:10px}}@media (min-width:769px) and (min-height:700px){.P-Content__icon{width:240px;height:240px;padding:22px}}@media (max-height:770px) and (min-width:1025px){.P-Content__icon{width:100%;height:200px;padding:20px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}}@media (max-height:700px) and (min-width:1025px){.P-Content__icon{padding:16px}}.P-Content__icon img{width:100%}@media (max-height:770px) and (min-width:1025px){.P-Content__icon img{width:auto;max-width:100%;max-height:100%}}.P-Content__icon svg{width:100%;height:100%}.P-Content ul{list-style:none;margin:0;padding:0 0 0 30px;text-align:left}@media (min-width:769px) and (min-height:700px){.P-Content ul{padding:0 0 0 60px}}.P-Content ul li{margin-bottom:20px;position:relative}.P-Content ul li:last-child{margin-bottom:0}.P-Content ul li:before{content:"";position:absolute;top:50%;left:-25px;margin-top:-5px;width:10px;height:10px;background:#e0e0e0;border-radius:2px}@media (min-width:769px) and (min-height:700px){.P-Content ul li:before{left:-50px;margin-top:-10px;width:20px;height:20px}}.P-Payment__expired .P-Content{color:#797979;font-size:18px;letter-spacing:0;line-height:1.45;padding:32px}@media (max-width:350px){.P-Payment__expired .P-Content{padding:32px 0}}@media (min-width:769px) and (min-height:700px){.P-Payment__expired .P-Content{font-size:22px;letter-spacing:0;padding:32px 56px}}.P-Payment__expired .P-Content strong{font-weight:600;color:#494949}.P-Payment__expired .P-Content .P-btn{margin-top:30px}.P-block-explorer{white-space:nowrap;display:inline-block}.P-block-explorer svg{vertical-align:-2px}.PayBear-spinner{background:#fff;width:300px;text-align:center;padding:40px;border-radius:6px;margin:100px auto 0}.PayBear-spinner__container{position:relative;height:40px;width:40px;margin:auto}.PayBear-spinner__item{min-width:30px;min-height:30px}@-webkit-keyframes spinner{to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes spinner{to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.PayBear-spinner__item:before{content:"";position:absolute;top:50%;left:50%;width:40px;height:40px;margin-top:-20px;margin-left:-20px;border-radius:50%;border:5px solid #ccc;border-top-color:#5e7fcd;-webkit-animation:spinner .6s linear infinite;animation:spinner .6s linear infinite}.PayBear-app-error{background:#fff;width:100%;max-width:400px;text-align:center;padding:40px;border-radius:6px;margin:100px auto 0;color:#797979;font-size:16px;letter-spacing:0;line-height:1.45}.PayBear-app-error .P-btn{outline:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;height:50px;line-height:50px;font-size:18px;font-weight:700;padding:0 30px;background:#396ee0;color:#fff;text-decoration:none;border-radius:999px;cursor:pointer;border:0;display:block;margin:20px auto 0}.P-disabled{position:relative;pointer-events:none}.P-disabled:after{content:"Loading...";position:absolute;width:100%;height:100%;left:0;top:0;text-align:center;padding-top:30%;background:hsla(0,0%,100%,.7)}.PayBear-app .P-buttons-flex{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.PayBear-app .P-buttons-flex .P-btn-block{width:100%;max-width:236px}.PayBear-app .P-btn-block{display:inline-block;vertical-align:middle;font-size:11px;font-weight:600;color:#656565;cursor:pointer;width:236px;margin-right:12px;line-height:1.25}@media (min-width:500px) and (min-height:700px){.PayBear-app .P-btn-block{font-size:15px;margin-right:24px}}.PayBear-app .P-btn-block:last-child{margin-right:0}.PayBear-app .P-btn-block__inner{display:block;padding:16px 10px 21px;border-radius:6px;background:#fff;-webkit-box-shadow:0 1px 2px rgba(0,0,0,.14),0 2px 17px rgba(0,0,0,.06);box-shadow:0 1px 2px rgba(0,0,0,.14),0 2px 17px rgba(0,0,0,.06)}.PayBear-app .P-btn-block:active .P-btn-block__inner{-webkit-box-shadow:0 1px 2px rgba(0,0,0,.14);box-shadow:0 1px 2px rgba(0,0,0,.14)}.PayBear-app .P-btn-block.P-wallet-btn .P-wallet-icon{width:18px;height:18px;margin:0 auto 4px;display:block;background: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zctMS4zMzMzMzM0IDEuMzMzMzMzMyAwIC43MzYzNzk3LjU5Njk1MzcgMS4zMzMzMzM0IDEuMzMzMzMzNCAxLjMzMzMzMzR6IiBmaWxsPSIjOTk5IiB0cmFuc2Zvcm09IiIvPjwvc3ZnPg==");background-size:contain}@media (min-width:500px) and (min-height:700px){.PayBear-app .P-btn-block.P-wallet-btn .P-wallet-icon{width:24px;height:24px;margin:0 auto 9px}}.PayBear-app .P-btn-block__helper{display:block;color:#9f9f9f;letter-spacing:-.22px;font-family:Menlo,monospace;font-weight:400;margin-bottom:7px;font-size:13px}@media (min-width:500px) and (min-height:700px){.PayBear-app .P-btn-block__helper{font-size:21px}}.PayBear-app .P-btn-block__helper .P-dots{margin:0 -6px}.PayBear-app .P-btn-block__helper .P-dots i{display:inline-block;vertical-align:middle;width:4px;height:4px;border-radius:50%;background:#9f9f9f;margin:0 2px}.PayBear-app .P-btn-block__helper .P-dots:after,.PayBear-app .P-btn-block__helper .P-dots:before{content:"";display:inline-block;vertical-align:middle;width:4px;height:4px;border-radius:50%;background:#9f9f9f}.PayBear-app .P-btn-block .P-btn-block__copied-text{content:"";font-size:6px;color:#4fbda6;letter-spacing:.65px;font-weight:700;text-transform:uppercase;position:absolute;z-index:2;top:-16px;padding:4px 0;left:0;width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;visibility:hidden;white-space:nowrap}@media (min-width:769px) and (min-height:700px){.PayBear-app .P-btn-block .P-btn-block__copied-text{padding:5px 0;margin-left:-3px;top:-23px;font-size:11px}}.PayBear-app .P-btn-block .P-btn-block__copied-text svg{margin-right:3px;-ms-flex-negative:0;flex-shrink:0;width:8px;height:8px}@media (min-width:769px) and (min-height:700px){.PayBear-app .P-btn-block .P-btn-block__copied-text svg{width:13px;height:13px}}.PayBear-app .P-btn-block--copied{position:relative}.PayBear-app .P-btn-block--copied .P-btn-block__inner{position:relative;z-index:2}.PayBear-app .P-btn-block--copied:before{-webkit-box-sizing:content-box;box-sizing:content-box;content:"";position:absolute;z-index:1;left:-6px;top:-16px;width:100%;height:100%;padding:6px;padding-top:16px;background:rgba(79,189,166,.19);border-radius:8px}@media (min-width:769px) and (min-height:700px){.PayBear-app .P-btn-block--copied:before{top:-23px;padding-top:23px}}.PayBear-app .P-btn-block--copied .P-btn-block__copied-text{visibility:visible}.PayBear-app .P-btn-block[disabled]{opacity:.7;pointer-events:none}.PayBear-app .P-btn{height:50px;line-height:50px;font-size:18px;font-weight:700;padding:0 30px;margin-top:30px;background:#396ee0;color:#fff;text-decoration:none;display:inline-block;border-radius:999px;cursor:pointer;border:0}.PayBear-app .P-btn[disabled]{opacity:.7;pointer-events:none}@media (max-width:350px){.PayBear-app .P-btn{height:42px;line-height:42px;font-size:15px;margin-top:20px}}@media (min-width:769px) and (min-height:700px){.PayBear-app .P-btn{height:54px;line-height:54px;font-size:24px;padding:0 31px;margin-top:27px}}@media (max-height:700px) and (min-width:1025px){.PayBear-app .P-btn{margin-top:10px}}.PayBear-app .P-btn__icon{display:inline-block;width:22px;height:22px;fill:#fff;vertical-align:-3px;margin-right:10px}@media (max-width:350px){.PayBear-app .P-btn__icon{width:16px;height:16px}}@media (min-width:769px) and (min-height:700px){.PayBear-app .P-btn__icon{width:32px;height:32px;vertical-align:-7px}}.PayBear-app .P-btn__icon--back-grey{background:no-repeat 50% url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PHN2ZyAgIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgICB4bWxuczpjYz0iaHR0cDovL2NyZWF0aXZlY29tbW9ucy5vcmcvbnMjIiAgIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyIgICB4bWxuczpzd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ZyBpZD0iVGllci0xLS8tSWNvbi0vLVdhbGxldC0vLVdoaXRlIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSg4MC4wMDAwMDAsIDQ3OC4wMDAwMDApIj4gICAgICAgICAgICAgICAgICAgIDxnIGlkPSJDb21iaW5lZC1TaGFwZS0rLUNvbWJpbmVkLVNoYXBlLSstU3dhdGNoZXMtLy1CbGFjay1NYXNrIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgwLjAwMDAwMCwgMC43NTAwMDApIj4gICAgICAgICAgICAgICAgICAgICAgICA8bWFzayBpZD0ibWFzay0yIiBmaWxsPSJ3aGl0ZSI+ICAgICAgICAgICAgICAgICAgICAgICAgICAgIDx1c2UgeGxpbms6aHJlZj0iI3BhdGgtMSI+PC91c2U+ICAgICAgICAgICAgICAgICAgICAgICAgPC9tYXNrPiAgICAgICAgICAgICAgICAgICAgICAgIDx1c2UgaWQ9IkNvbWJpbmVkLVNoYXBlIiBmaWxsPSIjRDhEOEQ4IiB4bGluazpocmVmPSIjcGF0aC0xIj48L3VzZT4gICAgICAgICAgICAgICAgICAgIDwvZz4gICAgICAgICAgICAgICAgPC9nPiAgICAgICAgICAgIDwvZz4gICAgICAgIDwvZz4gICAgPC9nPjwvc3ZnPg==");background-size:contain}.PayBear-app .P-btn__icon--refresh-white{background:no-repeat 50% url("data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjE4IiB2aWV3Qm94PSIwIDAgMjIgMTgiIHdpZHRoPSIyMiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJtMTcuMDY4MTI3IDguOTc1MDUwOTItLjE5NjcxMzIuMzQ3MDI2NDVjLS4zNjY4NDQ0LjY0NzE1ODgyLTEuMTc4MDY3Ni44OTA5NDczMy0xLjg0MDg4ODYuNTUzMjIzMTUtLjAxNjc5NTgtLjAwODU1Nzg4LS4wMzMzOTkzLS4wMTc0ODgwMi0uMDQ5Nzk4Mi0uMDI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jcxMDkyNzAzLS43MTA5MjcwNC0xLjg2MzU2NzUgMC0yLjU3NDQ5NDUzLjcxMDkyNzAzLS43MTA5MjcwNCAxLjg2MzU2NzUtLjcxMDkyNzA0IDIuNTc0NDk0NTMgMGwzLjMxMDA2NDQxIDMuMzEwMDY0NCAzLjMxMDA2NDM5LTMuMzEwMDY0NGMuNzEwOTI3LS43MTA5MjcwNCAxLjg2MzU2NzUtLjcxMDkyNzA0IDIuNTc0NDk0NSAwIC43MTA5MjcxLjcxMDkyNzAzLjcxMDkyNzEgMS44NjM1Njc1IDAgMi41NzQ0OTQ1M3oiLz48bWFzayBmaWxsPSIjZmZmIj48dXNlIGZpbGw9Im5vbmUiIHhsaW5rOmhyZWY9IiNhIi8+PC9tYXNrPjwvZGVmcz48dXNlIGZpbGwtcnVsZT0iZXZlbm9kZCIgb3BhY2l0eT0iLjE2IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMSAtMSkiIHhsaW5rOmhyZWY9IiNhIi8+PC9zdmc+");background-size:contain;display:inline-block;fill:#fff;vertical-align:-1px;width:13px;height:13px}.PayBear-app .P-btn-grey{background:#f5f5f5;color:#a0a0a0;font-weight:400}.PayBear-app .P-btn-grey svg{fill:#c9c9c9}.PayBear-app .P-btn--sm{background:none;height:36px;line-height:36px;border:0;-webkit-box-shadow:inset 0 0 0 2px #e3e3e3;box-shadow:inset 0 0 0 2px #e3e3e3;color:#b2b2b2;min-width:0;font-size:18px;font-weight:400;padding:0 18px 0 13px}.PayBear{height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.PayBear__Item{background:#fff;padding:21px 6px 15px;border-radius:4px;-webkit-box-shadow:0 2px 2px rgba(0,0,0,.06),0 2px 24px rgba(0,0,0,.06);box-shadow:0 2px 2px rgba(0,0,0,.06),0 2px 24px rgba(0,0,0,.06);width:calc((100% - 20px) / 3);text-align:center;color:#686868;font-size:12px;line-height:1.35;margin-bottom:10px;margin-right:10px;cursor:pointer;outline:0;position:relative;-webkit-transition:all .1s ease;-o-transition:all ease .1s;transition:all .1s ease;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}@media (min-width:500px) and (min-height:700px){.PayBear__Item{font-size:14px}}@media (min-width:769px) and (min-height:700px){.PayBear__Item{width:calc((100% - 32px) / 3);margin-bottom:16px;margin-right:16px;padding:20px;font-size:17px}}@media (max-height:770px) and (min-width:1025px){.PayBear__Item{padding:12px}}.PayBear__Item--last{-webkit-box-shadow:inset 0 0 0 2px #f0f0f0;box-shadow:inset 0 0 0 2px #f0f0f0}.PayBear__Item--last img{opacity:.2}@media (min-width:769px) and (min-height:700px){.PayBear__Item--last img{width:47px;margin-top:16px}}.PayBear__Item:nth-child(3n){margin-right:0}.PayBear__Item__icon{width:52px;height:52px;margin:5px auto 0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}@media (min-width:769px) and (min-height:700px){.PayBear__Item__icon{width:54px;height:54px;margin:8px auto 0}}.PayBear__Item__icon img,.PayBear__Item__icon svg{max-width:100%;max-height:100%;width:100%;height:100%}.PayBear__Item__code{font-size:14px;font-weight:700;color:#303030;margin-top:21px;margin-bottom:3px}@media (min-width:500px) and (min-height:700px){.PayBear__Item__code{font-size:16px}}@media (min-width:769px) and (min-height:700px){.PayBear__Item__code{font-size:18px;margin-top:22px}}@media (max-height:770px) and (min-width:1025px){.PayBear__Item__code{margin-top:12px}}.PayBear__Item__val{font-size:12px;color:#838383}@media (min-width:500px) and (min-height:700px){.PayBear__Item__val{font-size:14px}}@media (min-width:769px) and (min-height:700px){.PayBear__Item__val{font-size:18px}}.PayBear__Item:not(.PayBear__Item--disabled):active{-webkit-box-shadow:0 1px 1px rgba(0,0,0,.06);box-shadow:0 1px 1px rgba(0,0,0,.06);-webkit-transform:translate3d(0,1px,0);transform:translate3d(0,1px,0)}.PayBear__Item--disabled{position:relative;cursor:default}.PayBear__Item--disabled:after{content:"COMING SOON";font-size:8px;color:#899fb9;font-weight:600;background:#ecf0f1;border-radius:4px 4px 0 0;height:15px;line-height:15px;white-space:nowrap;position:absolute;left:0;top:0;width:100%}@media (min-width:769px) and (min-height:700px){.PayBear__Item--disabled:after{font-size:11px;height:20px;line-height:20px}}.PayBear__Nav{color:#bdbdbd;font-size:13px;letter-spacing:.22px;padding:30px 0 18px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-negative:0;flex-shrink:0}@media (max-width:350px){.PayBear__Nav{font-size:10px;padding:20px 0 18px}}@media (min-width:769px) and (min-height:700px){.PayBear__Nav{font-size:16px;padding:32px 0 30px}}@media (max-height:770px) and (min-width:1025px){.PayBear__Nav{padding:12px 0}}@media (max-height:700px) and (min-width:1025px){.PayBear__Nav{font-size:12px}}.PayBear__Nav>div{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.PayBear__Nav__external{margin:0 3px -3px 9px}@media (min-width:769px) and (min-height:700px){.PayBear__Nav__external{height:21px;width:21px;margin:0 -2px -5px 12px}}.PayBear__Nav a{color:#5e7fcd;font-weight:700;text-decoration:none}.PayBear__Nav__arrow{width:22px;height:22px;margin-right:8px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}@media (min-width:769px) and (min-height:700px){.PayBear__Nav__arrow{width:28px;height:28px;margin-right:19px}}@media (max-height:700px) and (min-width:1025px){.PayBear__Nav__arrow{width:22px;height:22px}}.PayBear__Nav__arrow svg{width:100%;height:100%;-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg);fill:#e3e3e3}.PayBear__Nav__price{color:#525252;font-size:11px;letter-spacing:-.17px;font-weight:500}@media (min-width:769px) and (min-height:700px){.PayBear__Nav__price{font-size:15px;letter-spacing:-1px}}@media (max-height:700px) and (min-width:1025px){.PayBear__Nav__price{font-size:11px}}.PayBear__Nav__price span{font-size:18px;vertical-align:-2px;letter-spacing:-.23px;font-weight:600;margin-right:3px;margin-left:1px}@media (min-width:769px) and (min-height:700px){.PayBear__Nav__price span{font-size:22px;letter-spacing:.75px;margin-right:5px;margin-left:2px}}.PayBear__Icons{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.P-Payment{text-align:center;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}.P-Payment__header{text-align:left;font-weight:600;font-size:10px;color:#b8bcc4;line-height:1.18;padding:16px;background:rgba(94,127,205,.1);-webkit-box-shadow:inset 0 1px 0 rgba(0,0,0,.02);box-shadow:inset 0 1px 0 rgba(0,0,0,.02);-webkit-transition:all .2s ease;-o-transition:all ease .2s;transition:all .2s ease;-ms-flex-negative:0;flex-shrink:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}@media (max-width:350px){.P-Payment__header{font-size:8px}}@media (min-width:500px) and (min-height:700px){.P-Payment__header{font-size:12px;padding:17px}}@media (min-width:2400px) and (min-height:700px){.P-Payment__header{font-size:15px}}@media (max-height:770px) and (min-width:1025px){.P-Payment__header{font-size:12px}}@media (max-height:700px) and (min-width:1025px){.P-Payment__header{font-size:10px}}.P-Payment__header__timer{-ms-flex-negative:0;flex-shrink:0;background:#5e7fcd;border-radius:4px;padding:5px 0;color:#fff;font-size:16px;display:inline-block;vertical-align:middle;width:55px;text-align:center;-webkit-transition:all .2s ease;-o-transition:all ease .2s;transition:all .2s ease;white-space:nowrap;margin-right:10px}@media (min-width:500px) and (min-height:700px){.P-Payment__header__timer{margin-right:14px;width:70px;padding:5px 0;font-size:20px}}@media (min-width:769px) and (min-height:700px){.P-Payment__header__timer{font-size:23px}}.P-Payment__header__title{color:#5e7fcd;font-weight:700;font-size:14px;-webkit-transition:all .2s ease;-o-transition:all ease .2s;transition:all .2s ease}@media (min-width:500px) and (min-height:700px){.P-Payment__header__title{font-size:18px}}@media (min-width:2400px) and (min-height:700px){.P-Payment__header__title{font-size:24px}}.P-Payment__header__helper{letter-spacing:.7px;text-transform:uppercase;margin-top:2px}@media (min-width:769px) and (min-height:700px){.P-Payment__header__helper{letter-spacing:1.23px}}.P-Payment__header__text{min-width:70%}@media (min-width:480px){.P-Payment__header__text{min-width:314px}}.P-Payment__header--red{background:rgba(185,61,61,.1);color:#968e8e}.P-Payment__header--red .P-Payment__header__timer{background:#b93d3d}.P-Payment__header--red .P-Payment__header__title{color:#b93d3d}.P-Payment__header--green{background:rgba(61,179,158,.1);color:#8e9594}.P-Payment__header--green .P-Payment__header__timer{background:#3db39e}.P-Payment__header--green .P-Payment__header__title{color:#3db39e}.P-Payment__header__check{background:#3db39e no-repeat 50% url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjNweCIgaGVpZ2h0PSIxOHB4IiB2aWV3Qm94PSIwIDAgMjMgMTgiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+ICAgIDxwYXRoIGQ9Ik03LjA0OTEwNjczLDEyLjg0OTM3NzEgTDMuOTUzNzAwMDcsOS43NTM5NzA0MSBMMy45NTM3MDAwNyw5Ljc1Mzk3MDQxIEMzLjA2NTA0MTI3LDguODY1MzExNjEgMS42MjQyNDA2OSw4Ljg2NTMxMTYxIDAuNzM1NTgxODk4LDkuNzUzOTcwNDEgTDAuNzM1NTgxODk4LDkuNzUzOTcwNDEgTDAuNzM1NTgxODk4LDkuNzUzOTcwNDEgQy0wLjE1MzA3Njg5NiwxMC42NDI2MjkyIC0wLjE1MzA3Njg5NiwxMi4wODM0Mjk4IDAuNzM1NTgxODk4LDEyLjk3MjA4ODYgTDQuNDUyMjIzOCwxNi42ODg3MzA1IEM0LjUxMjUzOTgsMTcuMTczNzI1NSA0LjcyODg3NTA2LDE3LjY0MzAxNzkgNS4xMDEyMjk1NywxOC4wMTUzNzI0IEM1Ljk4OTg4ODM2LDE4LjkwNDAzMTIgNy40MzA2ODg5NCwxOC45MDQwMzEyIDguMzE5MzQ3NzQsMTguMDE1MzcyNCBMMjEuMzM3NTg4OCw0Ljk5NzEzMTMxIEMyMi4yMjYyNDc2LDQuMTA4NDcyNTEgMjIuMjI2MjQ3NiwyLjY2NzY3MTkzIDIxLjMzNzU4ODgsMS43NzkwMTMxNCBMMjEuMzM3NTg4OCwxLjc3OTAxMzE0IEwyMS4zMzc1ODg4LDEuNzc5MDEzMTQgQzIwLjQ0ODkzLDAuODkwMzU0MzQxIDE5LjAwODEyOTUsMC44OTAzNTQzNDEgMTguMTE5NDcwNywxLjc3OTAxMzE0IEwxOC4xMTk0NzA3LDEuNzc5MDEzMTQgTDcuMDQ5MTA2NzMsMTIuODQ5Mzc3MSBaIiBmaWxsPSIjRkZGRkZGIj48L3BhdGg+PC9zdmc+");background-size:50%;width:28px;height:28px;border-radius:4px;display:block;-ms-flex-negative:0;flex-shrink:0;margin-right:10px}@media (min-width:769px) and (min-height:700px){.P-Payment__header__check{margin-right:14px;width:32px;height:32px}}.P-Payment__confirmed,.P-Payment__confirming,.P-Payment__expired,.P-Payment__expired-helper,.P-Payment__start{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}@media (max-height:770px) and (min-width:1025px){.P-Payment__confirming .P-Payment .P-btn,.P-Payment__confirming .P-Payment__helper{margin-top:20px}}@media (max-height:700px) and (min-width:1025px){.P-Payment__confirming p{margin-bottom:0}}.P-Payment__value{color:#2d2d2d;font-size:19px;line-height:1.23;letter-spacing:0;text-align:center;padding:24px 0;position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-ms-flex-negative:0;flex-shrink:0}@media (min-width:769px) and (min-height:700px){.P-Payment__value{padding:20px 0;font-size:25px}}@media (max-width:350px){.P-Payment__value{font-size:21px}}@media (max-height:770px) and (min-width:1025px){.P-Payment__value{padding-top:12px}}.P-Payment__value__icon{height:45px;line-height:45px;text-align:center;margin-right:18px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}@media (min-width:769px) and (min-height:700px){.P-Payment__value__icon{height:64px;line-height:64px}}.P-Payment__value__icon img{height:100%;max-height:100%;max-width:100%}.P-Payment__qr{width:125px;height:125px;min-width:125px;width:25vh;height:25vh;margin:-7px auto 5px;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}@media (max-width:350px){.P-Payment__qr{width:120px;height:108px}}@media (min-width:769px) and (min-height:700px){.P-Payment__qr{width:170px;height:170px}}@media (min-width:2400px) and (min-height:700px){.P-Payment__qr{width:196px;height:196px}}@media (max-height:770px) and (min-width:1025px){.P-Payment__qr{width:140px;height:140px}}.P-Payment__qr img{width:100%}.P-Payment__address{color:#8c8c8c;font-size:11px;padding:25px 0;position:relative;z-index:2}@media (max-width:350px){.P-Payment__address{font-size:10px}}@media (min-width:420px){.P-Payment__address{font-size:13px}}@media (min-width:500px) and (min-height:700px){.P-Payment__address{font-size:16px}}@media (min-width:769px) and (min-height:700px){.P-Payment__address{padding:32px 0 44px;font-size:20px}}.P-Payment__address b{color:#6a6a6a;font-weight:500}.P-Payment__address code{display:block;color:#000;font-size:10.5px;font-weight:700;padding:0;margin:0;background:none;font-family:Menlo,monospace;margin-top:12px}@media (max-width:350px){.P-Payment__address code{font-size:9.5px}}@media (min-width:420px){.P-Payment__address code{font-size:13px}}@media (min-width:500px) and (min-height:700px){.P-Payment__address code{font-size:16px}}@media (min-width:769px) and (min-height:700px){.P-Payment__address code{letter-spacing:-.54px;font-size:20px}}.P-Payment__helper{color:#5e7fcd;text-transform:uppercase;font-size:12px;font-weight:600;margin-top:20px;letter-spacing:1.23px}@media (max-width:350px){.P-Payment__helper{font-size:10px}}@media (min-width:769px) and (min-height:700px){.P-Payment__helper{font-size:15px;margin-top:40px}}@media (min-width:2400px) and (min-height:700px){.P-Payment__helper{font-size:17px}}.P-Tabs{margin-top:0;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}@media (min-width:769px) and (min-height:700px){.P-Tabs{margin-top:22px}}@media (max-height:770px) and (min-width:1025px){.P-Tabs{margin-top:20px}}@media (max-height:700px) and (min-width:1025px){.P-Tabs{margin-top:0}}.P-Tabs__Tab-list{list-style:none;margin:0 auto 12px;padding:0;background:#f7f7f7;-webkit-box-shadow:inset 0 2px 0 rgba(0,0,0,.04);box-shadow:inset 0 2px 0 rgba(0,0,0,.04);border-radius:999px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-negative:0;flex-shrink:0;position:relative;width:240px}@media (min-width:500px) and (min-height:700px){.P-Tabs__Tab-list{width:300px}}@media (min-width:769px) and (min-height:700px){.P-Tabs__Tab-list{width:345px}}@media (max-height:700px) and (min-width:1025px){.P-Tabs__Tab-list{margin-bottom:20px}}@media (max-height:600px) and (min-width:1025px){.P-Tabs__Tab-list{margin-bottom:10px}}.P-Tabs__Tab-list:before{content:"";height:100%;background:#fff;-webkit-box-shadow:0 2px 2px rgba(0,0,0,.06),0 2px 24px rgba(0,0,0,.06);box-shadow:0 2px 2px rgba(0,0,0,.06),0 2px 24px rgba(0,0,0,.06);border-radius:999px;position:absolute;left:0;top:0;width:33.33%;pointer-events:none;-webkit-transition:all .2s ease;-o-transition:all ease .2s;transition:all .2s ease}.P-Tabs__Tab-list--no-wallet:before{width:50%}.P-Tabs__Tab-list--second:before{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}.P-Tabs__Tab-list--third:before{-webkit-transform:translate3d(200%,0,0);transform:translate3d(200%,0,0)}.P-Tabs__Tab-panel{display:none;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}.P-Tabs__Tab-panel--selected{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.P-Tabs__Tab{display:inline-block;vertical-align:middle;font-size:13px;font-weight:600;color:#696969;width:50%;text-align:center;padding:13px 15px;cursor:pointer;line-height:1.35}@media (min-width:500px) and (min-height:700px){.P-Tabs__Tab{font-size:14px}}@media (min-width:769px) and (min-height:700px){.P-Tabs__Tab{font-size:18px;padding:12px}}.P-Tabs__Tab--selected{position:relative;color:#5e7fcd}.Confirming__icon{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}@media (max-height:770px) and (min-width:1025px){.Confirming__icon svg{height:100%;max-width:none}}.Confirming__icon--small .Confirming__pic__point--top{display:none}.Confirming__icon--full .Confirming__pic__point--center{display:block}.Confirming__pic .check,.Confirming__pic__point--center{display:none}.Confirming__pic--1 .Confirming__pic__point:first-child .circle{fill:#3db39e}.Confirming__pic--1 .Confirming__pic__point:first-child .time{display:none}.Confirming__pic--1 .Confirming__pic__point:first-child .check{display:block}.Confirming__pic--2 .Confirming__pic__point:first-child .circle{fill:#3db39e}.Confirming__pic--2 .Confirming__pic__point:first-child .time{display:none}.Confirming__pic--2 .Confirming__pic__point:first-child .check{display:block}.Confirming__pic--2 .Confirming__pic__point:nth-child(2) .circle{fill:#3db39e}.Confirming__pic--2 .Confirming__pic__point:nth-child(2) .time{display:none}.Confirming__pic--2 .Confirming__pic__point:nth-child(2) .check{display:block}.Confirming__pic--3 .Confirming__pic__point:first-child .circle{fill:#3db39e}.Confirming__pic--3 .Confirming__pic__point:first-child .time{display:none}.Confirming__pic--3 .Confirming__pic__point:first-child .check{display:block}.Confirming__pic--3 .Confirming__pic__point:nth-child(2) .circle{fill:#3db39e}.Confirming__pic--3 .Confirming__pic__point:nth-child(2) .time{display:none}.Confirming__pic--3 .Confirming__pic__point:nth-child(2) .check{display:block}.Confirming__pic--3 .Confirming__pic__point:nth-child(3) .circle{fill:#3db39e}.Confirming__pic--3 .Confirming__pic__point:nth-child(3) .time{display:none}.Confirming__pic--3 .Confirming__pic__point:nth-child(3) .check{display:block}.Confirming__pic--4 .Confirming__pic__point:first-child .circle{fill:#3db39e}.Confirming__pic--4 .Confirming__pic__point:first-child .time{display:none}.Confirming__pic--4 .Confirming__pic__point:first-child .check{display:block}.Confirming__pic--4 .Confirming__pic__point:nth-child(2) .circle{fill:#3db39e}.Confirming__pic--4 .Confirming__pic__point:nth-child(2) .time{display:none}.Confirming__pic--4 .Confirming__pic__point:nth-child(2) .check{display:block}.Confirming__pic--4 .Confirming__pic__point:nth-child(3) .circle{fill:#3db39e}.Confirming__pic--4 .Confirming__pic__point:nth-child(3) .time{display:none}.Confirming__pic--4 .Confirming__pic__point:nth-child(3) .check{display:block}.Confirming__pic--4 .Confirming__pic__point:nth-child(4) .circle{fill:#3db39e}.Confirming__pic--4 .Confirming__pic__point:nth-child(4) .time{display:none}.Confirming__pic--4 .Confirming__pic__point:nth-child(4) .check{display:block}.Confirming__pic--5 .Confirming__pic__point .circle{fill:#3db39e}.Confirming__pic--5 .Confirming__pic__point .time{display:none}.Confirming__pic--5 .Confirming__pic__point .check{display:block}.PayBearModal{display:none;font-size:16px}.PayBearModal *,.PayBearModal :after,.PayBearModal :before{-webkit-box-sizing:border-box;box-sizing:border-box}.PayBearModal--open{display:block}.PayBearModal__Overlay{bottom:0;background-color:rgba(0,0,0,.7)}.PayBearModal__Content,.PayBearModal__Overlay{position:fixed;top:0;left:0;right:0;z-index:999}.PayBearModal__Content{overflow:auto;outline:none;pointer-events:none;height:100%}@media (max-width:640px){.PayBearModal__Content{bottom:0}}.PayBearModal__Content>*{pointer-events:all}@media (max-height:500px){.PayBearModal__Content{bottom:0;pointer-events:all;overflow-y:scroll}}.PayBearModal__Close{height:20px;padding:20px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin-bottom:20px;cursor:pointer}.PayBearModal__Close svg{width:20px;height:20px;display:inline-block;vertical-align:middle;fill:#e3e3e3;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}@media (min-width:769px) and (min-height:700px){.PayBearModal .PayBear-app{max-height:98vh;display:-webkit-box;display:-ms-flexbox;display:flex}}.PayBearModal .PayBear-container{pointer-events:all}@media (max-height:510px){.PayBearModal .PayBear-container{padding:0 20px 20px}}@media (min-width:769px) and (min-height:700px){.PayBearModal .PayBear-container{height:auto;width:100%}}@media (max-height:510px){.PayBearModal .PayBear__Nav{padding:20px 0 18px}}@media (max-height:510px){.PayBearModal .Payment__value{padding:12px 0 24px}}@media (max-height:510px){.PayBearModal .P-Tabs__Tab{padding:8px 15px}}@media (max-height:510px){.PayBearModal .P-box__inner{padding:10px 20px 20px}}@media (max-width:400px){.PayBearModal .P-Content h2{padding:0}}.PayBearModal__Body--open{overflow:hidden}@media (max-width:640px){.PayBearModal__Body--open{position:fixed;height:100vh;width:100%;left:0;top:0}}@media (max-height:500px){.PayBearModal__Body--open{position:fixed;height:100vh;width:100%;left:0;top:0}} \ No newline at end of file diff --git a/views/js/paybear.js b/views/js/paybear.js old mode 100644 new mode 100755 index d8aa88d..89d73d7 --- a/views/js/paybear.js +++ b/views/js/paybear.js @@ -325,8 +325,11 @@ } // clear payments start events + var temp = document.createElement('div'); + temp.innerHTML = state.html; + var paymentStartScreenHTML = temp.querySelector('.P-Payment__start'); + var newPaymentStartScreen = paymentStartScreenHTML.cloneNode(true); var paymentStartScreen = document.querySelector('.P-Payment__start'); - var newPaymentStartScreen = paymentStartScreen.cloneNode(true); paymentStartScreen.parentNode.replaceChild(newPaymentStartScreen, paymentStartScreen); if (state.currencies.length > 1) { @@ -543,6 +546,19 @@ var selectedCoin = state.currencies[state.selected]; if (!isConfirming) { + if (options.modal) { + that.topBackButton.removeAttribute('style'); + that.topBackButton.removeEventListener('click', that.handleTopBackButton); + + that.handleTopBackButton = function (event) { + event.preventDefault(); + hideModal.call(that); + }; + that.topBackButton.addEventListener('click', that.handleTopBackButton); + } else { + that.topBackButton.style.display = 'none'; + } + that.paymentHeader.classList.remove('P-Payment__header--red'); window.removeEventListener('resize', that.resizeListener, true); clearInterval(state.interval); @@ -586,20 +602,20 @@ document.querySelector('.P-confirmations') .innerHTML = 'Payment Detected. Waiting for ' + selectedCoin.confirmations + - (selectedCoin.confirmations === 1 ? ' Confirmation' : ' Confirmations'); + (+selectedCoin.confirmations === 1 ? ' Confirmation' : ' Confirmations'); - if (options.modal || options.onBackClick) { + if (options.modal) { paymentConfirming.querySelector('.P-btn').addEventListener('click', function (e) { e.preventDefault(); - paybearBack.call(that); + hideModal.call(that); }); } else { paymentConfirming.querySelector('.P-btn').style.display = 'none'; } } - that.paymentHeaderHelper.textContent = confirmations + ' / ' + selectedCoin.confirmations + (selectedCoin.confirmations === 1 ? ' Confirmation' : ' Confirmations'); - document.querySelector('.Confirming__icon').classList.value = 'Confirming__icon' + (selectedCoin.confirmations < 4 ? ' Confirming__icon--small' : '') + (selectedCoin.confirmations > 4 ? ' Confirming__icon--full' : ''); + that.paymentHeaderHelper.textContent = confirmations + ' / ' + selectedCoin.confirmations + (+selectedCoin.confirmations === 1 ? ' Confirmation' : ' Confirmations'); + document.querySelector('.Confirming__icon').classList.value = 'Confirming__icon' + (+selectedCoin.confirmations < 4 ? ' Confirming__icon--small' : '') + (+selectedCoin.confirmations > 4 ? ' Confirming__icon--full' : ''); document.querySelector('.Confirming__icon svg').classList.value = 'Confirming__pic Confirming__pic--' + confirmations; this.state.isConfirming = true; } @@ -621,7 +637,7 @@ that.paymentHeader.classList.remove('P-Payment__header--red'); that.paymentHeader.classList.add('P-Payment__header--green'); that.paymentHeaderTitle.textContent = 'Payment Confimed'; - that.paymentHeaderHelper.textContent = selectedCoin.confirmations + (selectedCoin.confirmations === 1 ? ' Confirmation' : ' Confirmations') + ' found'; + that.paymentHeaderHelper.textContent = selectedCoin.confirmations + (+selectedCoin.confirmations === 1 ? ' Confirmation' : ' Confirmations') + ' found'; that.paymentHeaderTimer.style.display = 'none'; document.querySelector('.P-Payment__header__check').style.display = 'block'; @@ -641,8 +657,27 @@ e.preventDefault(); paybearBack.call(that); }); + } + } else { + paymentConfirmed.querySelector('p').style.display = 'none'; + if (options.modal) { + var btn = paymentConfirmed.querySelector('.P-btn'); + var newBtn = document.createElement('button'); + newBtn.innerHTML = ' Close'; + newBtn.classList.value = 'P-btn P-btn--sm'; + btn.parentNode.replaceChild(newBtn, btn); + paymentConfirmed.querySelector('.P-btn').addEventListener('click', function (e) { + e.preventDefault(); + hideModal.call(that); + }); + that.topBackButton.removeEventListener('click', that.handleTopBackButton); + that.topBackButton.addEventListener('click', function (e) { + e.preventDefault(); + hideModal.call(that); + }); } else { - that.topBackButton.style.display = 'none' + that.topBackButton.style.display = 'none'; + paymentConfirmed.querySelector('.P-btn').style.display = 'none'; } } diff --git a/views/templates/front/payment.tpl b/views/templates/front/payment.tpl index dc28f40..f30d07a 100755 --- a/views/templates/front/payment.tpl +++ b/views/templates/front/payment.tpl @@ -2,7 +2,7 @@ {block name="content"}
-