Changeset 726687
- Timestamp:
- 06/14/2013 02:42:45 PM (13 years ago)
- Location:
- quickpay-payment-gateway-for-wp-e-commerce/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (3 diffs)
-
wp-e-commerce-quickpay.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
quickpay-payment-gateway-for-wp-e-commerce/trunk/readme.txt
r673598 r726687 4 4 Requires at least: 3.0.1 5 5 Tested up to: 3.5.1 6 Stable tag: 1.3. 16 Stable tag: 1.3.2 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 27 27 28 28 = Compatability = 29 The plugin has been tested with WP e-Commerece 3.8. 9.5. I can't guarantee that it will work with older versions of WP e-Commerce.29 The plugin has been tested with WP e-Commerece 3.8.11.1. I can't guarantee that it will work with older versions of WP e-Commerce. 30 30 31 31 = Upgrading from the old non-plugin version of the payment gateway? = … … 51 51 1. Navigate to `wp-content/plugins/wp-e-commerce/wpsc-merchants` folder 52 52 1. Delete the `quickpay.php` file 53 54 = 1.3.2 = 55 * Added support for WP e-Commerce 3.8.11.1. Apparently they changed how purchase receipts are handled, so no email were being sent to the customer. 53 56 54 57 = 1.3.1 = -
quickpay-payment-gateway-for-wp-e-commerce/trunk/wp-e-commerce-quickpay.php
r673598 r726687 4 4 Plugin URI: http://quickpay.net/modules/wordpress/ 5 5 Description: Adds the Quickpay payment option into WP e-Commerce. Quickpay is a Danish online payment gateway. <strong>If you need support, please <a href="http://quickpay.net/contact/" target="_new">contact Quickpay</a>.</strong> 6 Version: 1.3. 16 Version: 1.3.2 7 7 Author: Uffe Fey, WordPress consultant 8 8 Author URI: http://wpkonsulent.dk … … 127 127 // Order is accepted. 128 128 $notes = "Payment approved at Quickpay:\ntransaction id: " . $new_transaction . "\ncard type: " . $cardtype . "\namount: " . $amount . "\nfraud probability: " . $fraudprobability . "\nfraud remarks: " . $fraudremarks . "\nfraud report: " . $fraudreport; 129 $wpdb->query("UPDATE " . WPSC_TABLE_PURCHASE_LOGS . " SET processed = '3', transactid = '" . $new_transaction . "', date = '" . time() . "', notes = '" . $notes . "' WHERE sessionid = " . $sessionid . " LIMIT 1"); 129 130 // old way of doing it.. 131 //$wpdb->query("UPDATE " . WPSC_TABLE_PURCHASE_LOGS . " SET processed = '3', transactid = '" . $new_transaction . "', date = '" . time() . "', notes = '" . $notes . "' WHERE sessionid = " . $sessionid . " LIMIT 1"); 132 133 $purchase_log = new WPSC_Purchase_Log($sessionid, 'sessionid'); 134 135 if(!$purchase_log->exists() || $purchase_log->is_transaction_completed()) 136 return; 137 138 $purchase_log->set('processed', WPSC_Purchase_Log::ACCEPTED_PAYMENT); 139 $purchase_log->set('transactid', $new_transaction); 140 $purchase_log->set('notes', $notes); 141 $purchase_log->save(); 130 142 } 131 143 else
Note: See TracChangeset
for help on using the changeset viewer.