Changeset 3168431
- Timestamp:
- 10/14/2024 09:46:19 AM (15 months ago)
- Location:
- cryptomus/trunk
- Files:
-
- 4 added
- 3 edited
-
.git/index (modified) (previous)
-
.git/objects/e6 (added)
-
.git/objects/e6/9de29bb2d1d6434b8b29ae775ad8c2e48c5391 (added)
-
README.md (modified) (4 diffs)
-
checkout.js (added)
-
class-block.php (added)
-
cryptomus.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
cryptomus/trunk/README.md
r3090002 r3168431 5 5 Tested up to: 6.5 6 6 Requires PHP: 5.6 7 Stable tag: 1.2.67 Stable tag: trunk 8 8 License: License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 12 12 13 13 == Description == 14 Cryptomus is a cryptocurrency payment platform for businesses and individuals. Accepting cryptocurrency payments for your online business is now easier than ever with the Cryptomus plugin for WordPress. With the help of it, cryptocurrency options are being converted to fiat at current exchange rates.14 Cryptomus is a cryptocurrency payment platform for businesses and individuals. Accepting cryptocurrency payments for your online business is now easier than ever with the Cryptomus cryptocurrency payment processor plugin for WordPress. With the help of it, cryptocurrency options are being converted to fiat at current exchange rates. 15 15 16 16 Cryptomus plugin allows you to accept the following coins: 17 17 18 18 * Bitcoin (BTC) 19 * Tether (USDT )19 * Tether (USDT TRC-20 & ERC-20) 20 20 * Avalanche (AVAX) 21 21 * Bitcoin Cash (BCH) … … 60 60 = Accept Bitcoin Payments = 61 61 62 Allow customers to transact using Bitcoin, the original and most widely recognized cryptocurrency, known for its robust blockchain technology and widespread acceptance.62 Allow customers to pay Bitcoin invoices, the original and most widely recognized cryptocurrency, known for its robust blockchain technology and widespread acceptance. 63 63 64 64 = Accept USDT Payments = … … 129 129 First of all, you need to download the plugin, and then install it as we described above. Then you are ready to start accepting payments with Cryptomus on your WordPress website. 130 130 131 * Is it possible to accept crypto donations with Cryptomus? 132 Sure, just share your wallet address with visitors and get paid anytime, or create a payment widget, customize the design, and place it anywhere in your project. 133 134 * How can I accept fiat payments via Cryptomus? 135 You can use Cryptomus as a fiat-to-crypto payment gateway by letting your customers pay with fiat using third-party links from our partners. Just generate a special link and share it with your customers. 136 137 131 138 132 139 Any questions left? Contact our [support team](https://t.me/cryptomussupport). -
cryptomus/trunk/cryptomus.php
r3087636 r3168431 188 188 return true; 189 189 } 190 191 function declare_cart_checkout_blocks_compatibility() { 192 // Check if the required class exists 193 if (class_exists('\Automattic\WooCommerce\Utilities\FeaturesUtil')) { 194 // Declare compatibility for 'cart_checkout_blocks' 195 \Automattic\WooCommerce\Utilities\FeaturesUtil::declare_compatibility('cart_checkout_blocks', __FILE__, true); 196 } 197 } 198 // Hook the custom function to the 'before_woocommerce_init' action 199 add_action('before_woocommerce_init', 'declare_cart_checkout_blocks_compatibility'); 200 201 // Hook the custom function to the 'woocommerce_blocks_loaded' action 202 add_action( 'woocommerce_blocks_loaded', 'cryptomus_register_order_approval_payment_method_type' ); 203 /** 204 * Custom function to register a payment method type 205 */ 206 function cryptomus_register_order_approval_payment_method_type() { 207 // Include the custom Blocks Checkout class 208 require_once plugin_dir_path(__FILE__) . 'class-block.php'; 209 // Hook the registration function to the 'woocommerce_blocks_payment_method_type_registration' action 210 add_action( 211 'woocommerce_blocks_payment_method_type_registration', 212 function( Automattic\WooCommerce\Blocks\Payments\PaymentMethodRegistry $payment_method_registry ) { 213 $payment_method_registry->register( new Cryptomus_Gateway_Blocks ); 214 } 215 ); 216 }
Note: See TracChangeset
for help on using the changeset viewer.