commit 81d28506fdbdc0da70d205b3cef82bba0999a80f Author: kogeletey Date: Fri Feb 23 10:43:36 2024 +0300 init: starting bitcart extenstion 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; +}