Changeset 2896947
- Timestamp:
- 04/11/2023 07:25:37 AM (3 years ago)
- Location:
- qh-testpay
- Files:
-
- 4 edited
-
tags/1.0.2/inc/banks/class-qhpay-base.php (modified) (1 diff)
-
tags/1.0.2/inc/functions.php (modified) (1 diff)
-
trunk/inc/banks/class-qhpay-base.php (modified) (1 diff)
-
trunk/inc/functions.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
qh-testpay/tags/1.0.2/inc/banks/class-qhpay-base.php
r2782874 r2896947 720 720 $pay_url = ""; 721 721 if($bank=='momo') { 722 $img_url = get_rest_url(null, " qhtp/v1/qrcode?app=momo&phone={$accountNo}&price={$amount}");722 $img_url = get_rest_url(null, "bck/v1/qrcode?app=momo&phone={$accountNo}&price={$amount}&content=".urlencode($addInfo)); 723 723 } 724 724 else if($bank=='viettelpay') { -
qh-testpay/tags/1.0.2/inc/functions.php
r2782874 r2896947 140 140 if($phone && $price){ 141 141 if($app=='momo') { 142 $text = sprintf("2|99|%s|||0|0|%d ", $phone, $price);142 $text = sprintf("2|99|%s|||0|0|%d|%s|transfer_myqr", $phone, $price,$content); 143 143 $img = QHTP_DIR.'/assets/momo.png'; 144 144 QRcode::png($text, false, QR_ECLEVEL_Q, 10); -
qh-testpay/trunk/inc/banks/class-qhpay-base.php
r2757788 r2896947 720 720 $pay_url = ""; 721 721 if($bank=='momo') { 722 $img_url = get_rest_url(null, " qhtp/v1/qrcode?app=momo&phone={$accountNo}&price={$amount}");722 $img_url = get_rest_url(null, "bck/v1/qrcode?app=momo&phone={$accountNo}&price={$amount}&content=".urlencode($addInfo)); 723 723 } 724 724 else if($bank=='viettelpay') { -
qh-testpay/trunk/inc/functions.php
r2771861 r2896947 140 140 if($phone && $price){ 141 141 if($app=='momo') { 142 $text = sprintf("2|99|%s|||0|0|%d ", $phone, $price);142 $text = sprintf("2|99|%s|||0|0|%d|%s|transfer_myqr", $phone, $price,$content); 143 143 $img = QHTP_DIR.'/assets/momo.png'; 144 144 QRcode::png($text, false, QR_ECLEVEL_Q, 10);
Note: See TracChangeset
for help on using the changeset viewer.