Sorry, looks like you didn't select a valid payment currency.
"; }else{ $db = get_db_instance(); $transaction = coinpayments_create_transaction($_POST['currency'], ACCOUNT_UPGRADES[$_POST['upgrade']]['usd_price'], $_POST['upgrade'], $user['id']); if($transaction === false){ echo "An error occured creating the transaction, please try again
"; }else{ echo "Please pay $transaction[amount] $_POST[currency] to $transaction[address]
"; echo 'Once paid, it can take a while until the upgrade is applied to your account. Usually within an hour.
'; } } } ?>