Changeset 2205831
- Timestamp:
- 12/04/2019 10:54:07 AM (6 years ago)
- File:
-
- 1 edited
-
woo-paysenz-payment-gateway/trunk/paysenz.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
woo-paysenz-payment-gateway/trunk/paysenz.php
r2205828 r2205831 4 4 Plugin URI: http://unlocklive.com 5 5 Description: Allow mobile banking (Bkash, Rocket), Visa & Mastercard payments within your woocommerce stores and wordpress. Paysenz combines the open mobile banking api, open visa api to bring you the latest in Payments. 6 Version: 1.0. 06 Version: 1.0.1 7 7 Author: Unlocklive Team 8 8 Author URI: https://paysenz.net … … 206 206 207 207 // The text for the note 208 $make_notes = ' Total Amount: '.sanitize_text_field($_POST['payment_status']).', Paysenz Txn ID: '.sanitize_text_field($_POST['psz_txnid']).', Merchant Txn ID: '.sanitize_text_field($_POST['merchant_txnid']).', Type: '.sanitize_text_field($_POST['payment_type']).', Currency: '.sanitize_text_field($_POST['merchant_currency']).'';208 $make_notes = 'Payment Status: '.sanitize_text_field($_POST['payment_status']).', Total Amount: '.sanitize_text_field($_POST['amount']).', Paysenz Txn ID: '.sanitize_text_field($_POST['psz_txnid']).', Merchant Txn ID: '.sanitize_text_field($_POST['merchant_txnid']).', Type: '.sanitize_text_field($_POST['payment_type']).', Currency: '.sanitize_text_field($_POST['merchant_currency']).''; 209 209 210 210 // Add the note … … 228 228 229 229 // The text for the note 230 $make_notes = ' Total Amount: '.sanitize_text_field($_POST['payment_status']).', Paysenz Txn ID: '.sanitize_text_field($_POST['psz_txnid']).', Merchant Txn ID: '.sanitize_text_field($_POST['merchant_txnid']).', Type: '.sanitize_text_field($_POST['payment_type']).', Currency: '.sanitize_text_field($_POST['merchant_currency']).'';230 $make_notes = 'Payment Status: '.sanitize_text_field($_POST['payment_status']).', Total Amount: '.sanitize_text_field($_POST['amount']).', Paysenz Txn ID: '.sanitize_text_field($_POST['psz_txnid']).', Merchant Txn ID: '.sanitize_text_field($_POST['merchant_txnid']).', Type: '.sanitize_text_field($_POST['payment_type']).', Currency: '.sanitize_text_field($_POST['merchant_currency']).''; 231 231 232 232 // Add the note … … 235 235 // save 236 236 $order->save(); 237 237 238 238 $order->payment_complete(); 239 239 //$order->wc_reduce_stock_levels();
Note: See TracChangeset
for help on using the changeset viewer.