Changeset 3063105
- Timestamp:
- 04/03/2024 01:48:11 AM (2 years ago)
- Location:
- godaddy-payments/trunk
- Files:
-
- 1 deleted
- 7 edited
-
godaddy-payments.php (modified) (1 diff)
-
i18n/languages/godaddy-payments.pot (modified) (3 diffs)
-
postcss.config.js (deleted)
-
readme.txt (modified) (3 diffs)
-
src/API/Cards/TokenizeChargeRequest.php (modified) (6 diffs)
-
src/Gateways/CreditCardGateway.php (modified) (1 diff)
-
src/Plugin.php (modified) (2 diffs)
-
vendor/composer/installed.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
godaddy-payments/trunk/godaddy-payments.php
r3044735 r3063105 6 6 * Author: GoDaddy 7 7 * Author URI: https://www.godaddy.com/ 8 * Version: 1.7. 38 * Version: 1.7.4 9 9 * Text Domain: godaddy-payments 10 10 * Domain Path: /i18n/languages/ -
godaddy-payments/trunk/i18n/languages/godaddy-payments.pot
r3044735 r3063105 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: GoDaddy Payments 1.7. 3\n"5 "Project-Id-Version: GoDaddy Payments 1.7.4\n" 6 6 "Report-Msgid-Bugs-To: https://woocommerce.com/my-account/marketplace-ticket-form/\n" 7 7 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" … … 10 10 "Content-Type: text/plain; charset=UTF-8\n" 11 11 "Content-Transfer-Encoding: 8bit\n" 12 "POT-Creation-Date: 2024-0 3-04T04:48:22+00:00\n"12 "POT-Creation-Date: 2024-04-03T01:46:36+00:00\n" 13 13 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 14 14 "X-Generator: WP-CLI 2.7.1\n" … … 96 96 97 97 #. translators: Context: pricing (e.g.: 2.7% + 0¢) formatted using HTML entities - only adjust formatting if necessary for the given locale 98 #: src/Gateways/CreditCardGateway.php:12 898 #: src/Gateways/CreditCardGateway.php:129 99 99 #: src/Plugin.php:783 100 100 msgid "2.7% + 0¢" 101 101 msgstr "" 102 102 103 #. translators: Context: pricing (e.g.: 2. 3% + 30¢) formatted using HTML entities - only adjust formatting if necessary for the given locale104 #: src/Gateways/CreditCardGateway.php:13 1103 #. translators: Context: pricing (e.g.: 2.9% + 30¢) formatted using HTML entities - only adjust formatting if necessary for the given locale 104 #: src/Gateways/CreditCardGateway.php:133 105 105 #: src/Plugin.php:787 106 msgid "2. 3% + 30¢"106 msgid "2.9% + 30¢" 107 107 msgstr "" 108 108 109 109 #. translators: Placeholders: %1$s - pricing, %2$s - <a> tag, %3$s - </a> tag 110 #: src/Gateways/CreditCardGateway.php:13 6110 #: src/Gateways/CreditCardGateway.php:138 111 111 msgid "Securely accept credit/debit cards in your checkout, and keep more of your money with the industry's lowest fees—just %1$s per online transaction. Get paid fast with deposits as soon as the next day. %2$sGoDaddy Payments Terms apply%3$s." 112 112 msgstr "" 113 113 114 114 #. translators: Placeholders: %1$s - payment gateway title, %2$s - a monetary amount. Void as in to void an order. 115 #: src/Gateways/CreditCardGateway.php:1 59115 #: src/Gateways/CreditCardGateway.php:161 116 116 msgid "%1$s Void in the amount of %2$s approved." 117 117 msgstr "" 118 118 119 #: src/Gateways/CreditCardGateway.php:1 68119 #: src/Gateways/CreditCardGateway.php:170 120 120 msgid "(Transaction ID %s)" 121 121 msgstr "" 122 122 123 #: src/Gateways/CreditCardGateway.php:21 5123 #: src/Gateways/CreditCardGateway.php:217 124 124 msgid "invalid country code" 125 125 msgstr "" 126 126 127 #: src/Gateways/CreditCardGateway.php:31 4127 #: src/Gateways/CreditCardGateway.php:316 128 128 msgid "GoDaddy Payments payment in the amount of %s approved. " 129 129 msgstr "" 130 130 131 #: src/Gateways/CreditCardGateway.php:3 18131 #: src/Gateways/CreditCardGateway.php:320 132 132 msgid "Transaction ID: %s." 133 133 msgstr "" 134 134 135 135 #. translators: Placeholder: %1$s - last four digits of an account number (e.g. credit card) 136 #: src/Gateways/CreditCardGateway.php:33 0136 #: src/Gateways/CreditCardGateway.php:332 137 137 msgid "ending in %1$s" 138 138 msgstr "" 139 139 140 #: src/Gateways/CreditCardGateway.php:33 6140 #: src/Gateways/CreditCardGateway.php:338 141 141 msgid "(expires %s)" 142 142 msgstr "" 143 143 144 #: src/Gateways/CreditCardGateway.php:34 0144 #: src/Gateways/CreditCardGateway.php:342 145 145 msgid "(Authorization only transaction)" 146 146 msgstr "" 147 147 148 #: src/Gateways/CreditCardGateway.php:95 3148 #: src/Gateways/CreditCardGateway.php:955 149 149 msgid "Enable / Disable" 150 150 msgstr "" 151 151 152 #: src/Gateways/CreditCardGateway.php:95 4152 #: src/Gateways/CreditCardGateway.php:956 153 153 msgid "Enable this gateway" 154 154 msgstr "" 155 155 156 #: src/Gateways/CreditCardGateway.php:95 5156 #: src/Gateways/CreditCardGateway.php:957 157 157 msgid "Enable to add the payment method to your checkout." 158 158 msgstr "" 159 159 160 #: src/Gateways/CreditCardGateway.php:96 0160 #: src/Gateways/CreditCardGateway.php:962 161 161 msgid "Title in Checkout" 162 162 msgstr "" 163 163 164 #: src/Gateways/CreditCardGateway.php:96 2164 #: src/Gateways/CreditCardGateway.php:964 165 165 #: src/Gateways/PayInPersonGateway.php:340 166 166 msgid "Payment method title that the customer will see during checkout." 167 167 msgstr "" 168 168 169 #: src/Gateways/CreditCardGateway.php:96 6169 #: src/Gateways/CreditCardGateway.php:968 170 170 msgid "Description in Checkout" 171 171 msgstr "" 172 172 173 #: src/Gateways/CreditCardGateway.php:9 68173 #: src/Gateways/CreditCardGateway.php:970 174 174 msgid "Payment method description that the customer will see during checkout." 175 175 msgstr "" 176 176 177 #: src/Gateways/CreditCardGateway.php:97 2177 #: src/Gateways/CreditCardGateway.php:974 178 178 msgid "Accepted Card Logos" 179 179 msgstr "" 180 180 181 #: src/Gateways/CreditCardGateway.php:97 4181 #: src/Gateways/CreditCardGateway.php:976 182 182 msgid "These are the card logos that are displayed to customers as accepted during checkout." 183 183 msgstr "" 184 184 185 185 #. translators: Placeholders: %1$s - <strong> tag, %2$s - </strong> tag 186 #: src/Gateways/CreditCardGateway.php:97 7186 #: src/Gateways/CreditCardGateway.php:979 187 187 msgid "This setting %1$sdoes not%2$s change which card types the gateway will accept." 188 188 msgstr "" 189 189 190 #: src/Gateways/CreditCardGateway.php:98 7190 #: src/Gateways/CreditCardGateway.php:989 191 191 msgid "Saved Cards" 192 192 msgstr "" 193 193 194 #: src/Gateways/CreditCardGateway.php:9 88194 #: src/Gateways/CreditCardGateway.php:990 195 195 msgid "Allow customers to securely save their payment details for future checkout." 196 196 msgstr "" 197 197 198 #: src/Gateways/CreditCardGateway.php:99 4199 #: src/Gateways/CreditCardGateway.php:100 5198 #: src/Gateways/CreditCardGateway.php:996 199 #: src/Gateways/CreditCardGateway.php:1007 200 200 msgid "Connection settings" 201 201 msgstr "" 202 202 203 203 #. translators: Placeholders: %1$s - opening <a> HTML link tag, %2$s - closing </a> HTML link tag, %3$s - opening <a> HTML link tag, %4$s - closing </a> HTML link tag 204 #: src/Gateways/CreditCardGateway.php:99 7205 #: src/Gateways/CreditCardGateway.php:10 08204 #: src/Gateways/CreditCardGateway.php:999 205 #: src/Gateways/CreditCardGateway.php:1010 206 206 msgid "To connect to GoDaddy Payments, %1$screate a GoDaddy Payments account%2$s. Then copy your Application ID and Private key from the Business Settings under Advanced Tools in your Payments dashboard and paste them in the fields below. %3$sLearn more%4$s" 207 207 msgstr "" 208 208 209 #: src/Gateways/CreditCardGateway.php:101 5209 #: src/Gateways/CreditCardGateway.php:1017 210 210 msgid "Application ID" 211 211 msgstr "" 212 212 213 #: src/Gateways/CreditCardGateway.php:101 7213 #: src/Gateways/CreditCardGateway.php:1019 214 214 msgid "Enter your Application ID" 215 215 msgstr "" 216 216 217 #: src/Gateways/CreditCardGateway.php:102 1217 #: src/Gateways/CreditCardGateway.php:1023 218 218 msgid "Private Key" 219 219 msgstr "" 220 220 221 #: src/Gateways/CreditCardGateway.php:102 3221 #: src/Gateways/CreditCardGateway.php:1025 222 222 msgid "Enter your Private Key" 223 223 msgstr "" 224 224 225 #: src/Gateways/CreditCardGateway.php:102 7225 #: src/Gateways/CreditCardGateway.php:1029 226 226 msgid "Staging Application ID" 227 227 msgstr "" 228 228 229 #: src/Gateways/CreditCardGateway.php:10 29229 #: src/Gateways/CreditCardGateway.php:1031 230 230 msgid "Enter your staging Application ID" 231 231 msgstr "" 232 232 233 #: src/Gateways/CreditCardGateway.php:103 3233 #: src/Gateways/CreditCardGateway.php:1035 234 234 msgid "Staging Private Key" 235 235 msgstr "" 236 236 237 #: src/Gateways/CreditCardGateway.php:103 5237 #: src/Gateways/CreditCardGateway.php:1037 238 238 msgid "Enter your staging Private Key" 239 239 msgstr "" 240 240 241 #: src/Gateways/CreditCardGateway.php:127 1241 #: src/Gateways/CreditCardGateway.php:1273 242 242 msgctxt "Checkout error" 243 243 msgid "An error occurred, please try again or try an alternate form of payment." 244 244 msgstr "" 245 245 246 #: src/Gateways/CreditCardGateway.php:127 5246 #: src/Gateways/CreditCardGateway.php:1277 247 247 msgctxt "Credit or debit card" 248 248 msgid "Missing card details." 249 249 msgstr "" 250 250 251 #: src/Gateways/CreditCardGateway.php:12 79251 #: src/Gateways/CreditCardGateway.php:1281 252 252 msgctxt "Checkout error" 253 253 msgid "Missing billing details." -
godaddy-payments/trunk/readme.txt
r3044735 r3063105 3 3 Tags: credit card, payments, checkout, e-commerce, ecommerce, woo, woocommerce 4 4 Requires at least: 5.6 5 Tested up to: 6. 4.35 Tested up to: 6.5 6 6 Requires PHP: 7.4 7 Stable tag: 1.7. 37 Stable tag: 1.7.4 8 8 License: GPL-2.0 9 9 License URI: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html … … 23 23 * **Start taking secure payments in minutes** with a quick & easy setup, no setup fees and no contracts. 24 24 * **Get paid faster** - receiving your funds the next business day. 25 * **Pay a low, simple transaction fee** of 2. 3% + 30c per online transaction in the U.S.25 * **Pay a low, simple transaction fee** of 2.9% + 30c per online transaction in the U.S. 26 26 * **Significantly reduce your PCI compliance responsibility.** GoDaddy Payments uses hosted iframes to ensure payment data never touches and is never stored on your site’s servers. 27 27 * **Dedicated support from WooCommerce experts** to help you get started processing payments. … … 95 95 96 96 == Changelog == 97 98 = 2024.04.03 - version 1.7.4 = 99 * Tweak - Pass Collect.js nonce to payment transactions when not using a saved payment method 100 * Misc - Update references to the latest processing commission fees 97 101 98 102 = 2024.03.04 - version 1.7.3 = -
godaddy-payments/trunk/src/API/Cards/TokenizeChargeRequest.php
r3025639 r3063105 10 10 namespace GoDaddy\WooCommerce\Poynt\API\Cards; 11 11 12 use Exception; 12 13 use GoDaddy\WooCommerce\Poynt\API; 13 14 use GoDaddy\WooCommerce\Poynt\API\Requests\AbstractBusinessRequest; … … 54 55 * 55 56 * @param WC_Order $order order object 57 * @throws Exception 56 58 */ 57 59 public function setAuthorizeData(WC_Order $order) … … 70 72 * 71 73 * @param WC_Order $order order object 74 * @throws Exception 72 75 */ 73 76 public function setSaleData(WC_Order $order) … … 86 89 * 87 90 * @param WC_Order $order order object 91 * @throws Exception 88 92 */ 89 93 public function setOrderData(WC_Order $order) … … 107 111 } 108 112 113 // if card on file, use token, otherwise use nonce 114 if (! empty($order->payment->token)) { 115 $cardField = 'cardToken'; 116 $fieldValue = $order->payment->token; 117 } elseif (! empty($order->payment->nonce)) { 118 $cardField = 'nonce'; 119 $fieldValue = $order->payment->nonce; 120 } else { 121 $cardField = 'cardToken'; 122 $fieldValue = ''; // should not happen 123 } 124 109 125 $this->data = [ 110 126 'context' => [ … … 118 134 ], 119 135 'fundingSource' => [ 120 'cardToken' => $order->payment->token,136 $cardField => $fieldValue, 121 137 'entryDetails' => [ 122 138 'customerPresenceStatus' => 'ECOMMERCE', -
godaddy-payments/trunk/src/Gateways/CreditCardGateway.php
r3044735 r3063105 126 126 switch (poynt_for_woocommerce()->getCountry()) { 127 127 case 'CA': 128 /* translators: Context: pricing (e.g.: 2.7% + 0¢) formatted using HTML entities - only adjust formatting if necessary for the given locale */ 128 129 $pricing = __('2.7% + 0¢', 'godaddy-payments'); 129 130 break; 130 131 default: 131 $pricing = __('2.3% + 30¢', 'godaddy-payments'); 132 /* translators: Context: pricing (e.g.: 2.9% + 30¢) formatted using HTML entities - only adjust formatting if necessary for the given locale */ 133 $pricing = __('2.9% + 30¢', 'godaddy-payments'); 132 134 } 133 135 -
godaddy-payments/trunk/src/Plugin.php
r3044735 r3063105 40 40 { 41 41 /** the plugin's version number */ 42 const VERSION = '1.7. 3';42 const VERSION = '1.7.4'; 43 43 44 44 /** the plugin's gateway id */ … … 784 784 break; 785 785 default: 786 /* translators: Context: pricing (e.g.: 2. 3% + 30¢) formatted using HTML entities - only adjust formatting if necessary for the given locale */787 $pricing = __('2. 3% + 30¢', 'godaddy-payments');786 /* translators: Context: pricing (e.g.: 2.9% + 30¢) formatted using HTML entities - only adjust formatting if necessary for the given locale */ 787 $pricing = __('2.9% + 30¢', 'godaddy-payments'); 788 788 } 789 789 -
godaddy-payments/trunk/vendor/composer/installed.php
r3044735 r3063105 4 4 'pretty_version' => 'dev-main', 5 5 'version' => 'dev-main', 6 'reference' => ' 5377bdd18aa2d04c50eb995c3b8ce0180e44b341',6 'reference' => 'c768d5e308cd942fe14862ca9a1e78a9a110d693', 7 7 'type' => 'wordpress-plugin', 8 8 'install_path' => __DIR__ . '/../../', … … 23 23 'pretty_version' => 'dev-main', 24 24 'version' => 'dev-main', 25 'reference' => ' 5377bdd18aa2d04c50eb995c3b8ce0180e44b341',25 'reference' => 'c768d5e308cd942fe14862ca9a1e78a9a110d693', 26 26 'type' => 'wordpress-plugin', 27 27 'install_path' => __DIR__ . '/../../',
Note: See TracChangeset
for help on using the changeset viewer.