Changeset 3302770
- Timestamp:
- 05/29/2025 08:43:02 AM (10 months ago)
- Location:
- blockonomics-bitcoin-payments/trunk
- Files:
-
- 5 edited
-
blockonomics-woocommerce.php (modified) (2 diffs)
-
php/Blockonomics.php (modified) (1 diff)
-
php/WC_Gateway_Blockonomics.php (modified) (1 diff)
-
php/form_fields.php (modified) (1 diff)
-
readme.txt (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
blockonomics-bitcoin-payments/trunk/blockonomics-woocommerce.php
r3202315 r3302770 4 4 * Plugin URI: https://github.com/blockonomics/woocommerce-plugin 5 5 * Description: Accept Bitcoin Payments on your WooCommerce-powered website with Blockonomics 6 * Version: 3.7. 76 * Version: 3.7.8 7 7 * Author: Blockonomics 8 8 * Author URI: https://www.blockonomics.co … … 319 319 $blockonomics = new Blockonomics; 320 320 321 $output = '<h2 class="woocommerce-column__title"> Payment details</h2>';321 $output = '<h2 class="woocommerce-column__title">' . __('Payment details', 'blockonomics-bitcoin-payments') . '</h2>'; 322 322 $output .= '<table class="woocommerce-table woocommerce-table--order-details shop_table order_details">'; 323 323 $output .= '<tbody>'; -
blockonomics-bitcoin-payments/trunk/php/Blockonomics.php
r3202315 r3302770 539 539 } 540 540 $price = $responseObj->price; 541 $price = $price * 100/(100+get_option('blockonomics_margin', 0)); 541 $margin = floatval(get_option('blockonomics_margin', 0)); 542 $price = $price * 100 / (100 + $margin); 542 543 } else { 543 544 $price = 1; -
blockonomics-bitcoin-payments/trunk/php/WC_Gateway_Blockonomics.php
r3186453 r3302770 364 364 } 365 365 } 366 update_option('blockonomics_margin', (int)$this->get_option('extra_margin'));366 update_option('blockonomics_margin', floatval($this->get_option('extra_margin'))); 367 367 update_option('blockonomics_underpayment_slack', (int)$this->get_option('underpayment_slack')); 368 368 update_option('blockonomics_partial_payments', $this->get_option('partial_payment') == 'yes' ? 1 : 0); -
blockonomics-bitcoin-payments/trunk/php/form_fields.php
r3186453 r3302770 60 60 'title' => __('Advanced<p class="block-title-desc">Setting for advanced control</p>', 'blockonomics-bitcoin-payments'), 61 61 'type' => 'number', 62 'description' => __('Increase live fiat to BTC rate by small percent ', 'blockonomics-bitcoin-payments'),62 'description' => __('Increase live fiat to BTC rate by small percent (0-4%)', 'blockonomics-bitcoin-payments'), 63 63 'subtitle' => __('Extra Currency Rate Margin %', 'blockonomics-bitcoin-payments'), 64 64 'default' => get_option('blockonomics_extra_margin', 0), 65 65 'placeholder' => __('Extra Currency Rate Margin %', 'blockonomics-bitcoin-payments'), 66 'add_divider' => true 66 'add_divider' => true, 67 'custom_attributes' => ['step' => '0.01', 'min' => '0', 'max' => '4'] 67 68 ); 68 69 $form_fields['underpayment_slack'] = array( -
blockonomics-bitcoin-payments/trunk/readme.txt
r3202315 r3302770 1 1 === Wordpress Bitcoin Payments - Blockonomics === 2 Contributors: juhasiivikko, darrenwestwood, blockonomics, ank td, btcdeveloper2 Contributors: juhasiivikko, darrenwestwood, blockonomics, ankit61d, btcdeveloper 3 3 Tags: bitcoin, accept bitcoin, bitcoin woocommerce, bitcoin wordpress plugin, bitcoin payments 4 4 Requires at least: 3.0.1 5 5 Tested up to: 6.7 6 Stable tag: 3.7. 76 Stable tag: 3.7.8 7 7 License: MIT 8 8 License URI: http://opensource.org/licenses/MIT … … 13 13 14 14 The fastest and easiest way to start accepting Bitcoin payments on your WooCommerce online store. Since 2015, [Blockonomics](https://www.blockonomics.co/merchants?utm_source=wordpress) has helped thousands of ecommerce sites increase sales by including Bitcoin and Bitcoin Cash as payment options for their customers. 15 16 https://www.youtube.com/watch?v=FNEmYaGRaDo 17 15 18 16 19 = A truly decentralized bitcoin payment processor for WordPress = … … 23 26 - **No approvals** of API key/documentation required 24 27 - **Safe and secure** transactions 25 - Installation only takes **two minutes** - [Video Tutorial](https://www.youtube.com/watch?v= nFKzzMgdBpQ)28 - Installation only takes **two minutes** - [Video Tutorial](https://www.youtube.com/watch?v=bozfMIznpao) 26 29 - Eliminate chargebacks and fraud 27 30 - **World-class** customer support team … … 64 67 You are free to customize the checkout page according to your needs. Feel free to consult [this article](http://help.blockonomics.co/support/solutions/articles/33000243991-how-to-customize-the-checkout-page-) 65 68 66 == Screenshots == 67 68 1. Animated Demo 69 == Screenshots == 69 70 70 71 2. Payment screen 71 72 72 3. Settings Panel 73 3. Settings Panel 73 74 74 75 4. Blockonomics configuration 75 76 76 == Changelog == 77 78 = 3.7.8 = 79 * Improved: Markup setting now supports decimal values (0–4%) for finer pricing control 80 * Fixed: "Payment details" string now translatable 77 81 78 82 = 3.7.7 =
Note: See TracChangeset
for help on using the changeset viewer.