Changeset 2264141
- Timestamp:
- 03/19/2020 09:45:24 PM (6 years ago)
- Location:
- transact
- Files:
-
- 7 edited
- 7 copied
-
tags/4.2.1 (copied) (copied from transact/trunk)
-
tags/4.2.1/admin/controllers/transact-admin-settings-post.php (copied) (copied from transact/trunk/admin/controllers/transact-admin-settings-post.php) (1 diff)
-
tags/4.2.1/frontend/assets/style.css (copied) (copied from transact/trunk/frontend/assets/style.css)
-
tags/4.2.1/frontend/assets/transact_post.js (copied) (copied from transact/trunk/frontend/assets/transact_post.js)
-
tags/4.2.1/frontend/controllers/transact-api.php (modified) (1 diff)
-
tags/4.2.1/frontend/controllers/transact-handle-buttons.php (copied) (copied from transact/trunk/frontend/controllers/transact-handle-buttons.php)
-
tags/4.2.1/readme.txt (copied) (copied from transact/trunk/readme.txt) (1 diff)
-
tags/4.2.1/transact-plugin.php (copied) (copied from transact/trunk/transact-plugin.php) (1 diff)
-
tags/4.2.1/vendors/transact-io-php/transact-io.php (modified) (2 diffs)
-
trunk/admin/controllers/transact-admin-settings-post.php (modified) (1 diff)
-
trunk/frontend/controllers/transact-api.php (modified) (1 diff)
-
trunk/readme.txt (modified) (1 diff)
-
trunk/transact-plugin.php (modified) (1 diff)
-
trunk/vendors/transact-io-php/transact-io.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
transact/tags/4.2.1/admin/controllers/transact-admin-settings-post.php
r2264115 r2264141 276 276 let price = document.getElementById('transact_price').value * 100; 277 277 278 if ( price.length > 0 &&Number.isInteger(parseInt(price))) {278 if (Number.isInteger(parseInt(price))) { 279 279 price = parseInt(price); // will set 0 if input is 0.1 280 280 console.log('check_transact_price IS valid', price) -
transact/tags/4.2.1/frontend/controllers/transact-api.php
r2229641 r2264141 158 158 $this->init_sale_parameters($this->transact); 159 159 $this->transact->setPrice($price); 160 $this->transact->setDonation(TRUE); 160 161 161 162 if ($affiliate_id) { -
transact/tags/4.2.1/readme.txt
r2264115 r2264141 81 81 == Changelog == 82 82 83 = 4.2.1 = 84 * Fix editing donation price. Pass donation flag to transact.io 85 83 86 = 4.2.0 = 84 87 * Display pricing as dollars and cents. -
transact/tags/4.2.1/transact-plugin.php
r2264115 r2264141 3 3 * Plugin Name: transact.io 4 4 * Description: Integrates transact.io services into WP 5 * Version: 4.2. 05 * Version: 4.2.1 6 6 * Author: transact.io 7 7 * Author URI: https://transact.io -
transact/tags/4.2.1/vendors/transact-io-php/transact-io.php
r2229641 r2264141 32 32 'domain' => '', // domain name 33 33 'sub' => FALSE, // is ONLY a subscription? 34 'donate' => FALSE, // is a donation 34 35 ); 35 36 … … 131 132 $this->token['aff'] = (int) $val; 132 133 } 134 135 function setDonation($val) { 136 if ($val) { 137 $this->token['donate'] = TRUE; 138 } else { 139 $this->token['donate'] = FALSE; 140 } 141 } 142 133 143 function getToken() { 134 144 $this->token['iat'] = time(); // set timestamp -
transact/trunk/admin/controllers/transact-admin-settings-post.php
r2264115 r2264141 276 276 let price = document.getElementById('transact_price').value * 100; 277 277 278 if ( price.length > 0 &&Number.isInteger(parseInt(price))) {278 if (Number.isInteger(parseInt(price))) { 279 279 price = parseInt(price); // will set 0 if input is 0.1 280 280 console.log('check_transact_price IS valid', price) -
transact/trunk/frontend/controllers/transact-api.php
r2229641 r2264141 158 158 $this->init_sale_parameters($this->transact); 159 159 $this->transact->setPrice($price); 160 $this->transact->setDonation(TRUE); 160 161 161 162 if ($affiliate_id) { -
transact/trunk/readme.txt
r2264115 r2264141 81 81 == Changelog == 82 82 83 = 4.2.1 = 84 * Fix editing donation price. Pass donation flag to transact.io 85 83 86 = 4.2.0 = 84 87 * Display pricing as dollars and cents. -
transact/trunk/transact-plugin.php
r2264115 r2264141 3 3 * Plugin Name: transact.io 4 4 * Description: Integrates transact.io services into WP 5 * Version: 4.2. 05 * Version: 4.2.1 6 6 * Author: transact.io 7 7 * Author URI: https://transact.io -
transact/trunk/vendors/transact-io-php/transact-io.php
r2229641 r2264141 32 32 'domain' => '', // domain name 33 33 'sub' => FALSE, // is ONLY a subscription? 34 'donate' => FALSE, // is a donation 34 35 ); 35 36 … … 131 132 $this->token['aff'] = (int) $val; 132 133 } 134 135 function setDonation($val) { 136 if ($val) { 137 $this->token['donate'] = TRUE; 138 } else { 139 $this->token['donate'] = FALSE; 140 } 141 } 142 133 143 function getToken() { 134 144 $this->token['iat'] = time(); // set timestamp
Note: See TracChangeset
for help on using the changeset viewer.