Changeset 1478774
- Timestamp:
- 08/19/2016 01:19:16 PM (10 years ago)
- Location:
- zibbra/trunk
- Files:
-
- 3 edited
-
modules/checkout.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
-
zibbra.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
zibbra/trunk/modules/checkout.php
r1474412 r1478774 228 228 // Get the payment adapter 229 229 230 $oPaymentAdapter = $oCart->getPayment(); 230 $oPaymentAdapter = false; 231 232 if(($payment = $adapter->getSessionValue("payment",false)) !== false) { 233 234 $oPaymentAdapter = ZPayment::get($payment); 235 236 } // end if 231 237 232 238 // Create the order … … 272 278 // Dispatch Payment 273 279 274 if(($payment = $adapter->getSessionValue("payment",false)) !== false) { 275 276 $oPaymentAdapter = ZPayment::get($payment); 277 278 if($oPaymentAdapter && !$adapter->getSessionValue("payment.complete",false) && $amount>0) { 279 280 $oPaymentAdapter->setReturnUrl(site_url("/zibbra/payment/return")); 281 $oPaymentAdapter->setCancelUrl(site_url("/zibbra/payment/cancel")); 282 $oPaymentAdapter->dispatch($orderid, $number, $amount); 283 284 } // end if 280 if($oPaymentAdapter !== false && !$adapter->getSessionValue("payment.complete",false) && $amount>0) { 281 282 $oPaymentAdapter->setReturnUrl(site_url("/zibbra/payment/return")); 283 $oPaymentAdapter->setCancelUrl(site_url("/zibbra/payment/cancel")); 284 $oPaymentAdapter->dispatch($orderid, $number, $amount); 285 285 286 286 } // end if -
zibbra/trunk/readme.txt
r1474412 r1478774 1 1 === Zibbra === 2 2 Requires at least: 4.3.1 3 Tested up to: 4. 5.33 Tested up to: 4.6.0 4 4 Contributors: Zibbra 5 5 Tags: Ecommerce, Cloud 6 Stable tag: 1.3. 06 Stable tag: 1.3.1 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 51 51 52 52 == Changelog == 53 54 = 1.3.1 = 55 56 * Bugfix in checkout, load payment adapters before cartToOrder 53 57 54 58 = 1.3.0 = -
zibbra/trunk/zibbra.php
r1474412 r1478774 6 6 * Plugin URI: http://wordpress.org/plugins/zibbra/ 7 7 * Description: Zibbra integration plugin for Wordpress 8 * Version: 1.3. 08 * Version: 1.3.1 9 9 * Author: Zibbra 10 10 * Author URI: https://www.zibbra.com … … 81 81 const FORM_ACTION = "zibbra"; 82 82 const ROLE = "customer"; 83 const VERSION = "1.3. 0";83 const VERSION = "1.3.1"; 84 84 85 85 private $controller = null;
Note: See TracChangeset
for help on using the changeset viewer.