From 81d28506fdbdc0da70d205b3cef82bba0999a80f Mon Sep 17 00:00:00 2001 From: kogeletey Date: Fri, 23 Feb 2024 10:43:36 +0300 Subject: [PATCH] init: starting bitcart extenstion --- index.php | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 index.php diff --git a/index.php b/index.php new file mode 100644 index 0000000..75f11d6 --- /dev/null +++ b/index.php @@ -0,0 +1,50 @@ + 'bitcart_api_endpoint', + 'friendlyName' => 'Bitcart domain name', + 'type' => 'text', + 'description' => 'Your Bitcart instance\'s Merchants API URL.', + 'required' => true, + ], + [ + 'name' => 'bitcart_store', + 'friendlyName' => 'Bitcart store id', + 'type' => 'text', + 'description' => 'Store ID of your Bitcart Store.', + 'required' => true, + ], + [ + 'name'=>'bitcart_admin_url', + 'friendlyName' => 'Admin URL', + 'type' => 'text', + 'description' => 'Your Bitcart instance\'s Admin Panel URL.', + 'required' => true, + ], + ]; + } + +public function Bitcart_pay($total, $products, $orderId) +{ + +} + +protected function _generateForm($invoiceID) + { + $htmlOutput = ''; + $htmlOutput .= ''; + $htmlOutput .= ' + '; + return $htmlOutput; +}