Plugin Directory

Changeset 3411419


Ignore:
Timestamp:
12/04/2025 09:10:01 PM (4 months ago)
Author:
maalypay
Message:

feat: minor updates

Location:
maaly-pay/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • maaly-pay/trunk/includes/class-maaly-pay-gateway-blocks.php

    r3409985 r3411419  
    6060            : array(
    6161                'dependencies' => array(),
    62                 'version' => '1.1.4'
     62                'version' => '1.1.5'
    6363            );
    6464        $script_url = MAALY_PAY_REL_PLUGIN_URL . $script_path;
  • maaly-pay/trunk/maaly-pay.php

    r3409985 r3411419  
    33Plugin Name: Maaly Pay
    44Description: Accept cryptocurrency payments via Maaly Pay API (WooCommerce gateway integration).
    5 Version: 1.1.4
     5Version: 1.1.5
    66Author: Your Name
    77Requires at least: 5.2
     
    2222// CONSTANTS
    2323// -----------------------------------------------------------------------------
    24 define('MAALY_PAY_VERSION', '1.1.4');
     24define('MAALY_PAY_VERSION', '1.1.5');
    2525define('MAALY_PAY_PLUGIN_FILE', __FILE__);
    2626define('MAALY_PAY_PLUGIN_DIR', plugin_dir_path(__FILE__));
     
    234234
    235235            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                ';
    237251            exit;
    238252        } else {
Note: See TracChangeset for help on using the changeset viewer.