Changeset 2334669
- Timestamp:
- 07/03/2020 07:36:02 AM (6 years ago)
- Location:
- mobipaid
- Files:
-
- 48 added
- 4 edited
-
tags/1.0.3 (added)
-
tags/1.0.3/assets (added)
-
tags/1.0.3/assets/img (added)
-
tags/1.0.3/assets/img/mp-logo.png (added)
-
tags/1.0.3/changelog.txt (added)
-
tags/1.0.3/includes (added)
-
tags/1.0.3/includes/class-mobipaid-api.php (added)
-
tags/1.0.3/includes/class-mobipaid.php (added)
-
tags/1.0.3/index.php (added)
-
tags/1.0.3/languages (added)
-
tags/1.0.3/languages/mobipaid-ar.mo (added)
-
tags/1.0.3/languages/mobipaid-ar.po (added)
-
tags/1.0.3/languages/mobipaid-da_DK.mo (added)
-
tags/1.0.3/languages/mobipaid-da_DK.po (added)
-
tags/1.0.3/languages/mobipaid-de_DE.mo (added)
-
tags/1.0.3/languages/mobipaid-de_DE.po (added)
-
tags/1.0.3/languages/mobipaid-en_US.mo (added)
-
tags/1.0.3/languages/mobipaid-en_US.po (added)
-
tags/1.0.3/languages/mobipaid-es_ES.mo (added)
-
tags/1.0.3/languages/mobipaid-es_ES.po (added)
-
tags/1.0.3/languages/mobipaid-fi.mo (added)
-
tags/1.0.3/languages/mobipaid-fi.po (added)
-
tags/1.0.3/languages/mobipaid-fr_FR.mo (added)
-
tags/1.0.3/languages/mobipaid-fr_FR.po (added)
-
tags/1.0.3/languages/mobipaid-id_ID.mo (added)
-
tags/1.0.3/languages/mobipaid-id_ID.po (added)
-
tags/1.0.3/languages/mobipaid-it_IT.mo (added)
-
tags/1.0.3/languages/mobipaid-it_IT.po (added)
-
tags/1.0.3/languages/mobipaid-ja.mo (added)
-
tags/1.0.3/languages/mobipaid-ja.po (added)
-
tags/1.0.3/languages/mobipaid-ko_KR.mo (added)
-
tags/1.0.3/languages/mobipaid-ko_KR.po (added)
-
tags/1.0.3/languages/mobipaid-nl_NL.mo (added)
-
tags/1.0.3/languages/mobipaid-nl_NL.po (added)
-
tags/1.0.3/languages/mobipaid-pl_PL.mo (added)
-
tags/1.0.3/languages/mobipaid-pl_PL.po (added)
-
tags/1.0.3/languages/mobipaid-pt_PT.mo (added)
-
tags/1.0.3/languages/mobipaid-pt_PT.po (added)
-
tags/1.0.3/languages/mobipaid-ru_RU.mo (added)
-
tags/1.0.3/languages/mobipaid-ru_RU.po (added)
-
tags/1.0.3/languages/mobipaid-sv_SE.mo (added)
-
tags/1.0.3/languages/mobipaid-sv_SE.po (added)
-
tags/1.0.3/languages/mobipaid-tr_TR.mo (added)
-
tags/1.0.3/languages/mobipaid-tr_TR.po (added)
-
tags/1.0.3/languages/mobipaid-zh_CN.mo (added)
-
tags/1.0.3/languages/mobipaid-zh_CN.po (added)
-
tags/1.0.3/mobipaid.php (added)
-
tags/1.0.3/readme.txt (added)
-
trunk/changelog.txt (modified) (1 diff)
-
trunk/includes/class-mobipaid.php (modified) (1 diff)
-
trunk/mobipaid.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
mobipaid/trunk/changelog.txt
r2317410 r2334669 13 13 * add readme for setup. 14 14 * change the way of get payment status. 15 16 = 1.0.3 - 2020-07-03 = 17 * add sku and unit price to payment page. -
mobipaid/trunk/includes/class-mobipaid.php
r2317410 r2334669 226 226 227 227 foreach ( $order->get_items() as $item_id => $item ) { 228 $product = $item->get_product(); 229 $sku = $product->get_sku(); 230 if ( !$sku ) { 231 $sku = '-'; 232 } 233 $item_total = isset( $item['recurring_line_total'] ) ? $item['recurring_line_total'] : $order->get_item_total( $item ); 234 228 235 $cart_items[] = array( 229 'name' => $item->get_name(), 230 'qty' => $item->get_quantity(), 236 'sku' => $sku, 237 'name' => $item->get_name(), 238 'qty' => $item->get_quantity(), 239 'unit_price' => $item_total 231 240 ); 232 241 } -
mobipaid/trunk/mobipaid.php
r2317410 r2334669 4 4 * Plugin URI: https://github.com/MobipaidLLC/mobipaid-woocommerce 5 5 * Description: Receive payments using Mobipaid. 6 * Version: 1.0. 26 * Version: 1.0.3 7 7 * Requires at least: 5.0 8 8 * Tested up to: 5.3.2 … … 24 24 } 25 25 26 define( 'MOBIPAID_PLUGIN_VERSION', '1.0. 2' );26 define( 'MOBIPAID_PLUGIN_VERSION', '1.0.3' ); 27 27 28 28 register_activation_hook( __FILE__, 'mobipaid_activate_plugin' ); -
mobipaid/trunk/readme.txt
r2317410 r2334669 6 6 Tested up to: 5.3.2 7 7 Requires PHP: 7.0 8 Stable tag: 1.0. 28 Stable tag: 1.0.3 9 9 License: GPLv3 10 10 License URI: https://www.gnu.org/licenses/gpl-3.0.html … … 109 109 * add readme for setup. 110 110 * change the way of get payment status. 111 112 = 1.0.3 - 2020-07-03 = 113 * add sku and unit price to payment page.
Note: See TracChangeset
for help on using the changeset viewer.