Plugin Directory

Changeset 3340444


Ignore:
Timestamp:
08/06/2025 02:34:11 PM (8 months ago)
Author:
codnloc
Message:

adding website name to the order id

Location:
codnloc-payment-gateway-for-whish-money
Files:
11 added
2 edited

Legend:

Unmodified
Added
Removed
  • codnloc-payment-gateway-for-whish-money/trunk/class-gateway.php

    r3322115 r3340444  
    8383
    8484    // إعداد البيانات لإرسالها إلى بوابة الدفع.
     85    $wbst = sanitize_text_field( $this->website );
    8586   
    8687    $postData = array(
    87         'website'  => sanitize_text_field( $this->website ),
     88        'website'  => $wbst,
    8889        'secret'   => sanitize_text_field( $this->secret ),
    8990        'order_id' => $order_id,
    9091        // translators: %s is the order_id
    91         'invoice'  => sprintf( __( 'Payment for order #%s', 'codnloc-payment-gateway-for-whish-money' ), $order_id ),
     92        'invoice'  => sprintf( __( $wbst . 'Payment for order #%s', 'codnloc-payment-gateway-for-whish-money' ), $order_id ),
    9293        'amount'   => $order->get_total(),
    9394        'currency' => $order->get_currency(),
  • codnloc-payment-gateway-for-whish-money/trunk/readme.txt

    r3322120 r3340444  
    44Tags: WHISH, WHISH Money, payment gateway
    55Requires at least: 5.0
    6 Tested up to: 6.8
     6Tested up to: 6.8.2
    77Requires PHP: 7.4
    88Stable tag: 1.0.0
Note: See TracChangeset for help on using the changeset viewer.