Changeset 3411419
- Timestamp:
- 12/04/2025 09:10:01 PM (4 months ago)
- Location:
- maaly-pay/trunk
- Files:
-
- 2 edited
-
includes/class-maaly-pay-gateway-blocks.php (modified) (1 diff)
-
maaly-pay.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
maaly-pay/trunk/includes/class-maaly-pay-gateway-blocks.php
r3409985 r3411419 60 60 : array( 61 61 'dependencies' => array(), 62 'version' => '1.1. 4'62 'version' => '1.1.5' 63 63 ); 64 64 $script_url = MAALY_PAY_REL_PLUGIN_URL . $script_path; -
maaly-pay/trunk/maaly-pay.php
r3409985 r3411419 3 3 Plugin Name: Maaly Pay 4 4 Description: Accept cryptocurrency payments via Maaly Pay API (WooCommerce gateway integration). 5 Version: 1.1. 45 Version: 1.1.5 6 6 Author: Your Name 7 7 Requires at least: 5.2 … … 22 22 // CONSTANTS 23 23 // ----------------------------------------------------------------------------- 24 define('MAALY_PAY_VERSION', '1.1. 4');24 define('MAALY_PAY_VERSION', '1.1.5'); 25 25 define('MAALY_PAY_PLUGIN_FILE', __FILE__); 26 26 define('MAALY_PAY_PLUGIN_DIR', plugin_dir_path(__FILE__)); … … 234 234 235 235 status_header(200); 236 echo 'Payment Received'; 236 echo '<div style="position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: linear-gradient(135deg, #1e3a8a 0%, #0891b2 100%); display: flex; align-items: center; justify-content: center;">' 237 .'<div style="width: 80%; max-width: 320px; border-radius: 12px; box-shadow: 0 0 20px rgba(0, 0, 0, 0.1); padding: 30px 20px; text-align: center; background: #FFF;">' 238 .'<div style="background: #00c853; width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px;">' 239 .'<svg fill="#FFF" viewBox="0 0 24 24" class="gb-blur-svg"><path d="M9 16.2l-3.5-3.5L4 14.2l5 5 12-12-1.5-1.5z"></path></svg>' 240 .'</div>' 241 .'<h1 style="color: #012169; font-size: 20px; margin: 10px 0;">Payment Successful!</h1>' 242 .'</div>' 243 .'</div>' 244 .' 245 <script> 246 setTimeout(() => { 247 document.location.href = "'. get_home_url() .'/" 248 }, 5000) 249 </script> 250 '; 237 251 exit; 238 252 } else {
Note: See TracChangeset
for help on using the changeset viewer.