PK œqhYî¶J‚ßF ßF ) nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/
Dir : /home/trave494/outtheboxministry.org/xhr/ |
Server: Linux ngx353.inmotionhosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64 IP: 209.182.202.254 |
Dir : /home/trave494/outtheboxministry.org/xhr/pay_with_bitcoin.php |
<?php if ($f == 'pay_with_bitcoin') { if (empty($_GET['amount'])) { header("Location: " . Wo_SeoLink('index.php?link1=oops')); exit(); } if ($wo['config']['coinpayments_secret'] !== "" && $wo['config']['coinpayments_id'] !== "") { try { include_once('assets/libraries/coinpayments.php'); $CP = new \MineSQL\CoinPayments(); // Set the merchant ID and secret key (can be found in account settings on CoinPayments.net) $CP->setMerchantId($wo['config']['coinpayments_id']); $CP->setSecretKey($wo['config']['coinpayments_secret']); //REQUIRED $CP->setFormElement('currency', 'USD'); $CP->setFormElement('amountf', Wo_Secure($_GET['amount'])); $desc = 'Replenish my Wallet balance'; if (!empty($_GET['desc'])) { $desc = $_GET['desc']; } $CP->setFormElement('item_name', $desc); //OPTIONAL $CP->setFormElement('want_shipping', 0); $CP->setFormElement('user_id', $wo['user']['user_id']); $CP->setFormElement('ipn_url', $wo['config']['site_url'] . '/requests.php?f=coinpayments_callback'); $CP->setFormElement('success_url', $wo['config']['site_url'] . '/requests.php?f=coinpayments_callback'); $CP->setFormElement('cancel_url', $wo['config']['site_url'] . '/requests.php?f=coinpayments_callback'); $data = array( 'status' => 200, 'html' => $CP->createForm() ); header("Content-type: application/json"); echo json_encode($data); exit(); } catch (Exception $e) { $data = array( 'status' => 400, 'error' => $e->getMessage() ); header("Content-type: application/json"); echo json_encode($data); exit(); } } }