WooCommerce PayPal Powered by Braintree Payment Gateway - Version 2.1.3

Version Description

Download this release

Release Info

Developer SkyVerge
Plugin Icon 128x128 WooCommerce PayPal Powered by Braintree Payment Gateway
Version 2.1.3
Comparing to
See all releases

Code changes from version 2.1.2 to 2.1.3

Files changed (226) hide show
  1. DEVELOPER.md +62 -0
  2. assets/css/frontend/wc-braintree.min.css +1 -189
  3. assets/images/button/connect-braintree.png +0 -0
  4. assets/images/button/connect-braintree@2x.png +0 -0
  5. assets/images/button/connect-braintree@3x.png +0 -0
  6. assets/js/frontend/wc-braintree.min.js +1 -1
  7. class-wc-braintree.php +1 -1
  8. i18n/languages/woocommerce-gateway-paypal-powered-by-braintree.pot +24 -1264
  9. includes/class-wc-gateway-braintree-credit-card.php +2 -2
  10. includes/class-wc-gateway-braintree-paypal.php +1 -1
  11. includes/class-wc-gateway-braintree.php +1 -1
  12. includes/payment-forms/class-wc-braintree-paypal-payment-form.php +2 -2
  13. lib/skyverge/woocommerce/changelog.txt +0 -0
  14. lib/skyverge/woocommerce/class-sv-wc-helper.php +0 -0
  15. lib/skyverge/woocommerce/class-sv-wc-plugin-compatibility.php +0 -0
  16. lib/skyverge/woocommerce/class-sv-wp-admin-message-handler.php +0 -0
  17. lib/skyverge/woocommerce/compatibility/class-sv-wc-order-compatibility.php +0 -0
  18. lib/skyverge/woocommerce/compatibility/class-sv-wc-product-compatibility.php +0 -0
  19. lib/skyverge/woocommerce/i18n/languages/woocommerce-plugin-framework-et.mo +0 -0
  20. lib/skyverge/woocommerce/i18n/languages/woocommerce-plugin-framework-et.po +0 -1315
  21. lib/skyverge/woocommerce/i18n/languages/woocommerce-plugin-framework.pot +0 -1333
  22. lib/skyverge/woocommerce/payment-gateway/assets/css/admin/sv-wc-payment-gateway-token-editor.min.css +1 -2
  23. lib/skyverge/woocommerce/payment-gateway/assets/css/frontend/sv-wc-payment-gateway-my-payment-methods.min.css +1 -2
  24. lib/skyverge/woocommerce/payment-gateway/assets/css/frontend/sv-wc-payment-gateway-payment-form.min.css +1 -87
  25. lib/skyverge/woocommerce/payment-gateway/assets/js/admin/sv-wc-payment-gateway-token-editor.min.js +1 -155
  26. lib/skyverge/woocommerce/payment-gateway/assets/js/frontend/sv-wc-payment-gateway-payment-form.min.js +1 -317
  27. lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway-plugin.php +1 -1
  28. lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php +0 -0
  29. lib/ssl/api_braintreegateway_com.ca.crt +0 -0
  30. readme.txt +10 -2
  31. vendor/autoload.php +7 -0
  32. vendor/braintree/braintree_php/ACKNOWLEDGEMENTS.md +6 -0
  33. vendor/braintree/braintree_php/CHANGELOG.md +563 -0
  34. vendor/braintree/braintree_php/Dockerfile +13 -0
  35. vendor/braintree/braintree_php/LICENSE +22 -0
  36. vendor/braintree/braintree_php/Makefile +10 -0
  37. vendor/braintree/braintree_php/README.md +134 -0
  38. vendor/braintree/braintree_php/Rakefile +81 -0
  39. vendor/braintree/braintree_php/ci.sh +11 -0
  40. {lib → vendor/braintree/braintree_php/lib}/Braintree.php +0 -1
  41. {lib → vendor/braintree/braintree_php/lib}/Braintree/AccountUpdaterDailyReport.php +0 -0
  42. {lib → vendor/braintree/braintree_php/lib}/Braintree/AchMandate.php +0 -2
  43. {lib → vendor/braintree/braintree_php/lib}/Braintree/AddOn.php +0 -0
  44. {lib → vendor/braintree/braintree_php/lib}/Braintree/AddOnGateway.php +0 -0
  45. {lib → vendor/braintree/braintree_php/lib}/Braintree/Address.php +0 -0
  46. {lib → vendor/braintree/braintree_php/lib}/Braintree/AddressGateway.php +0 -0
  47. {lib → vendor/braintree/braintree_php/lib}/Braintree/AmexExpressCheckoutCard.php +0 -0
  48. {lib → vendor/braintree/braintree_php/lib}/Braintree/AndroidPayCard.php +0 -0
  49. {lib → vendor/braintree/braintree_php/lib}/Braintree/ApplePayCard.php +1 -0
  50. {lib → vendor/braintree/braintree_php/lib}/Braintree/ApplePayGateway.php +0 -0
  51. {lib → vendor/braintree/braintree_php/lib}/Braintree/ApplePayOptions.php +0 -0
  52. {lib → vendor/braintree/braintree_php/lib}/Braintree/AuthorizationAdjustment.php +0 -0
  53. {lib → vendor/braintree/braintree_php/lib}/Braintree/Base.php +14 -1
  54. vendor/braintree/braintree_php/lib/Braintree/BinData.php +30 -0
  55. {lib → vendor/braintree/braintree_php/lib}/Braintree/ClientToken.php +0 -0
  56. {lib → vendor/braintree/braintree_php/lib}/Braintree/ClientTokenGateway.php +1 -1
  57. {lib → vendor/braintree/braintree_php/lib}/Braintree/CoinbaseAccount.php +0 -0
  58. {lib → vendor/braintree/braintree_php/lib}/Braintree/Collection.php +0 -0
  59. {lib → vendor/braintree/braintree_php/lib}/Braintree/Configuration.php +8 -2
  60. {lib → vendor/braintree/braintree_php/lib}/Braintree/ConnectedMerchantPayPalStatusChanged.php +1 -0
  61. {lib → vendor/braintree/braintree_php/lib}/Braintree/ConnectedMerchantStatusTransitioned.php +1 -0
  62. {lib → vendor/braintree/braintree_php/lib}/Braintree/CredentialsParser.php +0 -0
  63. {lib → vendor/braintree/braintree_php/lib}/Braintree/CreditCard.php +2 -2
  64. {lib → vendor/braintree/braintree_php/lib}/Braintree/CreditCardGateway.php +2 -2
  65. {lib → vendor/braintree/braintree_php/lib}/Braintree/CreditCardVerification.php +0 -0
  66. {lib → vendor/braintree/braintree_php/lib}/Braintree/CreditCardVerificationGateway.php +0 -0
  67. {lib → vendor/braintree/braintree_php/lib}/Braintree/CreditCardVerificationSearch.php +0 -0
  68. {lib → vendor/braintree/braintree_php/lib}/Braintree/Customer.php +3 -3
  69. {lib → vendor/braintree/braintree_php/lib}/Braintree/CustomerGateway.php +30 -5
  70. {lib → vendor/braintree/braintree_php/lib}/Braintree/CustomerSearch.php +0 -0
  71. {lib → vendor/braintree/braintree_php/lib}/Braintree/Descriptor.php +0 -0
  72. {lib → vendor/braintree/braintree_php/lib}/Braintree/Digest.php +0 -0
  73. {lib → vendor/braintree/braintree_php/lib}/Braintree/Disbursement.php +15 -1
  74. {lib → vendor/braintree/braintree_php/lib}/Braintree/DisbursementDetails.php +0 -0
  75. {lib → vendor/braintree/braintree_php/lib}/Braintree/Discount.php +0 -0
  76. {lib → vendor/braintree/braintree_php/lib}/Braintree/DiscountGateway.php +0 -0
  77. {lib → vendor/braintree/braintree_php/lib}/Braintree/Dispute.php +6 -6
  78. {lib → vendor/braintree/braintree_php/lib}/Braintree/Dispute/EvidenceDetails.php +10 -0
  79. {lib → vendor/braintree/braintree_php/lib}/Braintree/Dispute/StatusHistoryDetails.php +2 -1
  80. {lib → vendor/braintree/braintree_php/lib}/Braintree/Dispute/TransactionDetails.php +0 -0
  81. {lib → vendor/braintree/braintree_php/lib}/Braintree/DisputeGateway.php +42 -12
  82. {lib → vendor/braintree/braintree_php/lib}/Braintree/DisputeSearch.php +15 -0
  83. {lib → vendor/braintree/braintree_php/lib}/Braintree/DocumentUpload.php +0 -0
  84. {lib → vendor/braintree/braintree_php/lib}/Braintree/DocumentUploadGateway.php +0 -0
  85. vendor/braintree/braintree_php/lib/Braintree/EndsWithNode.php +23 -0
  86. {lib → vendor/braintree/braintree_php/lib}/Braintree/EqualityNode.php +0 -0
  87. {lib → vendor/braintree/braintree_php/lib}/Braintree/Error/Codes.php +82 -5
  88. {lib → vendor/braintree/braintree_php/lib}/Braintree/Error/ErrorCollection.php +0 -0
  89. {lib → vendor/braintree/braintree_php/lib}/Braintree/Error/Validation.php +1 -1
  90. {lib → vendor/braintree/braintree_php/lib}/Braintree/Error/ValidationErrorCollection.php +1 -1
  91. {lib → vendor/braintree/braintree_php/lib}/Braintree/EuropeBankAccount.php +0 -0
  92. {lib → vendor/braintree/braintree_php/lib}/Braintree/Exception.php +0 -0
  93. {lib → vendor/braintree/braintree_php/lib}/Braintree/Exception/Authentication.php +0 -0
  94. {lib → vendor/braintree/braintree_php/lib}/Braintree/Exception/Authorization.php +0 -0
  95. {lib → vendor/braintree/braintree_php/lib}/Braintree/Exception/Configuration.php +0 -0
  96. {lib → vendor/braintree/braintree_php/lib}/Braintree/Exception/Connection.php +0 -0
  97. {lib → vendor/braintree/braintree_php/lib}/Braintree/Exception/DownForMaintenance.php +0 -0
  98. {lib → vendor/braintree/braintree_php/lib}/Braintree/Exception/ForgedQueryString.php +0 -0
  99. {lib → vendor/braintree/braintree_php/lib}/Braintree/Exception/InvalidChallenge.php +0 -0
  100. {lib → vendor/braintree/braintree_php/lib}/Braintree/Exception/InvalidSignature.php +0 -0
  101. {lib → vendor/braintree/braintree_php/lib}/Braintree/Exception/NotFound.php +0 -0
  102. {lib → vendor/braintree/braintree_php/lib}/Braintree/Exception/SSLCaFileNotFound.php +0 -0
  103. {lib → vendor/braintree/braintree_php/lib}/Braintree/Exception/SSLCertificate.php +0 -0
  104. {lib → vendor/braintree/braintree_php/lib}/Braintree/Exception/ServerError.php +0 -0
  105. {lib → vendor/braintree/braintree_php/lib}/Braintree/Exception/TestOperationPerformedInProduction.php +0 -0
  106. {lib → vendor/braintree/braintree_php/lib}/Braintree/Exception/Timeout.php +0 -0
  107. {lib → vendor/braintree/braintree_php/lib}/Braintree/Exception/TooManyRequests.php +0 -0
  108. {lib → vendor/braintree/braintree_php/lib}/Braintree/Exception/Unexpected.php +0 -0
  109. {lib → vendor/braintree/braintree_php/lib}/Braintree/Exception/UpgradeRequired.php +0 -0
  110. {lib → vendor/braintree/braintree_php/lib}/Braintree/Exception/ValidationsFailed.php +0 -0
  111. {lib → vendor/braintree/braintree_php/lib}/Braintree/FacilitatedDetails.php +0 -0
  112. {lib → vendor/braintree/braintree_php/lib}/Braintree/FacilitatorDetails.php +0 -0
  113. {lib → vendor/braintree/braintree_php/lib}/Braintree/Gateway.php +27 -0
  114. vendor/braintree/braintree_php/lib/Braintree/GrantedPaymentInstrumentUpdate.php +73 -0
  115. {lib → vendor/braintree/braintree_php/lib}/Braintree/Http.php +2 -1
  116. {lib → vendor/braintree/braintree_php/lib}/Braintree/IbanBankAccount.php +0 -0
  117. {lib → vendor/braintree/braintree_php/lib}/Braintree/IdealPayment.php +0 -0
  118. {lib → vendor/braintree/braintree_php/lib}/Braintree/IdealPaymentGateway.php +0 -0
  119. {lib → vendor/braintree/braintree_php/lib}/Braintree/Instance.php +0 -0
  120. {lib → vendor/braintree/braintree_php/lib}/Braintree/IsNode.php +0 -0
  121. {lib → vendor/braintree/braintree_php/lib}/Braintree/KeyValueNode.php +0 -0
  122. {lib → vendor/braintree/braintree_php/lib}/Braintree/MasterpassCard.php +1 -1
  123. {lib → vendor/braintree/braintree_php/lib}/Braintree/Merchant.php +0 -0
  124. {lib → vendor/braintree/braintree_php/lib}/Braintree/MerchantAccount.php +0 -0
  125. {lib → vendor/braintree/braintree_php/lib}/Braintree/MerchantAccount/AddressDetails.php +0 -0
  126. {lib → vendor/braintree/braintree_php/lib}/Braintree/MerchantAccount/BusinessDetails.php +0 -0
  127. {lib → vendor/braintree/braintree_php/lib}/Braintree/MerchantAccount/FundingDetails.php +0 -0
  128. {lib → vendor/braintree/braintree_php/lib}/Braintree/MerchantAccount/IndividualDetails.php +0 -0
  129. {lib → vendor/braintree/braintree_php/lib}/Braintree/MerchantAccountGateway.php +0 -0
  130. {lib → vendor/braintree/braintree_php/lib}/Braintree/MerchantGateway.php +0 -0
  131. {lib → vendor/braintree/braintree_php/lib}/Braintree/Modification.php +0 -0
  132. {lib → vendor/braintree/braintree_php/lib}/Braintree/MultipleValueNode.php +0 -0
  133. {lib → vendor/braintree/braintree_php/lib}/Braintree/MultipleValueOrTextNode.php +0 -0
  134. vendor/braintree/braintree_php/lib/Braintree/OAuthAccessRevocation.php +32 -0
  135. {lib → vendor/braintree/braintree_php/lib}/Braintree/OAuthCredentials.php +0 -0
  136. {lib → vendor/braintree/braintree_php/lib}/Braintree/OAuthGateway.php +4 -2
  137. {lib → vendor/braintree/braintree_php/lib}/Braintree/OAuthResult.php +0 -0
  138. {lib → vendor/braintree/braintree_php/lib}/Braintree/PaginatedCollection.php +0 -0
  139. {lib → vendor/braintree/braintree_php/lib}/Braintree/PaginatedResult.php +0 -0
  140. {lib → vendor/braintree/braintree_php/lib}/Braintree/PartialMatchNode.php +0 -0
  141. {lib → vendor/braintree/braintree_php/lib}/Braintree/PartnerMerchant.php +0 -0
  142. {lib → vendor/braintree/braintree_php/lib}/Braintree/PayPalAccount.php +0 -0
  143. {lib → vendor/braintree/braintree_php/lib}/Braintree/PayPalAccountGateway.php +0 -0
  144. {lib → vendor/braintree/braintree_php/lib}/Braintree/PaymentInstrumentType.php +0 -0
  145. {lib → vendor/braintree/braintree_php/lib}/Braintree/PaymentMethod.php +0 -0
  146. {lib → vendor/braintree/braintree_php/lib}/Braintree/PaymentMethodGateway.php +12 -6
  147. {lib → vendor/braintree/braintree_php/lib}/Braintree/PaymentMethodNonce.php +4 -0
  148. {lib → vendor/braintree/braintree_php/lib}/Braintree/PaymentMethodNonceGateway.php +0 -0
  149. {lib → vendor/braintree/braintree_php/lib}/Braintree/Plan.php +0 -0
  150. {lib → vendor/braintree/braintree_php/lib}/Braintree/PlanGateway.php +0 -0
  151. {lib → vendor/braintree/braintree_php/lib}/Braintree/RangeNode.php +0 -0
  152. {lib → vendor/braintree/braintree_php/lib}/Braintree/ResourceCollection.php +0 -0
  153. {lib → vendor/braintree/braintree_php/lib}/Braintree/Result/CreditCardVerification.php +0 -0
  154. {lib → vendor/braintree/braintree_php/lib}/Braintree/Result/Error.php +0 -0
  155. {lib → vendor/braintree/braintree_php/lib}/Braintree/Result/Successful.php +0 -0
  156. vendor/braintree/braintree_php/lib/Braintree/Result/UsBankAccountVerification.php +112 -0
  157. {lib → vendor/braintree/braintree_php/lib}/Braintree/RiskData.php +0 -0
  158. {lib → vendor/braintree/braintree_php/lib}/Braintree/SettlementBatchSummary.php +0 -0
  159. {lib → vendor/braintree/braintree_php/lib}/Braintree/SettlementBatchSummaryGateway.php +0 -0
  160. {lib → vendor/braintree/braintree_php/lib}/Braintree/SignatureService.php +0 -0
  161. {lib → vendor/braintree/braintree_php/lib}/Braintree/Subscription.php +5 -1
  162. {lib → vendor/braintree/braintree_php/lib}/Braintree/Subscription/StatusDetails.php +0 -0
  163. {lib → vendor/braintree/braintree_php/lib}/Braintree/SubscriptionGateway.php +12 -3
  164. {lib → vendor/braintree/braintree_php/lib}/Braintree/SubscriptionSearch.php +0 -0
  165. {lib → vendor/braintree/braintree_php/lib}/Braintree/Test/CreditCardNumbers.php +0 -0
  166. {lib → vendor/braintree/braintree_php/lib}/Braintree/Test/MerchantAccount.php +0 -0
  167. {lib → vendor/braintree/braintree_php/lib}/Braintree/Test/Nonces.php +0 -0
  168. {lib → vendor/braintree/braintree_php/lib}/Braintree/Test/Transaction.php +0 -0
  169. {lib → vendor/braintree/braintree_php/lib}/Braintree/Test/TransactionAmounts.php +0 -0
  170. {lib → vendor/braintree/braintree_php/lib}/Braintree/Test/VenmoSdk.php +0 -0
  171. {lib → vendor/braintree/braintree_php/lib}/Braintree/TestingGateway.php +0 -0
  172. {lib → vendor/braintree/braintree_php/lib}/Braintree/TextNode.php +0 -0
  173. {lib → vendor/braintree/braintree_php/lib}/Braintree/ThreeDSecureInfo.php +0 -0
  174. {lib → vendor/braintree/braintree_php/lib}/Braintree/Transaction.php +5 -8
  175. {lib → vendor/braintree/braintree_php/lib}/Braintree/Transaction/AddressDetails.php +0 -0
  176. {lib → vendor/braintree/braintree_php/lib}/Braintree/Transaction/AmexExpressCheckoutCardDetails.php +0 -0
  177. {lib → vendor/braintree/braintree_php/lib}/Braintree/Transaction/AndroidPayCardDetails.php +0 -0
  178. {lib → vendor/braintree/braintree_php/lib}/Braintree/Transaction/ApplePayCardDetails.php +0 -0
  179. {lib → vendor/braintree/braintree_php/lib}/Braintree/Transaction/CoinbaseDetails.php +0 -0
  180. {lib → vendor/braintree/braintree_php/lib}/Braintree/Transaction/CreditCardDetails.php +1 -0
  181. {lib → vendor/braintree/braintree_php/lib}/Braintree/Transaction/CustomerDetails.php +0 -0
  182. {lib → vendor/braintree/braintree_php/lib}/Braintree/Transaction/EuropeBankAccountDetails.php +0 -0
  183. {lib → vendor/braintree/braintree_php/lib}/Braintree/Transaction/IdealPaymentDetails.php +0 -0
  184. vendor/braintree/braintree_php/lib/Braintree/Transaction/LineItem.php +4 -0
  185. {lib → vendor/braintree/braintree_php/lib}/Braintree/Transaction/MasterpassCardDetails.php +0 -0
  186. {lib → vendor/braintree/braintree_php/lib}/Braintree/Transaction/PayPalDetails.php +0 -0
  187. {lib → vendor/braintree/braintree_php/lib}/Braintree/Transaction/StatusDetails.php +5 -5
  188. {lib → vendor/braintree/braintree_php/lib}/Braintree/Transaction/SubscriptionDetails.php +0 -0
  189. {lib → vendor/braintree/braintree_php/lib}/Braintree/Transaction/UsBankAccountDetails.php +0 -0
  190. {lib → vendor/braintree/braintree_php/lib}/Braintree/Transaction/VenmoAccountDetails.php +0 -0
  191. {lib → vendor/braintree/braintree_php/lib}/Braintree/Transaction/VisaCheckoutCardDetails.php +0 -0
  192. {lib → vendor/braintree/braintree_php/lib}/Braintree/TransactionGateway.php +22 -6
  193. vendor/braintree/braintree_php/lib/Braintree/TransactionLineItem.php +54 -0
  194. vendor/braintree/braintree_php/lib/Braintree/TransactionLineItemGateway.php +67 -0
  195. {lib → vendor/braintree/braintree_php/lib}/Braintree/TransactionSearch.php +0 -0
  196. {lib → vendor/braintree/braintree_php/lib}/Braintree/TransparentRedirect.php +0 -0
  197. {lib → vendor/braintree/braintree_php/lib}/Braintree/TransparentRedirectGateway.php +0 -0
  198. {lib → vendor/braintree/braintree_php/lib}/Braintree/UnknownPaymentMethod.php +0 -0
  199. {lib → vendor/braintree/braintree_php/lib}/Braintree/UsBankAccount.php +22 -0
  200. {lib → vendor/braintree/braintree_php/lib}/Braintree/UsBankAccountGateway.php +0 -0
  201. vendor/braintree/braintree_php/lib/Braintree/UsBankAccountVerification.php +102 -0
  202. vendor/braintree/braintree_php/lib/Braintree/UsBankAccountVerificationGateway.php +129 -0
  203. vendor/braintree/braintree_php/lib/Braintree/UsBankAccountVerificationSearch.php +64 -0
  204. {lib → vendor/braintree/braintree_php/lib}/Braintree/Util.php +5 -4
  205. {lib → vendor/braintree/braintree_php/lib}/Braintree/VenmoAccount.php +0 -0
  206. {lib → vendor/braintree/braintree_php/lib}/Braintree/Version.php +1 -1
  207. {lib → vendor/braintree/braintree_php/lib}/Braintree/VisaCheckoutCard.php +1 -1
  208. {lib → vendor/braintree/braintree_php/lib}/Braintree/WebhookNotification.php +14 -0
  209. {lib → vendor/braintree/braintree_php/lib}/Braintree/WebhookNotificationGateway.php +12 -4
  210. vendor/braintree/braintree_php/lib/Braintree/WebhookTesting.php +11 -0
  211. lib/Braintree/WebhookTesting.php → vendor/braintree/braintree_php/lib/Braintree/WebhookTestingGateway.php +63 -6
  212. {lib → vendor/braintree/braintree_php/lib}/Braintree/Xml.php +0 -0
  213. {lib → vendor/braintree/braintree_php/lib}/Braintree/Xml/Generator.php +0 -0
  214. {lib → vendor/braintree/braintree_php/lib}/Braintree/Xml/Parser.php +0 -0
  215. {lib → vendor/braintree/braintree_php/lib}/autoload.php +0 -0
  216. vendor/braintree/braintree_php/lib/ssl/api_braintreegateway_com.ca.crt +241 -0
  217. vendor/braintree/braintree_php/phpunit.xml.dist +24 -0
  218. vendor/composer/ClassLoader.php +445 -0
  219. vendor/composer/LICENSE +21 -0
  220. vendor/composer/autoload_classmap.php +9 -0
  221. vendor/composer/autoload_namespaces.php +10 -0
  222. vendor/composer/autoload_psr4.php +10 -0
  223. vendor/composer/autoload_real.php +52 -0
  224. vendor/composer/autoload_static.php +42 -0
  225. vendor/composer/installed.json +51 -0
  226. woocommerce-gateway-paypal-powered-by-braintree.php +5 -3
DEVELOPER.md ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # DEVELOPER.md
2
+
3
+ ## Test cases
4
+
5
+ * Complete a purchase for a simple product using the Credit Card subflow
6
+ * Complete a purchase for a simple product using the PayPal subflow
7
+
8
+ * Complete a purchase for a simple subscription using the Credit Card subflow
9
+ * Using WCS_DEBUG and Tools > Scheduled Actions, run woocommerce_scheduled_subscription_payment for that subscription
10
+
11
+ * Complete a purchase for a simple subscription using the PayPal subflow
12
+ * Using WCS_DEBUG and Tools > Scheduled Actions, run woocommerce_scheduled_subscription_payment for that subscription
13
+
14
+ ## Checkout Form Logic
15
+
16
+ * Since the payment methods can be refreshed as the user enters their billing and
17
+ shipping information, the extension's `script.js` periodically checks the state of the
18
+ form ( using `wcCheckPaypalBraintree` ) and loads ( `wcLoadPaypalBraintree` ) and
19
+ unloads ( `wcUnloadPaypalBraintree` ) PayPal Braintree as necessary.
20
+
21
+ ### Hosted Fields Flow
22
+
23
+ * The credit card number, CVV and expiration date fields on the checkout form are emitted as
24
+ simple DIVs by WC_Gateway_Paypal_Braintree::payment_fields, and then the extension's `script.js`
25
+ wcLoadPaypalBraintree function calls `braintree.js` braintree.setup to take them over.
26
+
27
+ * braintree.setup replaces each of those three fields with a "hosted" iframe served by
28
+ braintreegateway.com - this means that the credit card number, CVV and expiration date entries
29
+ cannot be seen by the merchant's site's javascript and thus supports PCI compliance.
30
+
31
+ * When the user clicks the **Place Order** button on the checkout form, `braintree.js` intercepts
32
+ the click and requests a nonce (basically a payment token) for the credit card data the
33
+ user has entered. We detect that click as well and interrupt the form submittal that
34
+ would happen. Then, when the nonce request returns from Braintree, the nonce is saved
35
+ in a form hidden field ( `#paypalbraintree_nonce` ) and we submit the form.
36
+
37
+ ### PayPal Button on Checkout Form (Checkout with PayPal) Flow
38
+
39
+ * If the customer would rather not enter their credit card, exp and CVV values, a PayPal
40
+ button is also injected into the form by `braintree.js`
41
+ * When the user clicks on the **PayPal** button on the checkout form, `braintree.js` intercepts
42
+ the click and displays a modal for the customer to sign in to PayPal to complete their payment. When
43
+ the customer completes sign in, a nonce is saved in a form hidden field ( `#paypalbraintree_nonce` )
44
+ and we submit the form.
45
+ * **NOTE: The currencies supported for Checkout with PayPal are limited compared to the Hosted Fields
46
+ flow. See https://developers.braintreepayments.com/guides/paypal/checkout-with-paypal/javascript/v2#currency-support **
47
+
48
+ ## Debugging
49
+
50
+ ### Checkout with PayPal Button Style Problems
51
+
52
+ * Unlike the hosted fields, the PayPal Button can pick up styles from the theme. The extension's
53
+ `styles.css` resets a few that Storefront was setting, in the context of the PayPal button, but
54
+ other themes may need additional styles to be reset.
55
+
56
+ ### Errors during the PayPal Button on Checkout Form Flow
57
+
58
+ * If you get a 'Sorry we cannot connect to PayPal. Please try again in a few minutes. Try Again?' message
59
+ after clicking on the PayPal Button and signing in, open the Network tab in the browser's Developer Tools
60
+ and then click 'Try Again?' You will see a more detailed error message in the response to the GET request
61
+ there.
62
+
assets/css/frontend/wc-braintree.min.css CHANGED
@@ -1,189 +1 @@
1
- /*
2
- WooCommerce Braintree SCSS
3
- Version 2.0.0
4
-
5
- Copyright (c) 2016-2018, Automattic, Inc.
6
- Licensed under the GNU General Public License v3.0
7
- http://www.gnu.org/licenses/gpl-3.0.html
8
- */
9
- .woocommerce #wc_braintree_paypal_container button,
10
- .woocommerce #wc_braintree_paypal_container #braintree-paypal-button {
11
- box-shadow: none;
12
- margin-bottom: 10px;
13
- background: none;
14
- border: none; }
15
-
16
- .woocommerce #wc_braintree_paypal_container img {
17
- float: none !important;
18
- max-height: 100% !important; }
19
-
20
- .woocommerce #wc_braintree_paypal_container .wc-braintree-paypal-account {
21
- padding: 1em 0;
22
- border-top: 1px solid #bbb;
23
- border-bottom: 1px solid #bbb; }
24
- .woocommerce #wc_braintree_paypal_container .wc-braintree-paypal-account .name {
25
- display: inline-block;
26
- margin-right: 0.5em;
27
- font-weight: bold; }
28
- .woocommerce #wc_braintree_paypal_container .wc-braintree-paypal-account .email {
29
- opacity: 0.5; }
30
- .woocommerce #wc_braintree_paypal_container .wc-braintree-paypal-account .cancel {
31
- float: right; }
32
-
33
- .woocommerce #payment div.payment_method_braintree_credit_card label.sv-wc-payment-gateway-payment-form-saved-payment-method,
34
- .woocommerce #payment div.payment_method_braintree_credit_card label[for="wc-braintree-credit-card-use-new-payment-method"],
35
- .woocommerce #payment div.payment_method_braintree_credit_card label[for="wc-braintree-paypal-use-new-payment-method"],
36
- .woocommerce #payment div.payment_method_braintree_paypal label.sv-wc-payment-gateway-payment-form-saved-payment-method,
37
- .woocommerce #payment div.payment_method_braintree_paypal label[for="wc-braintree-credit-card-use-new-payment-method"],
38
- .woocommerce #payment div.payment_method_braintree_paypal label[for="wc-braintree-paypal-use-new-payment-method"] {
39
- margin-left: 3px; }
40
-
41
- .woocommerce #payment div.payment_method_braintree_credit_card iframe {
42
- margin: 0 0 0 6px; }
43
-
44
- .woocommerce #payment div.payment_method_braintree_credit_card div.form-row {
45
- padding: 3px; }
46
-
47
- .woocommerce #payment div.payment_method_braintree_credit_card .wc-braintree-hosted-field {
48
- height: 3em;
49
- padding: 3px;
50
- border: 1px solid #ccc;
51
- border-radius: 3px;
52
- transition: border-color 160ms;
53
- -webkit-transition: border-color 160ms;
54
- background-color: white; }
55
-
56
- .woocommerce #payment div.payment_method_braintree_credit_card .wc-braintree-hosted-field-card-number {
57
- background-image: url("../../../lib/skyverge/woocommerce/payment-gateway/assets/images/card-cc-plain.svg");
58
- background-repeat: no-repeat;
59
- background-position: 99%;
60
- background-size: 50px 31px; }
61
- .woocommerce #payment div.payment_method_braintree_credit_card .wc-braintree-hosted-field-card-number.card-type-visa {
62
- background-image: url("../../../lib/skyverge/woocommerce/payment-gateway/assets/images/card-visa.svg"); }
63
- .woocommerce #payment div.payment_method_braintree_credit_card .wc-braintree-hosted-field-card-number.card-type-master-card {
64
- background-image: url("../../../lib/skyverge/woocommerce/payment-gateway/assets/images/card-mastercard.svg"); }
65
- .woocommerce #payment div.payment_method_braintree_credit_card .wc-braintree-hosted-field-card-number.card-type-american-express {
66
- background-image: url("../../../lib/skyverge/woocommerce/payment-gateway/assets/images/card-amex.svg"); }
67
- .woocommerce #payment div.payment_method_braintree_credit_card .wc-braintree-hosted-field-card-number.card-type-diners-club {
68
- background-image: url("../../../lib/skyverge/woocommerce/payment-gateway/assets/images/card-dinersclub.svg"); }
69
- .woocommerce #payment div.payment_method_braintree_credit_card .wc-braintree-hosted-field-card-number.card-type-maestro {
70
- background-image: url("../../../lib/skyverge/woocommerce/payment-gateway/assets/images/card-maestro.svg"); }
71
- .woocommerce #payment div.payment_method_braintree_credit_card .wc-braintree-hosted-field-card-number.card-type-jcb {
72
- background-image: url("../../../lib/skyverge/woocommerce/payment-gateway/assets/images/card-jcb.svg"); }
73
- .woocommerce #payment div.payment_method_braintree_credit_card .wc-braintree-hosted-field-card-number.card-type-discover {
74
- background-image: url("../../../lib/skyverge/woocommerce/payment-gateway/assets/images/card-discover.svg"); }
75
- .woocommerce #payment div.payment_method_braintree_credit_card .wc-braintree-hosted-field-card-number.card-type-invalid {
76
- background-image: url("../../../lib/skyverge/woocommerce/payment-gateway/assets/images/card-cc-invalid.svg"); }
77
- @media only screen and (max-width: 320px) {
78
- .woocommerce #payment div.payment_method_braintree_credit_card .wc-braintree-hosted-field-card-number {
79
- background-image: none; } }
80
-
81
- .woocommerce #payment div.payment_method_braintree_credit_card .braintree-hosted-fields-focused {
82
- box-shadow: 0 0 .1875em #3498db; }
83
- .woocommerce #payment div.payment_method_braintree_credit_card .braintree-hosted-fields-focused.braintree-hosted-fields-valid {
84
- box-shadow: 0 0 .1875em #69bf29; }
85
- .woocommerce #payment div.payment_method_braintree_credit_card .braintree-hosted-fields-focused.braintree-hosted-fields-invalid {
86
- box-shadow: 0 0 .1875em #69bf29; }
87
-
88
- .woocommerce #payment div.payment_method_braintree_credit_card .braintree-hosted-fields-valid {
89
- border-color: #69bf29; }
90
-
91
- .woocommerce #payment div.payment_method_braintree_credit_card .braintree-hosted-fields-invalid {
92
- border-color: #a00; }
93
-
94
- #wc-braintree-credit-card-3dsecure-container {
95
- display: none;
96
- position: fixed;
97
- top: 0;
98
- left: 0;
99
- bottom: 0;
100
- right: 0;
101
- background: rgba(0, 0, 0, 0.7);
102
- z-index: 3000;
103
- cursor: pointer; }
104
- #wc-braintree-credit-card-3dsecure-container iframe {
105
- overflow: auto;
106
- margin: auto;
107
- position: absolute;
108
- top: 0;
109
- left: 0;
110
- bottom: 0;
111
- right: 0;
112
- background: white;
113
- padding: 1em;
114
- box-sizing: content-box;
115
- border-radius: 5px; }
116
-
117
- #add_payment_method ul.payment_methods li {
118
- list-style-type: none; }
119
- #add_payment_method ul.payment_methods li label[for="payment_method_braintree_credit_card"],
120
- #add_payment_method ul.payment_methods li label[for="payment_method_braintree_paypal"] {
121
- line-height: 2.3em; }
122
- #add_payment_method ul.payment_methods li input[type="radio"]#payment_method_braintree_credit_card,
123
- #add_payment_method ul.payment_methods li input[type="radio"]#payment_method_braintree_paypal {
124
- margin-left: 5px; }
125
- #add_payment_method ul.payment_methods li img {
126
- vertical-align: middle;
127
- margin: 3px 0 0 .5em;
128
- padding: 0;
129
- position: relative;
130
- box-shadow: none; }
131
- #add_payment_method ul.payment_methods li img + img {
132
- margin-left: 2px; }
133
- #add_payment_method ul.payment_methods li #braintree-paypal-loggedout img {
134
- max-height: none;
135
- margin: 0; }
136
-
137
- .sv-wc-payment-gateway-my-payment-methods-table-title {
138
- clear: both;
139
- margin: 1.5em 0; }
140
- .sv-wc-payment-gateway-my-payment-methods-table-title h2 {
141
- display: inline; }
142
- .sv-wc-payment-gateway-my-payment-methods-table-title a.button {
143
- float: right;
144
- line-height: 1.5;
145
- padding-left: .8em;
146
- padding-right: .8em; }
147
- .sv-wc-payment-gateway-my-payment-methods-table-title a.button:before {
148
- margin-right: 5px; }
149
-
150
- table.sv-wc-payment-gateway-my-payment-methods-table {
151
- font-size: 0.85em; }
152
- table.sv-wc-payment-gateway-my-payment-methods-table th, table.sv-wc-payment-gateway-my-payment-methods-table td {
153
- vertical-align: middle; }
154
- table.sv-wc-payment-gateway-my-payment-methods-table .button {
155
- white-space: nowrap; }
156
- table.sv-wc-payment-gateway-my-payment-methods-table .sv-wc-payment-gateway-payment-method-title img {
157
- width: 40px;
158
- height: 25px;
159
- vertical-align: middle;
160
- margin: 0;
161
- display: inline !important; }
162
- table.sv-wc-payment-gateway-my-payment-methods-table td.sv-wc-payment-gateway-payment-method-actions {
163
- text-align: right; }
164
- table.sv-wc-payment-gateway-my-payment-methods-table td.sv-wc-payment-gateway-payment-method-actions .button {
165
- margin: .125em 0 .125em .25em; }
166
- table.sv-wc-payment-gateway-my-payment-methods-table tr.sv-wc-payment-gateway-my-payment-methods-type-divider td {
167
- font-weight: 700; }
168
-
169
- @media screen and (min-width: 768px) {
170
- table.sv-wc-payment-gateway-my-payment-methods-table .wc-braintree-payment-method-icon {
171
- width: 60px;
172
- padding: 0 0 0 0.7415em; }
173
- table.sv-wc-payment-gateway-my-payment-methods-table th.wc-braintree-payment-method-icon span {
174
- display: none; }
175
- table.sv-wc-payment-gateway-my-payment-methods-table .wc-braintree-payment-method-title {
176
- padding-left: 0; } }
177
-
178
- @media screen and (max-width: 768px) {
179
- table.sv-wc-payment-gateway-my-payment-methods-table td.wc-braintree-payment-method-icon img {
180
- float: right; }
181
- table.sv-wc-payment-gateway-my-payment-methods-table td.sv-wc-payment-gateway-payment-method-actions {
182
- text-align: left; }
183
- table.sv-wc-payment-gateway-my-payment-methods-table td.sv-wc-payment-gateway-payment-method-actions:before {
184
- display: none; }
185
- table.sv-wc-payment-gateway-my-payment-methods-table td.sv-wc-payment-gateway-payment-method-actions .button {
186
- float: none;
187
- margin: .125em .25em .125em 0; }
188
- table.sv-wc-payment-gateway-my-payment-methods-table tr.sv-wc-payment-gateway-my-payment-methods-type-divider td:before {
189
- display: none; } }
1
+ .woocommerce #wc_braintree_paypal_container #braintree-paypal-button,.woocommerce #wc_braintree_paypal_container button{box-shadow:none;margin-bottom:10px;background:none;border:none}.woocommerce #wc_braintree_paypal_container img{float:none!important;max-height:100%!important}.woocommerce #wc_braintree_paypal_container .wc-braintree-paypal-account{padding:1em 0;border-top:1px solid #bbb;border-bottom:1px solid #bbb}.woocommerce #wc_braintree_paypal_container .wc-braintree-paypal-account .name{display:inline-block;margin-right:.5em;font-weight:700}.woocommerce #wc_braintree_paypal_container .wc-braintree-paypal-account .email{opacity:.5}.woocommerce #wc_braintree_paypal_container .wc-braintree-paypal-account .cancel{float:right}.woocommerce #payment div.payment_method_braintree_credit_card label.sv-wc-payment-gateway-payment-form-saved-payment-method,.woocommerce #payment div.payment_method_braintree_credit_card label[for=wc-braintree-credit-card-use-new-payment-method],.woocommerce #payment div.payment_method_braintree_credit_card label[for=wc-braintree-paypal-use-new-payment-method],.woocommerce #payment div.payment_method_braintree_paypal label.sv-wc-payment-gateway-payment-form-saved-payment-method,.woocommerce #payment div.payment_method_braintree_paypal label[for=wc-braintree-credit-card-use-new-payment-method],.woocommerce #payment div.payment_method_braintree_paypal label[for=wc-braintree-paypal-use-new-payment-method]{margin-left:3px}.woocommerce #payment div.payment_method_braintree_credit_card iframe{margin:0 0 0 6px}.woocommerce #payment div.payment_method_braintree_credit_card div.form-row{padding:3px}.woocommerce #payment div.payment_method_braintree_credit_card .wc-braintree-hosted-field{height:3em;padding:3px;border:1px solid #ccc;border-radius:3px;transition:border-color .16s;-webkit-transition:border-color .16s;background-color:#fff}.woocommerce #payment div.payment_method_braintree_credit_card .wc-braintree-hosted-field-card-number{background-image:url(../../../lib/skyverge/woocommerce/payment-gateway/assets/images/card-cc-plain.svg);background-repeat:no-repeat;background-position:99%;background-size:50px 31px}.woocommerce #payment div.payment_method_braintree_credit_card .wc-braintree-hosted-field-card-number.card-type-visa{background-image:url(../../../lib/skyverge/woocommerce/payment-gateway/assets/images/card-visa.svg)}.woocommerce #payment div.payment_method_braintree_credit_card .wc-braintree-hosted-field-card-number.card-type-master-card{background-image:url(../../../lib/skyverge/woocommerce/payment-gateway/assets/images/card-mastercard.svg)}.woocommerce #payment div.payment_method_braintree_credit_card .wc-braintree-hosted-field-card-number.card-type-american-express{background-image:url(../../../lib/skyverge/woocommerce/payment-gateway/assets/images/card-amex.svg)}.woocommerce #payment div.payment_method_braintree_credit_card .wc-braintree-hosted-field-card-number.card-type-diners-club{background-image:url(../../../lib/skyverge/woocommerce/payment-gateway/assets/images/card-dinersclub.svg)}.woocommerce #payment div.payment_method_braintree_credit_card .wc-braintree-hosted-field-card-number.card-type-maestro{background-image:url(../../../lib/skyverge/woocommerce/payment-gateway/assets/images/card-maestro.svg)}.woocommerce #payment div.payment_method_braintree_credit_card .wc-braintree-hosted-field-card-number.card-type-jcb{background-image:url(../../../lib/skyverge/woocommerce/payment-gateway/assets/images/card-jcb.svg)}.woocommerce #payment div.payment_method_braintree_credit_card .wc-braintree-hosted-field-card-number.card-type-discover{background-image:url(../../../lib/skyverge/woocommerce/payment-gateway/assets/images/card-discover.svg)}.woocommerce #payment div.payment_method_braintree_credit_card .wc-braintree-hosted-field-card-number.card-type-invalid{background-image:url(../../../lib/skyverge/woocommerce/payment-gateway/assets/images/card-cc-invalid.svg)}@media only screen and (max-width:320px){.woocommerce #payment div.payment_method_braintree_credit_card .wc-braintree-hosted-field-card-number{background-image:none}}.woocommerce #payment div.payment_method_braintree_credit_card .braintree-hosted-fields-focused{box-shadow:0 0 .1875em #3498db}.woocommerce #payment div.payment_method_braintree_credit_card .braintree-hosted-fields-focused.braintree-hosted-fields-invalid,.woocommerce #payment div.payment_method_braintree_credit_card .braintree-hosted-fields-focused.braintree-hosted-fields-valid{box-shadow:0 0 .1875em #69bf29}.woocommerce #payment div.payment_method_braintree_credit_card .braintree-hosted-fields-valid{border-color:#69bf29}.woocommerce #payment div.payment_method_braintree_credit_card .braintree-hosted-fields-invalid{border-color:#a00}#wc-braintree-credit-card-3dsecure-container{display:none;position:fixed;top:0;left:0;bottom:0;right:0;background:rgba(0,0,0,.7);z-index:3000;cursor:pointer}#wc-braintree-credit-card-3dsecure-container iframe{overflow:auto;margin:auto;position:absolute;top:0;left:0;bottom:0;right:0;background:#fff;padding:1em;box-sizing:content-box;border-radius:5px}#add_payment_method ul.payment_methods li{list-style-type:none}#add_payment_method ul.payment_methods li label[for=payment_method_braintree_credit_card],#add_payment_method ul.payment_methods li label[for=payment_method_braintree_paypal]{line-height:2.3em}#add_payment_method ul.payment_methods li input[type=radio]#payment_method_braintree_credit_card,#add_payment_method ul.payment_methods li input[type=radio]#payment_method_braintree_paypal{margin-left:5px}#add_payment_method ul.payment_methods li img{vertical-align:middle;margin:3px 0 0 .5em;padding:0;position:relative;box-shadow:none}#add_payment_method ul.payment_methods li img+img{margin-left:2px}#add_payment_method ul.payment_methods li #braintree-paypal-loggedout img{max-height:none;margin:0}.sv-wc-payment-gateway-my-payment-methods-table-title{clear:both;margin:1.5em 0}.sv-wc-payment-gateway-my-payment-methods-table-title h2{display:inline}.sv-wc-payment-gateway-my-payment-methods-table-title a.button{float:right;line-height:1.5;padding-left:.8em;padding-right:.8em}.sv-wc-payment-gateway-my-payment-methods-table-title a.button:before{margin-right:5px}table.sv-wc-payment-gateway-my-payment-methods-table{font-size:.85em}table.sv-wc-payment-gateway-my-payment-methods-table td,table.sv-wc-payment-gateway-my-payment-methods-table th{vertical-align:middle}table.sv-wc-payment-gateway-my-payment-methods-table .button{white-space:nowrap}table.sv-wc-payment-gateway-my-payment-methods-table .sv-wc-payment-gateway-payment-method-title img{width:40px;height:25px;vertical-align:middle;margin:0;display:inline!important}table.sv-wc-payment-gateway-my-payment-methods-table td.sv-wc-payment-gateway-payment-method-actions{text-align:right}table.sv-wc-payment-gateway-my-payment-methods-table td.sv-wc-payment-gateway-payment-method-actions .button{margin:.125em 0 .125em .25em}table.sv-wc-payment-gateway-my-payment-methods-table tr.sv-wc-payment-gateway-my-payment-methods-type-divider td{font-weight:700}@media screen and (min-width:768px){table.sv-wc-payment-gateway-my-payment-methods-table .wc-braintree-payment-method-icon{width:60px;padding:0 0 0 .7415em}table.sv-wc-payment-gateway-my-payment-methods-table th.wc-braintree-payment-method-icon span{display:none}table.sv-wc-payment-gateway-my-payment-methods-table .wc-braintree-payment-method-title{padding-left:0}}@media screen and (max-width:768px){table.sv-wc-payment-gateway-my-payment-methods-table td.wc-braintree-payment-method-icon img{float:right}table.sv-wc-payment-gateway-my-payment-methods-table td.sv-wc-payment-gateway-payment-method-actions{text-align:left}table.sv-wc-payment-gateway-my-payment-methods-table td.sv-wc-payment-gateway-payment-method-actions:before{display:none}table.sv-wc-payment-gateway-my-payment-methods-table td.sv-wc-payment-gateway-payment-method-actions .button{float:none;margin:.125em .25em .125em 0}table.sv-wc-payment-gateway-my-payment-methods-table tr.sv-wc-payment-gateway-my-payment-methods-type-divider td:before{display:none}}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
assets/images/button/connect-braintree.png CHANGED
File without changes
assets/images/button/connect-braintree@2x.png CHANGED
File without changes
assets/images/button/connect-braintree@3x.png CHANGED
File without changes
assets/js/frontend/wc-braintree.min.js CHANGED
@@ -1 +1 @@
1
- (function(){var a=function(a,b){return function(){return a.apply(b,arguments)}},b=function(a,b){function d(){this.constructor=a}for(var e in b)c.call(b,e)&&(a[e]=b[e]);return d.prototype=b.prototype,a.prototype=new d,a.__super__=b.prototype,a},c={}.hasOwnProperty,d=[].indexOf||function(a){for(var b=0,c=this.length;b<c;b++)if(b in this&&this[b]===a)return b;return-1};jQuery(document).ready(function(c){"use strict";return window.WC_Braintree_Payment_Form_Handler=function(){function b(b){if(this.hide_integration_ui=a(this.hide_integration_ui,this),this.show_integration_ui=a(this.show_integration_ui,this),this.id=b.id,this.id_dasherized=b.id_dasherized,this.type=b.type,this.debug=b.debug,this.client_token_nonce=b.client_token_nonce,this.params=window.wc_braintree_params,!this.is_sdk_ready())return console.error("Braintree SDK is missing.");this.init()}return b.prototype.init=function(){return c("form.checkout").length?this.handle_checkout_page():c("form#order_review").length?this.handle_pay_page():c("form#add_payment_method").length?this.handle_add_payment_method_page():void 0},b.prototype.handle_checkout_page=function(){return this.form=c("form.checkout"),this.form_ui_selector=".woocommerce-checkout-payment",c(document.body).on("updated_checkout",function(a){return function(){return a.setup_braintree()}}(this)),c(document.body).on("updated_checkout",function(a){return function(){return a.handle_saved_payment_methods()}}(this)),c(document.body).on("checkout_error",function(a){return function(){return a.handle_checkout_error()}}(this)),this.form.on("checkout_place_order_"+this.id,function(a){return function(){if(a.is_selected())return a.block_ui(),a.verify_form()}}(this))},b.prototype.handle_checkout_error=function(){return this.unblock_ui()},b.prototype.handle_pay_page=function(){return this.form=c("form#order_review"),this.form_ui_selector="#payment",this.handle_saved_payment_methods(),this.setup_braintree(),this.form.submit(function(a){return function(){if(a.is_selected())return a.block_ui(),a.verify_form()}}(this))},b.prototype.handle_add_payment_method_page=function(){return this.form=c("form#add_payment_method"),this.form_ui_selector="#payment",this.setup_braintree(),this.form.submit(function(a){return function(){if(a.is_selected())return a.block_ui(),a.verify_form()}}(this))},b.prototype.verify_form=function(){return!!this.using_payment_token()||!!this.has_payment_nonce()&&void 0},b.prototype.submit_form=function(a){return c("input[name=wc_"+this.id+"_payment_nonce]").val(a),this.form.submit()},b.prototype.handle_saved_payment_methods=function(){var a;return a=c("div.js-wc-"+this.id_dasherized+"-new-payment-method-form"),c("input.js-wc-"+this.id_dasherized+"-payment-token").change(function(b){return function(){var d;return d=c("input.js-wc-"+b.id_dasherized+"-payment-token:checked").val(),d?a.slideUp(200):a.slideDown(200)}}(this)).change(),c("input#createaccount").change(function(a){return function(b){var d;return d=c("input.js-wc-"+a.id_dasherized+"-tokenize-payment-method").closest("p.form-row"),c(b.target).is(":checked")?(d.slideDown(),d.next().show()):(d.hide(),d.next().hide())}}(this)).change()},b.prototype.setup_braintree=function(){return this.block_ui(),c("input[name=wc_"+this.id+"_payment_nonce]").val(""),null!=this.client?this.setup_integration():this.create_client()},b.prototype.create_client=function(){return this.get_client_token().done(function(a){return function(b){return b.success?braintree.client.create({authorization:b.data}).then(function(b){return a.client=b,a.setup_integration()}).catch(function(b){return a.handle_integration_error(b),a.unblock_ui()}):a.handle_integration_error(b.data)}}(this)).fail(function(a){return function(b,c,d){return a.handle_integration_error({message:"Could not retrieve the client token via AJAX: "+d})}}(this)).always(function(a){return function(){return a.unblock_ui()}}(this))},b.prototype.get_client_token=function(){var a;return this.id+"_client_token_nonce",a={action:"wc_"+this.id+"_get_client_token",nonce:this.client_token_nonce},c.post(this.params.ajax_url,a)},b.prototype.setup_integration=function(){return this.get_integration_class().create(this.get_integration_options()).then(function(a){return function(b){return a.integration=b,a.show_integration_ui(),a.do_integration_ready(),c(document).trigger("wc_"+a.id+"_integration_ready",a.integration)}}(this),function(a){return function(b){return a.handle_integration_error(b),a.unblock_ui()}}(this))},b.prototype.refresh_braintree=function(){if(null!=this.integration)return this.block_ui(),this.integration.teardown(function(a){return function(){return a.integration=null,a.setup_braintree()}}(this))},b.prototype.teardown_braintree=function(){if(null!=this.integration)return this.block_ui(),this.integration.teardown(function(a){return function(){return a.integration=null,a.unblock_ui()}}(this))},b.prototype.do_integration_ready=function(){},b.prototype.get_integration_options=function(){return{client:this.client}},b.prototype.get_integration_class=function(){},b.prototype.handle_integration_error=function(a){return this.log("Integration error: "+a.message,a),this.hide_integration_ui(),this.unblock_ui()},b.prototype.handle_payment_error=function(a){return this.log("Payment error: "+a.message,a),this.render_error(this.get_user_message(a)),this.unblock_ui()},b.prototype.render_error=function(a){return c(".woocommerce-error, .woocommerce-message").remove(),this.form.prepend('<div class="woocommerce-error">'+a+"</div>").removeClass("processing").unblock(),c("html, body").animate({scrollTop:this.form.offset().top-100},1e3),c("input[name=wc_"+this.id+"_payment_nonce]").val(""),this.form.trigger("wc_"+this.id+"_rendered_error"),this.unblock_ui()},b.prototype.get_user_message=function(a){return this.params.payment_error_message},b.prototype.show_integration_ui=function(){if(c("div.js-wc-"+this.id_dasherized+"-new-payment-method-form").find(".woocommerce-error").remove(),c("input#createaccount").length&&c("input#createaccount").is(":checked"))return c("div.js-wc-"+this.id_dasherized+"-new-payment-method-form").find(".form-row").show()},b.prototype.hide_integration_ui=function(){return c("div.js-wc-"+this.id_dasherized+"-new-payment-method-form").prepend('<div class="woocommerce-error">'+this.params.integration_error_message+"</div>"),c("div.js-wc-"+this.id_dasherized+"-new-payment-method-form").find(".form-row").hide()},b.prototype.block_ui=function(){return c(this.form_ui_selector).block({message:null,overlayCSS:{background:"#fff",opacity:.6}})},b.prototype.unblock_ui=function(){return c(this.form_ui_selector).unblock()},b.prototype.is_selected=function(){return this.get_selected_gateway_id()===this.id},b.prototype.is_sdk_ready=function(){return"undefined"!=typeof braintree&&null!==braintree&&null!=braintree.client&&null!=this.get_integration_class()},b.prototype.has_payment_nonce=function(){return this.form.find("input[name=wc_"+this.id+"_payment_nonce]").val()},b.prototype.using_payment_token=function(){return this.form.find("input.js-wc-"+this.id_dasherized+"-payment-token:checked").val()},b.prototype.get_selected_gateway_id=function(){return this.form.find("input[name=payment_method]:checked").val()},b.prototype.log=function(a,b){if(this.debug)return console.log("[Braintree] "+a),console.log(b)},b}(),window.WC_Braintree_Credit_Card_Payment_Form_Handler=function(e){function f(b){this.hide_integration_ui=a(this.hide_integration_ui,this),this.show_integration_ui=a(this.show_integration_ui,this),this.remove_3ds_ui=a(this.remove_3ds_ui,this),this.add_3ds_ui=a(this.add_3ds_ui,this),this.csc_required=b.csc_required,this.hosted_fields_styles=b.hosted_fields_styles,this.threeds=b.threeds,this.enabled_card_types=b.enabled_card_types,f.__super__.constructor.call(this,b)}return b(f,e),f.prototype.handle_checkout_error=function(){return f.__super__.handle_checkout_error.call(this),c("input[name=wc_"+this.id+"_payment_nonce]").val("")},f.prototype.verify_form=function(){var a;return this.has_payment_nonce()||!this.csc_required&&this.using_payment_token()?(a=c("input.js-wc-braintree-credit-card-payment-token:checked"),this.should_verify_3d_secure_token(a)?(this.verify_3d_secure(a.data("nonce"),a),!1):f.__super__.verify_form.call(this)):(this.tokenize_payment(),!1)},f.prototype.tokenize_payment=function(){return this.integration.tokenize().then(function(a){return function(b){if(a.log("payment method received",b),null!=b.nonce)return a.should_verify_3d_secure(b)?a.verify_3d_secure(b.nonce):a.submit_form(b.nonce)}}(this)).catch(function(a){return function(b){return a.handle_payment_error(b)}}(this))},f.prototype.get_integration_options=function(){var a;return a={client:this.client,fields:{number:{selector:"#wc-braintree-credit-card-account-number-hosted",placeholder:c("#wc-braintree-credit-card-account-number-hosted").data("placeholder")},cvv:{selector:"#wc-braintree-credit-card-csc-hosted",placeholder:c("#wc-braintree-credit-card-csc-hosted").data("placeholder")},expirationDate:{selector:"#wc-braintree-credit-card-expiry-hosted",placeholder:c("#wc-braintree-credit-card-expiry-hosted").data("placeholder")}},styles:this.hosted_fields_styles},this.csc_required&&this.using_payment_token()&&(delete a.fields.number,delete a.fields.expirationDate),this.csc_required||delete a.fields.cvv,a},f.prototype.get_integration_class=function(){return braintree.hostedFields},f.prototype.do_integration_ready=function(){return this.integration.on("cardTypeChange",function(a){return function(b){return a.on_card_type_change(b)}}(this)),!this.csc_required&&c("input.js-wc-braintree-credit-card-payment-token:checked").val()&&this.teardown_braintree(),this.unblock_ui()},f.prototype.handle_saved_payment_methods=function(){var a,b;return f.__super__.handle_saved_payment_methods.call(this),b=c("div.js-wc-braintree-credit-card-new-payment-method-form"),a=c("div.wc-braintree-hosted-field-card-csc-parent"),c("input.js-wc-braintree-credit-card-payment-token").change(function(d){return function(){var e;return e=c("input.js-wc-braintree-credit-card-payment-token:checked").val(),e?d.csc_required&&a.hasClass("form-row-last")?(a.removeClass("form-row-last").addClass("form-row-first"),b.after(a),d.refresh_braintree()):void 0:(d.csc_required&&a.hasClass("form-row-first")&&(a.removeClass("form-row-first").addClass("form-row-last"),b.find("div.wc-braintree-hosted-field-card-expiry-parent").after(a)),d.refresh_braintree())}}(this)).change()},f.prototype.get_user_message=function(a){var b,c,d,e;if(d=[],"CUSTOMER"===a.type)switch(a.code){case"HOSTED_FIELDS_FIELDS_EMPTY":this.csc_required&&d.push(this.params.cvv_missing),this.using_payment_token()||(d.push(this.params.card_number_missing),d.push(this.params.card_exp_date_invalid));break;case"HOSTED_FIELDS_FIELDS_INVALID":if(null!=a.details)for(e=a.details.invalidFieldKeys,b=0,c=e.length;b<c;b++)switch(e[b]){case"number":d.push(this.params.card_number_invalid);break;case"cvv":d.push(this.params.cvv_length_invalid);break;case"expirationDate":d.push(this.params.card_exp_date_invalid)}}return d.length?d.join("<br/>"):f.__super__.get_user_message.call(this)},f.prototype.on_card_type_change=function(a){var b,e,f;if(null!=a.cards)return b=c("#wc-braintree-credit-card-account-number-hosted"),b.attr("class",function(a,b){return b.replace(/(^|\s)card-type-\S+/g,"")}),a.cards.length?1===a.cards.length?(e=a.cards[0],null!=e.type&&(f=e.type,d.call(this.enabled_card_types,f)>=0)?b.addClass("card-type-"+e.type):b.addClass("card-type-invalid")):void 0:b.addClass("card-type-invalid")},f.prototype.is_3d_secure_enabled=function(){return this.threeds.enabled&&null!=braintree.threeDSecure},f.prototype.setup_integration=function(){return this.is_3d_secure_enabled()?braintree.threeDSecure.create({client:this.client}).then(function(a){return function(b){return a.threeDSecure=b,c(document.body).on("click","#wc-braintree-credit-card-3dsecure-container",function(b){return c(b.currentTarget).fadeOut(200),a.threeDSecure.cancelVerifyCard(),a.unblock_ui()}),f.__super__.setup_integration.call(a)}}(this)).catch(function(a){return function(b){return a.handle_integration_error(b)}}(this)):f.__super__.setup_integration.call(this)},f.prototype.should_verify_3d_secure=function(a){var b;return b=a.details.cardType,this.is_3d_secure_enabled()&&"CreditCard"===a.type&&("Visa"===b||"MasterCard"===b)},f.prototype.should_verify_3d_secure_token=function(a){if(a.val()&&a.data("nonce")&&!a.data("verified"))return!0},f.prototype.verify_3d_secure=function(a,b){return null==b&&(b=null),this.threeDSecure.verifyCard({nonce:a,amount:c("input[name=wc_braintree_credit_card_3d_secure_order_total]").val(),addFrame:function(a){return function(b,c){return a.add_3ds_ui(b,c)}}(this),removeFrame:function(a){return function(){return a.remove_3ds_ui()}}(this)}).then(function(a){return function(d){return a.log("3DS response",d),a.threeds.liability_shift_always_required&&!d.liabilityShifted&&a.render_error(a.threeds.failure_message),d.liabilityShiftPossible&&!d.liabilityShifted&&a.render_error(a.threeds.failure_message),null!=b&&b.data("verified",!0),c("input[name=wc_braintree_credit_card_3d_secure_verified]").val(1),a.submit_form(d.nonce)}}(this)).catch(function(a){return function(b){return a.handle_payment_error(b)}}(this))},f.prototype.add_3ds_ui=function(a,b){var d;return a?this.handle_payment_error(a):(d=c("<div>",{id:"wc-"+this.id_dasherized+"-3dsecure-container"}),d.html(b),c(document.body).append(d),d.fadeIn(400))},f.prototype.remove_3ds_ui=function(){return c("#wc-"+this.id_dasherized+"-3dsecure-container").fadeOut(400,function(a){return c(this).remove()})},f.prototype.show_integration_ui=function(){return f.__super__.show_integration_ui.call(this),c(".wc-braintree-hosted-field-parent").show()},f.prototype.hide_integration_ui=function(){return f.__super__.hide_integration_ui.call(this),c(".wc-braintree-hosted-field-parent").hide()},f}(WC_Braintree_Payment_Form_Handler),window.WC_Braintree_PayPal_Payment_Form_Handler=function(d){function e(b){this.get_linked_account_html=a(this.get_linked_account_html,this),this.on_authorize=a(this.on_authorize,this),this.do_integration_ready=a(this.do_integration_ready,this),this.is_test_environment=b.is_test_environment,this.must_login_message=b.must_login_message,this.must_login_add_method_message=b.must_login_add_method_message,this.button_styles=b.button_styles,e.__super__.constructor.call(this,b)}return b(e,d),e.prototype.init=function(){return e.__super__.init.call(this),c("input[name=wc_"+this.id+"_payment_nonce]").val(this.params.cart_payment_nonce),c(document.body).on("click",'input[name="payment_method"], input.js-wc-braintree-paypal-payment-token',function(a){return function(){return!a.is_selected()||a.has_payment_nonce()||a.using_payment_token()?c("#place_order").show():c("#place_order").hide()}}(this)),c(document.body).on("click",".wc-braintree-paypal-account .cancel",function(a){return function(b){return b.preventDefault(),c(b.currentTarget).parent().remove(),a.setup_braintree()}}(this))},e.prototype.verify_form=function(){var a;return a=e.__super__.verify_form.call(this),this.has_payment_nonce()||this.using_payment_token()||this.render_error(this.must_login_message),a},e.prototype.handle_payment_error=function(a){return e.__super__.handle_payment_error.call(this,a),this.params.cart_payment_nonce=!1,this.setup_braintree()},e.prototype.get_integration_class=function(){return braintree.paypalCheckout},e.prototype.setup_braintree=function(){return this.params.cart_payment_nonce?this.unblock_ui():(e.__super__.setup_braintree.call(this),c("input.js-wc-braintree-paypal-tokenize-payment-method").prop("disabled",!1),this.is_selected()?c("#place_order").hide():void 0)},e.prototype.do_integration_ready=function(){var a;return this.params.cart_payment_nonce?this.unblock_ui():(c("#wc_braintree_paypal_container").html(""),a=this.is_single_use()?"checkout":"vault",this.integration.createPayment({flow:a,amount:this.get_order_amount(),currency:this.get_store_currency(),locale:this.get_store_locale()}).then(function(a){return function(b){return a.render_button(b)}}(this)).then(function(a){return function(){return c("#wc_braintree_paypal_container").css({width:"100%"}),a.unblock_ui()}}(this)).catch(function(a){return function(b){return a.handle_integration_error(b),a.unblock_ui()}}(this)))},e.prototype.render_button=function(a){var b;return b={env:this.is_test_environment?"sandbox":"production",commit:this.button_is_pay_now(),style:this.get_button_styles(),payment:function(b){return function(){return a}}(),onAuthorize:function(a){return function(b,c){return a.on_authorize(b,c)}}(this),onCancel:function(a){return function(b){return a.on_cancelled(b)}}(this),onError:function(a){return function(b){return a.handle_integration_error(b)}}(this)},paypal.Button.render(b,"#wc_braintree_paypal_container")},e.prototype.button_is_pay_now=function(){return!c("form#add_payment_method").length},e.prototype.get_button_styles=function(){return this.button_styles},e.prototype.on_authorize=function(a,b){return this.block_ui(),this.integration.tokenizePayment(a).then(function(a){return function(b){return a.log("PayPal method tokenized.",b),a.set_payment_method(b)}}(this)).catch(function(a){return function(b){return a.handle_payment_error(b),a.unblock_ui()}}(this))},e.prototype.set_payment_method=function(a){return c("input[name=wc_"+this.id+"_payment_nonce]").val(a.nonce),c("#wc_braintree_paypal_container").html(this.get_linked_account_html(a.details)),this.is_single_use()&&c("input.js-wc-braintree-paypal-tokenize-payment-method").prop("disabled",!0),c("#place_order").show(),this.form.submit()},e.prototype.on_cancelled=function(a){if(c("input.js-wc-braintree-paypal-tokenize-payment-method").prop("disabled",!1),c("input[name=wc_braintree_paypal_payment_nonce]").val(""),this.is_selected())return c("#place_order").hide()},e.prototype.handle_saved_payment_methods=function(){return e.__super__.handle_saved_payment_methods.call(this),c("input.js-wc-braintree-paypal-tokenize-payment-method").change(function(a){return function(b){if(null!=a.integration&&c(b.target).is(":visible"))return a.block_ui(),a.do_integration_ready()}}(this)).change()},e.prototype.get_linked_account_html=function(a){var b;return b=c("<div class='wc-"+this.id_dasherized+"-account'></div>"),null!=a.firstName&&null!=a.lastName&&b.append("<span class='name'>"+a.firstName+" "+a.lastName+"</span>"),b.append("<span class='email'>"+a.email+"</span>"),b.append("<a href='#' class='cancel'>Cancel</a>"),b},e.prototype.is_single_use=function(){var a;return a=c("input[name=wc-braintree-paypal-tokenize-payment-method]"),0===a.length||("checkbox"===a.attr("type")?!a.is(":checked"):!a.val())},e.prototype.get_order_amount=function(){return c("input[name=wc_braintree_paypal_amount]").val()},e.prototype.get_store_currency=function(){return c("input[name=wc_braintree_paypal_currency]").val()},e.prototype.get_store_locale=function(){return c("input[name=wc_braintree_paypal_locale]").val()},e.prototype.is_sdk_ready=function(){return e.__super__.is_sdk_ready.call(this)&&"undefined"!=typeof paypal&&null!==paypal},e}(WC_Braintree_Payment_Form_Handler),window.WC_Braintree_PayPal_Cart_Handler=function(a){function d(a){d.__super__.constructor.call(this,a),this.form=c("form.woocommerce-cart-form"),this.form_ui_selector="",this.setup_braintree(),c(document.body).on("updated_cart_totals",function(a){return function(){return a.setup_braintree()}}(this))}return b(d,a),d.prototype.button_is_pay_now=function(){return!1},d.prototype.set_payment_method=function(a){if(null!=a.nonce)return a.wp_nonce=this.params.cart_nonce,c.ajax({type:"POST",url:this.params.cart_handler_url,data:a,dataType:"json"}).done(function(a){return function(b){if(a.log("PayPal Cart response",b),null!=b.redirect_url)return window.location=b.redirect_url}}(this)).fail(function(a){return function(b){return a.log("Error setting the PayPal cart data.",b)}}(this)).always(function(a){return function(){return a.unblock_ui()}}(this))},d.prototype.is_single_use=function(){return"1"===c("input[name=wc_braintree_paypal_single_use]").val()},d.prototype.has_payment_nonce=function(){return!1},d}(WC_Braintree_PayPal_Payment_Form_Handler)})}).call(this);
1
+ "use strict";var _get=function e(t,n,r){null===t&&(t=Function.prototype);var i=Object.getOwnPropertyDescriptor(t,n);if(void 0===i){var a=Object.getPrototypeOf(t);return null===a?void 0:e(a,n,r)}if("value"in i)return i.value;var o=i.get;return void 0!==o?o.call(r):void 0},_createClass=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();function _possibleConstructorReturn(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function _inherits(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(function(){var o=[].indexOf,_=function(e,t){if(!(e instanceof t))throw new Error("Bound instance method accessed before binding")};jQuery(document).ready(function(i){var r,a;return window.WC_Braintree_Payment_Form_Handler=function(){function t(e){_classCallCheck(this,t),this.show_integration_ui=this.show_integration_ui.bind(this),this.hide_integration_ui=this.hide_integration_ui.bind(this),this.id=e.id,this.id_dasherized=e.id_dasherized,this.type=e.type,this.debug=e.debug,this.client_token_nonce=e.client_token_nonce,this.params=window.wc_braintree_params}return _createClass(t,[{key:"init",value:function(){return this.is_sdk_ready()?i("form.checkout").length?this.handle_checkout_page():i("form#order_review").length?this.handle_pay_page():i("form#add_payment_method").length?this.handle_add_payment_method_page():void 0:console.error("Braintree SDK is missing.")}},{key:"handle_checkout_page",value:function(){var e=this;return this.form=i("form.checkout"),this.form_ui_selector=".woocommerce-checkout-payment",i(document.body).on("updated_checkout",function(){return e.setup_braintree()}),i(document.body).on("updated_checkout",function(){return e.handle_saved_payment_methods()}),i(document.body).on("checkout_error",function(){return e.handle_checkout_error()}),this.form.on("checkout_place_order_"+this.id,function(){if(e.is_selected())return e.block_ui(),e.verify_form()})}},{key:"handle_checkout_error",value:function(){return this.unblock_ui()}},{key:"handle_pay_page",value:function(){var e=this;return this.form=i("form#order_review"),this.form_ui_selector="#payment",this.handle_saved_payment_methods(),this.setup_braintree(),this.form.submit(function(){if(e.is_selected())return e.block_ui(),e.verify_form()})}},{key:"handle_add_payment_method_page",value:function(){var e=this;return this.form=i("form#add_payment_method"),this.form_ui_selector="#payment",this.setup_braintree(),this.form.submit(function(){if(e.is_selected())return e.block_ui(),e.verify_form()})}},{key:"verify_form",value:function(){return!!this.using_payment_token()||!!this.has_payment_nonce()&&void 0}},{key:"submit_form",value:function(e){return i("input[name=wc_"+this.id+"_payment_nonce]").val(e),this.form.submit()}},{key:"handle_saved_payment_methods",value:function(){var e,n=this;if(e=i("div.js-wc-"+this.id_dasherized+"-new-payment-method-form"),i("input.js-wc-"+this.id_dasherized+"-payment-token").change(function(){return i("input.js-wc-"+n.id_dasherized+"-payment-token:checked").val()?e.slideUp(200):e.slideDown(200)}).change(),i("input#createaccount").change(function(e){var t;return t=i("input.js-wc-"+n.id_dasherized+"-tokenize-payment-method").closest("p.form-row"),i(e.target).is(":checked")?(t.slideDown(),t.next().show()):(t.hide(),t.next().hide())}),!i("input#createaccount").is(":checked"))return i("input#createaccount").change()}},{key:"setup_braintree",value:function(){return this.block_ui(),i("input[name=wc_"+this.id+"_payment_nonce]").val(""),null!=this.client?this.setup_integration():this.create_client()}},{key:"create_client",value:function(){var r=this;return this.get_client_token().done(function(e){return e.success?braintree.client.create({authorization:e.data}).then(function(e){return r.client=e,r.setup_integration()}).catch(function(e){return r.handle_integration_error(e),r.unblock_ui()}):r.handle_integration_error(e.data)}).fail(function(e,t,n){return r.handle_integration_error({message:"Could not retrieve the client token via AJAX: "+n})}).always(function(){return r.unblock_ui()})}},{key:"get_client_token",value:function(){var e;return this.id+"_client_token_nonce",e={action:"wc_"+this.id+"_get_client_token",nonce:this.client_token_nonce},i.post(this.params.ajax_url,e)}},{key:"setup_integration",value:function(){var t=this;return this.get_integration_class().create(this.get_integration_options()).then(function(e){return t.integration=e,t.show_integration_ui(),t.do_integration_ready(),i(document).trigger("wc_"+t.id+"_integration_ready",t.integration)},function(e){return t.handle_integration_error(e),t.unblock_ui()})}},{key:"refresh_braintree",value:function(){var e=this;if(null!=this.integration)return this.block_ui(),this.integration.teardown(function(){return e.integration=null,e.setup_braintree()})}},{key:"teardown_braintree",value:function(){var e=this;if(null!=this.integration)return this.block_ui(),this.integration.teardown(function(){return e.integration=null,e.unblock_ui()})}},{key:"do_integration_ready",value:function(){}},{key:"get_integration_options",value:function(){return{client:this.client}}},{key:"get_integration_class",value:function(){}},{key:"handle_integration_error",value:function(e){return this.log("Integration error: "+e.message,e),this.hide_integration_ui(),this.unblock_ui()}},{key:"handle_payment_error",value:function(e){return this.log("Payment error: "+e.message,e),this.render_error(this.get_user_message(e)),this.unblock_ui()}},{key:"render_error",value:function(e){return i(".woocommerce-error, .woocommerce-message").remove(),this.form.prepend('<div class="woocommerce-error">'+e+"</div>").removeClass("processing").unblock(),i("html, body").animate({scrollTop:this.form.offset().top-100},1e3),i("input[name=wc_"+this.id+"_payment_nonce]").val(""),this.form.trigger("wc_"+this.id+"_rendered_error"),this.unblock_ui()}},{key:"get_user_message",value:function(e){return this.params.payment_error_message}},{key:"show_integration_ui",value:function(){if(i("div.js-wc-"+this.id_dasherized+"-new-payment-method-form").find(".woocommerce-error").remove(),i("input#createaccount").length&&i("input#createaccount").is(":checked"))return i("div.js-wc-"+this.id_dasherized+"-new-payment-method-form").find(".form-row").show()}},{key:"hide_integration_ui",value:function(){return i("div.js-wc-"+this.id_dasherized+"-new-payment-method-form").prepend('<div class="woocommerce-error">'+this.params.integration_error_message+"</div>"),i("div.js-wc-"+this.id_dasherized+"-new-payment-method-form").find(".form-row").hide()}},{key:"block_ui",value:function(){return i(this.form_ui_selector).block({message:null,overlayCSS:{background:"#fff",opacity:.6}})}},{key:"unblock_ui",value:function(){return i(this.form_ui_selector).unblock()}},{key:"is_selected",value:function(){return this.get_selected_gateway_id()===this.id}},{key:"is_sdk_ready",value:function(){return"undefined"!=typeof braintree&&null!==braintree&&null!=braintree.client&&null!=this.get_integration_class()}},{key:"has_payment_nonce",value:function(){return this.form.find("input[name=wc_"+this.id+"_payment_nonce]").val()}},{key:"using_payment_token",value:function(){return this.form.find("input.js-wc-"+this.id_dasherized+"-payment-token:checked").val()}},{key:"get_selected_gateway_id",value:function(){return this.form.find("input[name=payment_method]:checked").val()}},{key:"log",value:function(e,t){if(this.debug)return console.log("[Braintree] "+e),console.log(t)}}]),t}(),r=window.WC_Braintree_Credit_Card_Payment_Form_Handler=function(e){function a(e){_classCallCheck(this,a);var t=_possibleConstructorReturn(this,(a.__proto__||Object.getPrototypeOf(a)).call(this,e));return t.add_3ds_ui=t.add_3ds_ui.bind(t),t.remove_3ds_ui=t.remove_3ds_ui.bind(t),t.show_integration_ui=t.show_integration_ui.bind(t),t.hide_integration_ui=t.hide_integration_ui.bind(t),t.csc_required=e.csc_required,t.hosted_fields_styles=e.hosted_fields_styles,t.threeds=e.threeds,t.enabled_card_types=e.enabled_card_types,t.init(),t}return _inherits(a,WC_Braintree_Payment_Form_Handler),_createClass(a,[{key:"handle_checkout_error",value:function(){return _get(a.prototype.__proto__||Object.getPrototypeOf(a.prototype),"handle_checkout_error",this).call(this),i("input[name=wc_"+this.id+"_payment_nonce]").val("")}},{key:"verify_form",value:function(){var e;return this.has_payment_nonce()||!this.csc_required&&this.using_payment_token()?(e=i("input.js-wc-braintree-credit-card-payment-token:checked"),this.should_verify_3d_secure_token(e)?(this.verify_3d_secure(e.data("nonce"),e),!1):_get(a.prototype.__proto__||Object.getPrototypeOf(a.prototype),"verify_form",this).call(this)):(this.tokenize_payment(),!1)}},{key:"tokenize_payment",value:function(){var t=this;return this.integration.tokenize().then(function(e){if(t.log("payment method received",e),null!=e.nonce)return t.should_verify_3d_secure(e)?t.verify_3d_secure(e.nonce):t.submit_form(e.nonce)}).catch(function(e){return t.handle_payment_error(e)})}},{key:"get_integration_options",value:function(){var e;return e={client:this.client,fields:{number:{selector:"#wc-braintree-credit-card-account-number-hosted",placeholder:i("#wc-braintree-credit-card-account-number-hosted").data("placeholder")},cvv:{selector:"#wc-braintree-credit-card-csc-hosted",placeholder:i("#wc-braintree-credit-card-csc-hosted").data("placeholder")},expirationDate:{selector:"#wc-braintree-credit-card-expiry-hosted",placeholder:i("#wc-braintree-credit-card-expiry-hosted").data("placeholder")}},styles:this.hosted_fields_styles},this.csc_required&&this.using_payment_token()&&(delete e.fields.number,delete e.fields.expirationDate),this.csc_required||delete e.fields.cvv,e}},{key:"get_integration_class",value:function(){return braintree.hostedFields}},{key:"do_integration_ready",value:function(){var t=this;return this.integration.on("cardTypeChange",function(e){return t.on_card_type_change(e)}),!this.csc_required&&i("input.js-wc-braintree-credit-card-payment-token:checked").val()&&this.teardown_braintree(),this.unblock_ui()}},{key:"handle_saved_payment_methods",value:function(){var e,t,n=this;return _get(a.prototype.__proto__||Object.getPrototypeOf(a.prototype),"handle_saved_payment_methods",this).call(this),t=i("div.js-wc-braintree-credit-card-new-payment-method-form"),e=i("div.wc-braintree-hosted-field-card-csc-parent"),i("input.js-wc-braintree-credit-card-payment-token").change(function(){return i("input.js-wc-braintree-credit-card-payment-token:checked").val()?n.csc_required&&e.hasClass("form-row-last")?(e.removeClass("form-row-last").addClass("form-row-first"),t.after(e),n.refresh_braintree()):void 0:(n.csc_required&&e.hasClass("form-row-first")&&(e.removeClass("form-row-first").addClass("form-row-last"),t.find("div.wc-braintree-hosted-field-card-expiry-parent").after(e)),n.refresh_braintree())}).change()}},{key:"get_user_message",value:function(e){var t,n,r,i;if(r=[],"CUSTOMER"===e.type)switch(e.code){case"HOSTED_FIELDS_FIELDS_EMPTY":this.csc_required&&r.push(this.params.cvv_missing),this.using_payment_token()||(r.push(this.params.card_number_missing),r.push(this.params.card_exp_date_invalid));break;case"HOSTED_FIELDS_FIELDS_INVALID":if(null!=e.details)for(t=0,n=(i=e.details.invalidFieldKeys).length;t<n;t++)switch(i[t]){case"number":r.push(this.params.card_number_invalid);break;case"cvv":r.push(this.params.cvv_length_invalid);break;case"expirationDate":r.push(this.params.card_exp_date_invalid)}}return r.length?r.join("<br/>"):_get(a.prototype.__proto__||Object.getPrototypeOf(a.prototype),"get_user_message",this).call(this)}},{key:"on_card_type_change",value:function(e){var t,n,r;if(null!=e.cards)return(t=i("#wc-braintree-credit-card-account-number-hosted")).attr("class",function(e,t){return t.replace(/(^|\s)card-type-\S+/g,"")}),e.cards.length?1===e.cards.length?null!=(n=e.cards[0]).type&&(r=n.type,0<=o.call(this.enabled_card_types,r))?t.addClass("card-type-"+n.type):t.addClass("card-type-invalid"):void 0:t.addClass("card-type-invalid")}},{key:"is_3d_secure_enabled",value:function(){return this.threeds.enabled&&null!=braintree.threeDSecure}},{key:"setup_integration",value:function(){var t=this;return this.is_3d_secure_enabled()?braintree.threeDSecure.create({client:this.client}).then(function(e){return t.threeDSecure=e,i(document.body).on("click","#wc-braintree-credit-card-3dsecure-container",function(e){return i(e.currentTarget).fadeOut(200),t.threeDSecure.cancelVerifyCard(),t.unblock_ui()}),_get(a.prototype.__proto__||Object.getPrototypeOf(a.prototype),"setup_integration",t).call(t)}).catch(function(e){return t.handle_integration_error(e)}):_get(a.prototype.__proto__||Object.getPrototypeOf(a.prototype),"setup_integration",this).call(this)}},{key:"should_verify_3d_secure",value:function(e){var t;return t=e.details.cardType,this.is_3d_secure_enabled()&&"CreditCard"===e.type&&("Visa"===t||"MasterCard"===t)}},{key:"should_verify_3d_secure_token",value:function(e){if(e.val()&&e.data("nonce")&&!e.data("verified"))return!0}},{key:"verify_3d_secure",value:function(e){var n=this,t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:null;return this.threeDSecure.verifyCard({nonce:e,amount:i("input[name=wc_braintree_credit_card_3d_secure_order_total]").val(),addFrame:function(e,t){return n.add_3ds_ui(e,t)},removeFrame:function(){return n.remove_3ds_ui()}}).then(function(e){return n.log("3DS response",e),n.threeds.liability_shift_always_required&&!e.liabilityShifted&&n.render_error(n.threeds.failure_message),e.liabilityShiftPossible&&!e.liabilityShifted&&n.render_error(n.threeds.failure_message),null!=t&&t.data("verified",!0),i("input[name=wc_braintree_credit_card_3d_secure_verified]").val(1),n.submit_form(e.nonce)}).catch(function(e){return n.handle_payment_error(e)})}},{key:"add_3ds_ui",value:function(e,t){var n;return _(this,r),e?this.handle_payment_error(e):((n=i("<div>",{id:"wc-"+this.id_dasherized+"-3dsecure-container"})).html(t),i(document.body).append(n),n.fadeIn(400))}},{key:"remove_3ds_ui",value:function(){return _(this,r),i("#wc-"+this.id_dasherized+"-3dsecure-container").fadeOut(400,function(e){return i(this).remove()})}},{key:"show_integration_ui",value:function(){return _(this,r),_get(a.prototype.__proto__||Object.getPrototypeOf(a.prototype),"show_integration_ui",this).call(this),i(".wc-braintree-hosted-field-parent").show()}},{key:"hide_integration_ui",value:function(){return _(this,r),_get(a.prototype.__proto__||Object.getPrototypeOf(a.prototype),"hide_integration_ui",this).call(this),i(".wc-braintree-hosted-field-parent").hide()}}]),a}(),a=window.WC_Braintree_PayPal_Payment_Form_Handler=function(e){function n(e){_classCallCheck(this,n);var t=_possibleConstructorReturn(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,e));return t.do_integration_ready=t.do_integration_ready.bind(t),t.on_authorize=t.on_authorize.bind(t),t.get_linked_account_html=t.get_linked_account_html.bind(t),t.is_test_environment=e.is_test_environment,t.must_login_message=e.must_login_message,t.must_login_add_method_message=e.must_login_add_method_message,t.button_styles=e.button_styles,t.init(),t}return _inherits(n,WC_Braintree_Payment_Form_Handler),_createClass(n,[{key:"init",value:function(){var t=this;return _get(n.prototype.__proto__||Object.getPrototypeOf(n.prototype),"init",this).call(this),i("input[name=wc_"+this.id+"_payment_nonce]").val(this.params.cart_payment_nonce),i(document.body).on("click",'input[name="payment_method"], input.js-wc-braintree-paypal-payment-token',function(){return t.toggle_order_button()}),i(document.body).on("payment_method_selected",function(){return t.toggle_order_button()}),i(document.body).on("click",".wc-braintree-paypal-account .cancel",function(e){return e.preventDefault(),i(e.currentTarget).parent().remove(),t.setup_braintree()})}},{key:"toggle_order_button",value:function(){return!this.is_selected()||this.has_payment_nonce()||this.using_payment_token()?i("#place_order").show():i("#place_order").hide()}},{key:"verify_form",value:function(){var e;return e=_get(n.prototype.__proto__||Object.getPrototypeOf(n.prototype),"verify_form",this).call(this),this.has_payment_nonce()||this.using_payment_token()||this.render_error(this.must_login_message),e}},{key:"handle_payment_error",value:function(e){return _get(n.prototype.__proto__||Object.getPrototypeOf(n.prototype),"handle_payment_error",this).call(this,e),this.params.cart_payment_nonce=!1,this.setup_braintree()}},{key:"get_integration_class",value:function(){return braintree.paypalCheckout}},{key:"setup_braintree",value:function(){return this.params.cart_payment_nonce?this.unblock_ui():(_get(n.prototype.__proto__||Object.getPrototypeOf(n.prototype),"setup_braintree",this).call(this),i("input.js-wc-braintree-paypal-tokenize-payment-method").prop("disabled",!1),this.toggle_order_button())}},{key:"do_integration_ready",value:function(){var e,t=this;return _(this,a),this.params.cart_payment_nonce?this.unblock_ui():(e=this.is_single_use()?"checkout":"vault",this.integration.createPayment({flow:e,amount:this.get_order_amount(),currency:this.get_store_currency(),locale:this.get_store_locale()}).then(function(e){return t.render_button(e)}).then(function(){return i("#wc_braintree_paypal_container").css({width:"100%"}),t.unblock_ui()}).catch(function(e){return t.handle_integration_error(e),t.unblock_ui()}))}},{key:"render_button",value:function(e){var t,n=this;return i("#wc_braintree_paypal_container").html(""),t={env:this.is_test_environment?"sandbox":"production",commit:this.button_is_pay_now(),style:this.get_button_styles(),payment:function(){return e},onAuthorize:function(e,t){return n.on_authorize(e,t)},onError:function(e){return n.handle_integration_error(e)}},paypal.Button.render(t,"#wc_braintree_paypal_container")}},{key:"button_is_pay_now",value:function(){return!i("form#add_payment_method").length}},{key:"get_button_styles",value:function(){return this.button_styles}},{key:"on_authorize",value:function(e,t){var n=this;return _(this,a),this.block_ui(),this.integration.tokenizePayment(e).then(function(e){return n.log("PayPal method tokenized.",e),n.set_payment_method(e)}).catch(function(e){return n.handle_payment_error(e),n.unblock_ui()})}},{key:"set_payment_method",value:function(e){return i("input[name=wc_"+this.id+"_payment_nonce]").val(e.nonce),i("#wc_braintree_paypal_container").html(this.get_linked_account_html(e.details)),this.is_single_use()&&i("input.js-wc-braintree-paypal-tokenize-payment-method").prop("disabled",!0),i("#place_order").show(),this.form.submit()}},{key:"handle_saved_payment_methods",value:function(){var t=this;return _get(n.prototype.__proto__||Object.getPrototypeOf(n.prototype),"handle_saved_payment_methods",this).call(this),i("input.js-wc-braintree-paypal-tokenize-payment-method").change(function(e){if(null!=t.integration&&i(e.target).is(":visible"))return t.block_ui(),t.do_integration_ready()}).change()}},{key:"get_linked_account_html",value:function(e){var t;return _(this,a),t=i("<div class='wc-"+this.id_dasherized+"-account'></div>"),null!=e.firstName&&null!=e.lastName&&t.append("<span class='name'>"+e.firstName+" "+e.lastName+"</span>"),t.append("<span class='email'>"+e.email+"</span>"),t.append("<a href='#' class='cancel'>Cancel</a>"),t}},{key:"is_single_use",value:function(){var e;return 0===(e=i("input[name=wc-braintree-paypal-tokenize-payment-method]")).length||("checkbox"===e.attr("type")?!e.is(":checked"):!e.val())}},{key:"get_order_amount",value:function(){return i("input[name=wc_braintree_paypal_amount]").val()}},{key:"get_store_currency",value:function(){return i("input[name=wc_braintree_paypal_currency]").val()}},{key:"get_store_locale",value:function(){return i("input[name=wc_braintree_paypal_locale]").val()}},{key:"is_sdk_ready",value:function(){return _get(n.prototype.__proto__||Object.getPrototypeOf(n.prototype),"is_sdk_ready",this).call(this)&&"undefined"!=typeof paypal&&null!==paypal}}]),n}(),window.WC_Braintree_PayPal_Cart_Handler=function(e){function n(e){_classCallCheck(this,n);var t=_possibleConstructorReturn(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,e));return t.form=i("form.woocommerce-cart-form"),t.form_ui_selector="",t.setup_braintree(),i(document.body).on("updated_cart_totals",function(){return t.setup_braintree()}),t}return _inherits(n,WC_Braintree_PayPal_Payment_Form_Handler),_createClass(n,[{key:"button_is_pay_now",value:function(){return!1}},{key:"set_payment_method",value:function(e){var t=this;if(null!=e.nonce)return e.wp_nonce=this.params.cart_nonce,i.ajax({type:"POST",url:this.params.cart_handler_url,data:e,dataType:"json"}).done(function(e){if(t.log("PayPal Cart response",e),null!=e.redirect_url)return window.location=e.redirect_url}).fail(function(e){return t.log("Error setting the PayPal cart data.",e)}).always(function(){return t.unblock_ui()})}},{key:"is_single_use",value:function(){return"1"===i("input[name=wc_braintree_paypal_single_use]").val()}},{key:"has_payment_nonce",value:function(){return!1}}]),n}()})}).call(void 0);
class-wc-braintree.php CHANGED
@@ -88,7 +88,7 @@ class WC_Braintree extends WC_Braintree_Framework\SV_WC_Payment_Gateway_Plugin {
88
 
89
 
90
  /** plugin version number */
91
- const VERSION = '2.1.2';
92
 
93
  /** @var WC_Braintree single instance of this plugin */
94
  protected static $instance;
88
 
89
 
90
  /** plugin version number */
91
+ const VERSION = '2.1.3';
92
 
93
  /** @var WC_Braintree single instance of this plugin */
94
  protected static $instance;
i18n/languages/woocommerce-gateway-paypal-powered-by-braintree.pot CHANGED
@@ -2,11 +2,10 @@
2
  # This file is distributed under the same license as the WooCommerce PayPal Powered by Braintree Gateway package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: WooCommerce PayPal Powered by Braintree Gateway 2.1.2\n"
6
  "Report-Msgid-Bugs-To: "
7
- "https://wordpress.org/support/plugin/woocommerce-gateway-paypal-powered-by-"
8
- "braintree/\n"
9
- "POT-Creation-Date: 2017-02-10 18:32:26+00:00\n"
10
  "MIME-Version: 1.0\n"
11
  "Content-Type: text/plain; charset=utf-8\n"
12
  "Content-Transfer-Encoding: 8bit\n"
@@ -141,16 +140,11 @@ msgid "Required PayPal token is missing or empty!"
141
  msgstr ""
142
 
143
  #: includes/class-wc-braintree-frontend.php:113
144
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:657
145
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway-payment-form.php:654
146
  #. translators: %s - last four digits of a card/account
147
- #. translators: %s - last four digits of a card/account
148
- #. translators: Placeholders: %s - last four digits of card/account
149
  msgid "ending in %s"
150
  msgstr ""
151
 
152
  #: includes/class-wc-braintree-frontend.php:119
153
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:663
154
  msgid "(default)"
155
  msgstr ""
156
 
@@ -233,7 +227,6 @@ msgid ""
233
  msgstr ""
234
 
235
  #: includes/class-wc-gateway-braintree-credit-card.php:225
236
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:977
237
  msgid "Card Verification (CSC)"
238
  msgstr ""
239
 
@@ -264,8 +257,6 @@ msgid "Allow customers to securely pay using their PayPal account via Braintree.
264
  msgstr ""
265
 
266
  #: includes/class-wc-gateway-braintree-paypal.php:157
267
- #: lib/skyverge/woocommerce/payment-gateway/admin/class-sv-wc-payment-gateway-admin-payment-token-editor.php:479
268
- #: lib/skyverge/woocommerce/payment-gateway/admin/class-sv-wc-payment-gateway-admin-payment-token-editor.php:512
269
  msgid "Token ID"
270
  msgstr ""
271
 
@@ -314,12 +305,6 @@ msgid "Payment"
314
  msgstr ""
315
 
316
  #: includes/class-wc-gateway-braintree-paypal.php:378
317
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway-direct.php:615
318
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway-direct.php:690
319
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:1330
320
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:1640
321
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:1861
322
- #: lib/skyverge/woocommerce/payment-gateway/integrations/class-sv-wc-payment-gateway-integration-pre-orders.php:318
323
  #. translators: Placeholders: %s - transaction ID
324
  msgid "(Transaction ID %s)"
325
  msgstr ""
@@ -329,7 +314,6 @@ msgid "PayPal Account Saved: %s"
329
  msgstr ""
330
 
331
  #: includes/class-wc-gateway-braintree-paypal.php:478
332
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway-helper.php:186
333
  msgid "PayPal"
334
  msgstr ""
335
 
@@ -511,14 +495,14 @@ msgstr ""
511
 
512
  #: includes/payment-forms/class-wc-braintree-paypal-payment-form.php:72
513
  msgid ""
514
- "Please click the blue \"PayPal\" button below to log into your PayPal "
515
- "account before placing your order."
516
  msgstr ""
517
 
518
  #: includes/payment-forms/class-wc-braintree-paypal-payment-form.php:73
519
  msgid ""
520
- "Please click the blue \"PayPal\" button below to log into your PayPal "
521
- "account before adding your payment method."
522
  msgstr ""
523
 
524
  #: includes/views/admin-html-braintree-auth.php:32
@@ -533,1264 +517,40 @@ msgstr ""
533
  msgid "Not ready to accept live payments? Click here to connect using sandbox mode."
534
  msgstr ""
535
 
536
- #: lib/skyverge/woocommerce/class-sv-wc-admin-notice-handler.php:238
537
- #. translators: this is an action that dismisses a message
538
- msgid "Dismiss"
539
- msgstr ""
540
-
541
- #. Author of the plugin/theme
542
- msgid "WooCommerce"
543
- msgstr ""
544
-
545
- #: lib/skyverge/woocommerce/class-sv-wc-plugin.php:171
546
- #. translators: Placeholders: %s - plugin name
547
- msgid "You cannot clone instances of %s."
548
- msgstr ""
549
-
550
- #: lib/skyverge/woocommerce/class-sv-wc-plugin.php:181
551
- #. translators: Placeholders: %s - plugin name
552
- msgid "You cannot unserialize instances of %s."
553
- msgstr ""
554
-
555
- #: lib/skyverge/woocommerce/class-sv-wc-plugin.php:380
556
- #. translators: Placeholders: %1$s - plugin name, %2$s - a PHP
557
- #. extension/comma-separated list of PHP extensions
558
- msgid ""
559
- "%1$s requires the %2$s PHP extension to function. Contact your host or "
560
- "server administrator to configure and install the missing extension."
561
- msgid_plural ""
562
- "%1$s requires the following PHP extensions to function: %2$s. Contact your "
563
- "host or server administrator to configure and install the missing "
564
- "extensions."
565
- msgstr[0] ""
566
- msgstr[1] ""
567
-
568
- #: lib/skyverge/woocommerce/class-sv-wc-plugin.php:403
569
- #. translators: Placeholders: %1$s - plugin name, %2$s - a PHP
570
- #. function/comma-separated list of PHP functions
571
- msgid ""
572
- "%1$s requires the %2$s PHP function to exist. Contact your host or server "
573
- "administrator to configure and install the missing function."
574
- msgid_plural ""
575
- "%1$s requires the following PHP functions to exist: %2$s. Contact your "
576
- "host or server administrator to configure and install the missing functions."
577
- msgstr[0] ""
578
- msgstr[1] ""
579
-
580
- #: lib/skyverge/woocommerce/class-sv-wc-plugin.php:428
581
- #. translators: Placeholders: %s - plugin name
582
- msgid ""
583
- "%s may behave unexpectedly because the following PHP configuration settings "
584
- "are required:"
585
- msgstr ""
586
-
587
- #: lib/skyverge/woocommerce/class-sv-wc-plugin.php:442
588
- msgid "%s or higher"
589
- msgstr ""
590
-
591
- #: lib/skyverge/woocommerce/class-sv-wc-plugin.php:452
592
- msgid ""
593
- "Please contact your hosting provider or server administrator to configure "
594
- "these settings."
595
- msgstr ""
596
-
597
- #: lib/skyverge/woocommerce/class-sv-wc-plugin.php:482
598
- #. translators: Docs as in Documentation
599
- msgid "Docs"
600
- msgstr ""
601
-
602
- #: lib/skyverge/woocommerce/class-sv-wc-plugin.php:675
603
- msgid "%1$s - A minimum of %2$s is required."
604
- msgstr ""
605
-
606
- #: lib/skyverge/woocommerce/class-sv-wc-plugin.php:684
607
- msgid "Set as %1$s - %2$s is required."
608
- msgstr ""
609
-
610
- #: lib/skyverge/woocommerce/class-sv-wc-plugin.php:921
611
- msgid "Configure"
612
- msgstr ""
613
-
614
- #: lib/skyverge/woocommerce/payment-gateway/admin/class-sv-wc-payment-gateway-admin-payment-token-editor.php:87
615
- msgid "Are you sure you want to remove this token?"
616
- msgstr ""
617
-
618
- #: lib/skyverge/woocommerce/payment-gateway/admin/class-sv-wc-payment-gateway-admin-payment-token-editor.php:97
619
- msgid "Invalid token data"
620
- msgstr ""
621
-
622
- #: lib/skyverge/woocommerce/payment-gateway/admin/class-sv-wc-payment-gateway-admin-payment-token-editor.php:415
623
- #: lib/skyverge/woocommerce/payment-gateway/admin/class-sv-wc-payment-gateway-admin-user-handler.php:292
624
- msgid "(%s)"
625
- msgstr ""
626
-
627
- #: lib/skyverge/woocommerce/payment-gateway/admin/class-sv-wc-payment-gateway-admin-payment-token-editor.php:444
628
- msgid "Default"
629
- msgstr ""
630
-
631
- #: lib/skyverge/woocommerce/payment-gateway/admin/class-sv-wc-payment-gateway-admin-payment-token-editor.php:484
632
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway-privacy.php:291
633
- msgid "Card Type"
634
- msgstr ""
635
-
636
- #: lib/skyverge/woocommerce/payment-gateway/admin/class-sv-wc-payment-gateway-admin-payment-token-editor.php:489
637
- #: lib/skyverge/woocommerce/payment-gateway/admin/class-sv-wc-payment-gateway-admin-payment-token-editor.php:525
638
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway-privacy.php:191
639
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway-privacy.php:289
640
- msgid "Last Four"
641
- msgstr ""
642
-
643
- #: lib/skyverge/woocommerce/payment-gateway/admin/class-sv-wc-payment-gateway-admin-payment-token-editor.php:496
644
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway-payment-form.php:313
645
- msgid "Expiration (MM/YY)"
646
- msgstr ""
647
-
648
- #: lib/skyverge/woocommerce/payment-gateway/admin/class-sv-wc-payment-gateway-admin-payment-token-editor.php:517
649
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway-payment-form.php:419
650
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway-privacy.php:290
651
- #. translators: e-check account type, HTML form field label
652
- msgid "Account Type"
653
- msgstr ""
654
-
655
- #: lib/skyverge/woocommerce/payment-gateway/admin/class-sv-wc-payment-gateway-admin-payment-token-editor.php:520
656
- msgid "Checking"
657
- msgstr ""
658
-
659
- #: lib/skyverge/woocommerce/payment-gateway/admin/class-sv-wc-payment-gateway-admin-payment-token-editor.php:521
660
- msgid "Savings"
661
- msgstr ""
662
-
663
- #: lib/skyverge/woocommerce/payment-gateway/admin/class-sv-wc-payment-gateway-admin-payment-token-editor.php:621
664
- msgid "Refresh"
665
- msgstr ""
666
-
667
- #: lib/skyverge/woocommerce/payment-gateway/admin/class-sv-wc-payment-gateway-admin-payment-token-editor.php:623
668
- msgid "Add New"
669
- msgstr ""
670
-
671
- #: lib/skyverge/woocommerce/payment-gateway/admin/class-sv-wc-payment-gateway-admin-payment-token-editor.php:626
672
- msgid "Save"
673
- msgstr ""
674
-
675
- #: lib/skyverge/woocommerce/payment-gateway/admin/class-sv-wc-payment-gateway-admin-payment-token-editor.php:648
676
- msgid "Remove"
677
- msgstr ""
678
-
679
- #: lib/skyverge/woocommerce/payment-gateway/admin/class-sv-wc-payment-gateway-admin-user-handler.php:211
680
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway-privacy.php:200
681
- msgid "%s Payment Tokens"
682
- msgstr ""
683
-
684
- #: lib/skyverge/woocommerce/payment-gateway/admin/class-sv-wc-payment-gateway-admin-user-handler.php:289
685
- #: lib/skyverge/woocommerce/payment-gateway/integrations/class-sv-wc-payment-gateway-integration-subscriptions.php:675
686
- msgid "Customer ID"
687
- msgstr ""
688
-
689
- #: lib/skyverge/woocommerce/payment-gateway/admin/views/html-admin-gateway-status.php:32
690
- msgid "This section contains configuration settings for this gateway."
691
- msgstr ""
692
-
693
- #: lib/skyverge/woocommerce/payment-gateway/admin/views/html-admin-gateway-status.php:52
694
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:898
695
- #. translators: environment as in a software environment (test/production)
696
- msgid "Environment"
697
- msgstr ""
698
-
699
- #: lib/skyverge/woocommerce/payment-gateway/admin/views/html-admin-gateway-status.php:53
700
- msgid "The transaction environment for this gateway."
701
- msgstr ""
702
-
703
- #: lib/skyverge/woocommerce/payment-gateway/admin/views/html-admin-gateway-status.php:60
704
- msgid "Tokenization Enabled"
705
- msgstr ""
706
-
707
- #: lib/skyverge/woocommerce/payment-gateway/admin/views/html-admin-gateway-status.php:61
708
- msgid "Displays whether or not tokenization is enabled for this gateway."
709
- msgstr ""
710
-
711
- #: lib/skyverge/woocommerce/payment-gateway/admin/views/html-admin-gateway-status.php:74
712
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:828
713
- msgid "Debug Mode"
714
- msgstr ""
715
-
716
- #: lib/skyverge/woocommerce/payment-gateway/admin/views/html-admin-gateway-status.php:75
717
- msgid "Displays whether or not debug logging is enabled for this gateway."
718
- msgstr ""
719
-
720
- #: lib/skyverge/woocommerce/payment-gateway/admin/views/html-admin-gateway-status.php:78
721
- msgid "Display at Checkout & Log"
722
- msgstr ""
723
-
724
- #: lib/skyverge/woocommerce/payment-gateway/admin/views/html-admin-gateway-status.php:80
725
- msgid "Display at Checkout"
726
- msgstr ""
727
-
728
- #: lib/skyverge/woocommerce/payment-gateway/admin/views/html-admin-gateway-status.php:82
729
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:836
730
- msgid "Save to Log"
731
- msgstr ""
732
-
733
- #: lib/skyverge/woocommerce/payment-gateway/admin/views/html-admin-gateway-status.php:84
734
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:834
735
- msgid "Off"
736
- msgstr ""
737
-
738
- #: lib/skyverge/woocommerce/payment-gateway/admin/views/html-user-payment-token-editor-token.php:43
739
- msgid "-- Select an option --"
740
- msgstr ""
741
-
742
- #: lib/skyverge/woocommerce/payment-gateway/admin/views/html-user-payment-token-editor.php:59
743
- msgid "No saved payment tokens"
744
- msgstr ""
745
-
746
- #: lib/skyverge/woocommerce/payment-gateway/admin/views/html-user-profile-field-customer-id.php:30
747
- msgid "The gateway customer ID for the user. Only edit this if necessary."
748
- msgstr ""
749
-
750
- #: lib/skyverge/woocommerce/payment-gateway/api/class-sv-wc-payment-gateway-api-response-message-helper.php:97
751
- msgid "An error occurred, please try again or try an alternate form of payment"
752
- msgstr ""
753
-
754
- #: lib/skyverge/woocommerce/payment-gateway/api/class-sv-wc-payment-gateway-api-response-message-helper.php:98
755
- msgid ""
756
- "We cannot process your order with the payment information that you "
757
- "provided. Please use a different payment account or an alternate payment "
758
- "method."
759
- msgstr ""
760
-
761
- #: lib/skyverge/woocommerce/payment-gateway/api/class-sv-wc-payment-gateway-api-response-message-helper.php:99
762
- msgid ""
763
- "This order is being placed on hold for review. Please contact us to "
764
- "complete the transaction."
765
- msgstr ""
766
-
767
- #: lib/skyverge/woocommerce/payment-gateway/api/class-sv-wc-payment-gateway-api-response-message-helper.php:104
768
- msgid ""
769
- "This order is being placed on hold for review due to an incorrect card "
770
- "verification number. You may contact the store to complete the transaction."
771
- msgstr ""
772
-
773
- #: lib/skyverge/woocommerce/payment-gateway/api/class-sv-wc-payment-gateway-api-response-message-helper.php:105
774
- msgid "The card verification number is invalid, please try again."
775
- msgstr ""
776
-
777
- #: lib/skyverge/woocommerce/payment-gateway/api/class-sv-wc-payment-gateway-api-response-message-helper.php:106
778
- msgid "Please enter your card verification number and try again."
779
- msgstr ""
780
-
781
- #: lib/skyverge/woocommerce/payment-gateway/api/class-sv-wc-payment-gateway-api-response-message-helper.php:109
782
- msgid ""
783
- "That card type is not accepted, please use an alternate card or other form "
784
- "of payment."
785
- msgstr ""
786
-
787
- #: lib/skyverge/woocommerce/payment-gateway/api/class-sv-wc-payment-gateway-api-response-message-helper.php:110
788
- #: lib/skyverge/woocommerce/payment-gateway/api/class-sv-wc-payment-gateway-api-response-message-helper.php:114
789
- msgid ""
790
- "The card type is invalid or does not correlate with the credit card number. "
791
- " Please try again or use an alternate card or other form of payment."
792
- msgstr ""
793
-
794
- #: lib/skyverge/woocommerce/payment-gateway/api/class-sv-wc-payment-gateway-api-response-message-helper.php:111
795
- msgid "Please select the card type and try again."
796
- msgstr ""
797
-
798
- #: lib/skyverge/woocommerce/payment-gateway/api/class-sv-wc-payment-gateway-api-response-message-helper.php:115
799
- msgid "The card number is invalid, please re-enter and try again."
800
- msgstr ""
801
-
802
- #: lib/skyverge/woocommerce/payment-gateway/api/class-sv-wc-payment-gateway-api-response-message-helper.php:116
803
- msgid "Please enter your card number and try again."
804
- msgstr ""
805
-
806
- #: lib/skyverge/woocommerce/payment-gateway/api/class-sv-wc-payment-gateway-api-response-message-helper.php:119
807
- msgid "The card expiration date is invalid, please re-enter and try again."
808
- msgstr ""
809
-
810
- #: lib/skyverge/woocommerce/payment-gateway/api/class-sv-wc-payment-gateway-api-response-message-helper.php:120
811
- msgid "The card expiration month is invalid, please re-enter and try again."
812
- msgstr ""
813
-
814
- #: lib/skyverge/woocommerce/payment-gateway/api/class-sv-wc-payment-gateway-api-response-message-helper.php:121
815
- msgid "The card expiration year is invalid, please re-enter and try again."
816
- msgstr ""
817
-
818
- #: lib/skyverge/woocommerce/payment-gateway/api/class-sv-wc-payment-gateway-api-response-message-helper.php:122
819
- msgid "Please enter your card expiration date and try again."
820
- msgstr ""
821
-
822
- #: lib/skyverge/woocommerce/payment-gateway/api/class-sv-wc-payment-gateway-api-response-message-helper.php:125
823
- msgid "The bank routing number is invalid, please re-enter and try again."
824
- msgstr ""
825
-
826
- #: lib/skyverge/woocommerce/payment-gateway/api/class-sv-wc-payment-gateway-api-response-message-helper.php:126
827
- msgid "The bank account number is invalid, please re-enter and try again."
828
- msgstr ""
829
-
830
- #: lib/skyverge/woocommerce/payment-gateway/api/class-sv-wc-payment-gateway-api-response-message-helper.php:129
831
- msgid ""
832
- "The provided card is expired, please use an alternate card or other form of "
833
- "payment."
834
- msgstr ""
835
-
836
- #: lib/skyverge/woocommerce/payment-gateway/api/class-sv-wc-payment-gateway-api-response-message-helper.php:130
837
- msgid ""
838
- "The provided card was declined, please use an alternate card or other form "
839
- "of payment."
840
- msgstr ""
841
-
842
- #: lib/skyverge/woocommerce/payment-gateway/api/class-sv-wc-payment-gateway-api-response-message-helper.php:131
843
  msgid ""
844
- "Insufficient funds in account, please use an alternate card or other form "
845
- "of payment."
846
- msgstr ""
847
-
848
- #: lib/skyverge/woocommerce/payment-gateway/api/class-sv-wc-payment-gateway-api-response-message-helper.php:132
849
- msgid ""
850
- "The card is inactivate or not authorized for card-not-present transactions, "
851
- "please use an alternate card or other form of payment."
852
  msgstr ""
853
 
854
- #: lib/skyverge/woocommerce/payment-gateway/api/class-sv-wc-payment-gateway-api-response-message-helper.php:133
855
  msgid ""
856
- "The credit limit for the card has been reached, please use an alternate "
857
- "card or other form of payment."
858
- msgstr ""
859
-
860
- #: lib/skyverge/woocommerce/payment-gateway/api/class-sv-wc-payment-gateway-api-response-message-helper.php:134
861
- msgid "The card verification number does not match. Please re-enter and try again."
862
  msgstr ""
863
 
864
- #: lib/skyverge/woocommerce/payment-gateway/api/class-sv-wc-payment-gateway-api-response-message-helper.php:135
865
  msgid ""
866
- "The provided address does not match the billing address for cardholder. "
867
- "Please verify the address and try again."
868
  msgstr ""
869
 
870
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway-direct.php:101
871
  msgid ""
872
- "Payment error, please try another payment method or contact us to complete "
873
- "your transaction."
874
- msgstr ""
875
-
876
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway-direct.php:201
877
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:412
878
- msgid "Card expiration date is invalid"
879
- msgstr ""
880
-
881
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway-direct.php:225
882
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:405
883
- msgid "Card number is missing"
884
- msgstr ""
885
-
886
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway-direct.php:231
887
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:408
888
- msgid "Card number is invalid (wrong length)"
889
- msgstr ""
890
-
891
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway-direct.php:236
892
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:407
893
- msgid "Card number is invalid (only digits allowed)"
894
- msgstr ""
895
-
896
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway-direct.php:241
897
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:406
898
- msgid "Card number is invalid"
899
- msgstr ""
900
-
901
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway-direct.php:268
902
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:410
903
- msgid "Card security code is invalid (only digits are allowed)"
904
- msgstr ""
905
-
906
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway-direct.php:274
907
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:411
908
- msgid "Card security code is invalid (must be 3 or 4 digits)"
909
- msgstr ""
910
-
911
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway-direct.php:280
912
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:409
913
- msgid "Card security code is missing"
914
- msgstr ""
915
-
916
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway-direct.php:307
917
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:421
918
- msgid "Routing Number is missing"
919
- msgstr ""
920
-
921
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway-direct.php:314
922
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:422
923
- msgid "Routing Number is invalid (only digits are allowed)"
924
- msgstr ""
925
-
926
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway-direct.php:320
927
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:423
928
- msgid "Routing number is invalid (must be 9 digits)"
929
- msgstr ""
930
-
931
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway-direct.php:329
932
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:418
933
- msgid "Account Number is missing"
934
- msgstr ""
935
-
936
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway-direct.php:336
937
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:419
938
- msgid "Account Number is invalid (only digits are allowed)"
939
- msgstr ""
940
-
941
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway-direct.php:342
942
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:420
943
- msgid "Account number is invalid (must be between 5 and 17 digits)"
944
- msgstr ""
945
-
946
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway-direct.php:349
947
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:417
948
- msgid "Drivers license number is invalid"
949
- msgstr ""
950
-
951
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway-direct.php:355
952
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:413
953
- msgid "Check Number is invalid (only digits are allowed)"
954
- msgstr ""
955
-
956
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway-direct.php:605
957
- #. translators: Placeholders: %1$s - payment method title, %2$s - payment
958
- #. account type (savings/checking) (may or may not be available), %3$s - last
959
- #. four digits of the account
960
- msgid "%1$s Check Transaction Approved: %2$s account ending in %3$s"
961
- msgstr ""
962
-
963
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway-direct.php:610
964
- #. translators: Placeholders: %s - check number
965
- msgid "Check number %s"
966
- msgstr ""
967
-
968
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway-direct.php:678
969
- #. translators: Placeholders: %1$s - payment method title, %2$s - environment
970
- #. ("Test"), %3$s - transaction type (authorization/charge), %4$s - card type
971
- #. (mastercard, visa, ...), %5$s - last four digits of the card, %6$s - expiry
972
- #. date
973
- msgid "%1$s %2$s %3$s Approved: %4$s ending in %5$s (expires %6$s)"
974
- msgstr ""
975
-
976
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway-direct.php:752
977
- #. translators: Placeholders: %s - failure message
978
- msgid "Tokenization Request Failed: %s"
979
- msgstr ""
980
-
981
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway-direct.php:763
982
- #. translators: Placeholders: %1$s - payment method title, %2$s - failure
983
- #. message
984
- msgid "%1$s Tokenization Request Failed: %2$s"
985
- msgstr ""
986
-
987
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway-direct.php:784
988
- #: lib/skyverge/woocommerce/payment-gateway/integrations/class-sv-wc-payment-gateway-integration-pre-orders.php:335
989
- #. translators: This is a message describing that the transaction in question
990
- #. only performed a credit card authorization and did not capture any funds.
991
- msgid "Authorization only transaction"
992
- msgstr ""
993
-
994
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway-direct.php:1143
995
- #. translators: Placeholders: %s - failure message. Payment method as in a
996
- #. specific credit card, e-check or bank account
997
- msgid "Oops, adding your new payment method failed: %s"
998
- msgstr ""
999
-
1000
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway-direct.php:1195
1001
- #. translators: Payment method as in a specific credit card. Placeholders: %1$s
1002
- #. - card type (visa, mastercard, ...), %2$s - last four digits of the card,
1003
- #. %3$s - card expiry date
1004
- msgid "Nice! New payment method added: %1$s ending in %2$s (expires %3$s)"
1005
- msgstr ""
1006
-
1007
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway-direct.php:1205
1008
- #. translators: Payment method as in a specific e-check account. Placeholders:
1009
- #. %1$s - account type (checking/savings), %2$s - last four digits of the
1010
- #. account
1011
- msgid "Nice! New payment method added: %1$s account ending in %2$s"
1012
- msgstr ""
1013
-
1014
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway-direct.php:1212
1015
- #. translators: Payment method as in a specific credit card, e-check or bank
1016
- #. account
1017
- msgid "Nice! New payment method added."
1018
- msgstr ""
1019
-
1020
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway-direct.php:1319
1021
- #. translators: Placeholders: %1$s - site title, %2$s - customer email. Payment
1022
- #. method as in a specific credit card, e-check or bank account
1023
- msgid "%1$s - Add Payment Method for %2$s"
1024
- msgstr ""
1025
-
1026
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway-helper.php:187
1027
- msgid "Checking Account"
1028
- msgstr ""
1029
-
1030
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway-helper.php:188
1031
- msgid "Savings Account"
1032
- msgstr ""
1033
-
1034
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway-helper.php:189
1035
- msgid "Credit / Debit Card"
1036
- msgstr ""
1037
-
1038
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway-helper.php:190
1039
- msgid "Bank Account"
1040
- msgstr ""
1041
-
1042
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:121
1043
- #. translators: Payment method as in a specific credit card, e-check or bank
1044
- #. account
1045
- msgid "Are you sure you want to delete this payment method?"
1046
- msgstr ""
1047
-
1048
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:256
1049
- #. translators: Payment method as in a specific credit card, eCheck or bank
1050
- #. account
1051
- msgid "You do not have any saved payment methods."
1052
- msgstr ""
1053
-
1054
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:293
1055
- #. translators: Payment method as in a specific credit card, eCheck or bank
1056
- #. account
1057
- msgid "My Payment Methods"
1058
- msgstr ""
1059
-
1060
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:301
1061
- #. translators: Payment method as in a specific credit card, e-check or bank
1062
- #. account
1063
- msgid "Add New Payment Method"
1064
- msgstr ""
1065
-
1066
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:387
1067
- msgid "Method"
1068
- msgstr ""
1069
-
1070
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:388
1071
- msgid "Expires"
1072
- msgstr ""
1073
-
1074
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:422
1075
- msgid "Credit/Debit Cards"
1076
- msgstr ""
1077
-
1078
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:428
1079
- msgid "Bank Accounts"
1080
- msgstr ""
1081
-
1082
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:475
1083
- msgid "N/A"
1084
- msgstr ""
1085
-
1086
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:595
1087
- #. translators: Set a payment method as the default option
1088
- msgid "Make Default"
1089
- msgstr ""
1090
-
1091
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:606
1092
- msgid "Delete"
1093
- msgstr ""
1094
-
1095
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:704
1096
- msgid "Oops, you took too long, please try again."
1097
- msgstr ""
1098
-
1099
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:717
1100
- msgid "There was an error with your request, please try again."
1101
- msgstr ""
1102
-
1103
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:730
1104
- #. translators: Payment method as in a specific credit card, e-check or bank
1105
- #. account
1106
- msgid "Error removing payment method"
1107
- msgstr ""
1108
-
1109
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:735
1110
- #. translators: Payment method as in a specific credit card, e-check or bank
1111
- #. account
1112
- msgid "Payment method deleted."
1113
- msgstr ""
1114
-
1115
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:745
1116
- #. translators: Payment method as in a specific credit card, e-check or bank
1117
- #. account
1118
- msgid "Default payment method updated."
1119
- msgstr ""
1120
-
1121
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway-payment-form.php:295
1122
- msgid "Card Number"
1123
- msgstr ""
1124
-
1125
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway-payment-form.php:316
1126
- msgid "MM / YY"
1127
- msgstr ""
1128
-
1129
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway-payment-form.php:334
1130
- msgid "Card Security Code"
1131
  msgstr ""
1132
 
1133
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway-payment-form.php:337
1134
- msgid "CSC"
1135
  msgstr ""
1136
 
1137
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway-payment-form.php:376
1138
- msgid "Where do I find this?"
1139
- msgstr ""
1140
-
1141
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway-payment-form.php:382
1142
- #. translators: e-check routing number, HTML form field label,
1143
- #. https:en.wikipedia.org/wiki/Routing_transit_number
1144
- msgid "Routing Number"
1145
- msgstr ""
1146
-
1147
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway-payment-form.php:401
1148
- #. translators: e-check account number, HTML form field label
1149
- msgid "Account Number"
1150
- msgstr ""
1151
-
1152
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway-payment-form.php:466
1153
- #. translators: Test mode refers to the current software environment
1154
- msgid "TEST MODE ENABLED"
1155
- msgstr ""
1156
-
1157
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway-payment-form.php:569
1158
- #. translators: Payment method as in a specific credit card, eCheck or bank
1159
- #. account
1160
- msgid "Manage Payment Methods"
1161
- msgstr ""
1162
-
1163
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway-payment-form.php:661
1164
- #. translators: Placeholders: %s - expiry date
1165
- msgid "(expires %s)"
1166
- msgstr ""
1167
-
1168
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway-payment-form.php:697
1169
- msgid "Use a new card"
1170
- msgstr ""
1171
-
1172
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway-payment-form.php:697
1173
- msgid "Use a new bank account"
1174
- msgstr ""
1175
-
1176
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway-payment-form.php:759
1177
- #. translators: account as in customer's account on the eCommerce site
1178
- msgid "Securely Save to Account"
1179
- msgstr ""
1180
-
1181
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway-plugin.php:432
1182
- #. translators: Placeholders: %s - plugin name
1183
- msgid ""
1184
- "%s: WooCommerce is not being forced over SSL; your customer's payment data "
1185
- "may be at risk."
1186
- msgstr ""
1187
-
1188
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway-plugin.php:489
1189
- #. translators: Placeholders: %1$s - plugin name, %2$s - a
1190
- #. currency/comma-separated list of currencies, %3$s - <a> tag, %4$s - </a> tag
1191
- msgid ""
1192
- "%1$s accepts payment in %2$s only. %3$sConfigure%4$s WooCommerce to accept "
1193
- "%2$s to enable this gateway for checkout."
1194
- msgid_plural ""
1195
- "%1$s accepts payment in one of %2$s only. %3$sConfigure%4$s WooCommerce to "
1196
- "accept one of %2$s to enable this gateway for checkout."
1197
- msgstr[0] ""
1198
- msgstr[1] ""
1199
-
1200
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway-plugin.php:533
1201
- #. translators: Placeholders: %1$s - payment gateway title (such as
1202
- #. Authorize.net, Braintree, etc), %2$s - <a> tag, %3$s - </a> tag
1203
- msgid ""
1204
- "%1$s is inactive for subscription transactions. Please %2$senable "
1205
- "tokenization%3$s to activate %1$s for Subscriptions."
1206
- msgstr ""
1207
-
1208
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway-plugin.php:551
1209
- #. translators: Placeholders: %1$s - payment gateway title (such as
1210
- #. Authorize.net, Braintree, etc), %2$s - <a> tag, %3$s - </a> tag
1211
- msgid ""
1212
- "%1$s is inactive for pre-order transactions. Please %2$senable "
1213
- "tokenization%3$s to activate %1$s for Pre-Orders."
1214
- msgstr ""
1215
-
1216
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway-plugin.php:587
1217
- msgid ""
1218
- "You must enable tokenization for this gateway in order to support automatic "
1219
- "renewal payments with the WooCommerce Subscriptions extension."
1220
- msgstr ""
1221
-
1222
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway-plugin.php:588
1223
- msgid "Inactive"
1224
- msgstr ""
1225
-
1226
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway-plugin.php:732
1227
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway-plugin.php:801
1228
- #. translators: verb, as in "Capture credit card charge". Used when an
1229
- #. amount has been pre-authorized before, but funds have not yet been captured
1230
- #. (taken) from the card. Capturing the charge will take the money from the
1231
- #. credit card and put it in the merchant's pockets.
1232
- msgid "Capture Charge"
1233
- msgstr ""
1234
-
1235
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway-privacy.php:114
1236
- msgid "%s Customer ID"
1237
- msgstr ""
1238
-
1239
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway-privacy.php:183
1240
- msgid "Type"
1241
- msgstr ""
1242
-
1243
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway-privacy.php:245
1244
- msgid "Removed payment token \"%d\""
1245
- msgstr ""
1246
-
1247
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway-privacy.php:292
1248
- msgid "Expiry Date"
1249
- msgstr ""
1250
-
1251
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway-privacy.php:293
1252
- msgid "Payer Email"
1253
- msgstr ""
1254
-
1255
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:414
1256
- msgid "Check Number is missing"
1257
- msgstr ""
1258
-
1259
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:415
1260
- msgid "Drivers license state is missing"
1261
- msgstr ""
1262
-
1263
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:416
1264
- msgid "Drivers license number is missing"
1265
- msgstr ""
1266
-
1267
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:592
1268
- msgid "Continue"
1269
- msgstr ""
1270
-
1271
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:624
1272
- msgid "Thank you for your order."
1273
- msgstr ""
1274
-
1275
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:733
1276
- msgid "Credit Card"
1277
- msgstr ""
1278
-
1279
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:735
1280
- msgid "eCheck"
1281
- msgstr ""
1282
-
1283
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:753
1284
- msgid "Pay securely using your credit card."
1285
- msgstr ""
1286
-
1287
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:755
1288
- msgid "Pay securely using your checking account."
1289
- msgstr ""
1290
-
1291
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:774
1292
- msgid "Enable / Disable"
1293
- msgstr ""
1294
-
1295
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:775
1296
- msgid "Enable this gateway"
1297
- msgstr ""
1298
-
1299
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:781
1300
- msgid "Title"
1301
- msgstr ""
1302
-
1303
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:783
1304
- msgid "Payment method title that the customer will see during checkout."
1305
- msgstr ""
1306
-
1307
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:788
1308
- msgid "Description"
1309
- msgstr ""
1310
-
1311
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:790
1312
- msgid "Payment method description that the customer will see during checkout."
1313
- msgstr ""
1314
-
1315
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:819
1316
- msgid "Detailed Decline Messages"
1317
- msgstr ""
1318
-
1319
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:821
1320
- msgid ""
1321
- "Check to enable detailed decline messages to the customer during checkout "
1322
- "when possible, rather than a generic decline message."
1323
- msgstr ""
1324
-
1325
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:831
1326
- #. translators: Placeholders: %1$s - <a> tag, %2$s - </a> tag
1327
- msgid ""
1328
- "Show Detailed Error Messages and API requests/responses on the checkout "
1329
- "page and/or save them to the %1$sdebug log%2$s"
1330
- msgstr ""
1331
-
1332
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:835
1333
- msgid "Show on Checkout Page"
1334
- msgstr ""
1335
-
1336
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:838
1337
- #. translators: show debugging information on both checkout page and in the log
1338
- msgid "Both"
1339
- msgstr ""
1340
-
1341
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:901
1342
- msgid "Select the gateway environment to use for transactions."
1343
- msgstr ""
1344
-
1345
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:949
1346
- msgid "Connection Settings"
1347
- msgstr ""
1348
-
1349
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:955
1350
- msgid "Share connection settings"
1351
- msgstr ""
1352
-
1353
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:957
1354
- msgid "Use connection/authentication settings from other gateway"
1355
- msgstr ""
1356
-
1357
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:960
1358
- msgid "Disabled because the other gateway is using these settings"
1359
- msgstr ""
1360
-
1361
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:978
1362
- msgid "Display the Card Security Code (CV2) field on checkout"
1363
- msgstr ""
1364
-
1365
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:1283
1366
- #. translators: Placeholders: %1$s - site title, %2$s - order number
1367
- msgid "%1$s - Order %2$s"
1368
- msgstr ""
1369
-
1370
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:1323
1371
- #. translators: Placeholders: %1$s - payment gateway title (such as
1372
- #. Authorize.net, Braintree, etc), %2$s - transaction amount. Definitions:
1373
- #. Capture, as in capture funds from a credit card.
1374
- msgid "%1$s Capture of %2$s Approved"
1375
- msgstr ""
1376
-
1377
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:1351
1378
- #. translators: Placeholders: %1$s - payment gateway title (such as
1379
- #. Authorize.net, Braintree, etc), %2$s - transaction amount, %3$s -
1380
- #. transaction status message. Definitions: Capture, as in capture funds from a
1381
- #. credit card.
1382
- msgid "%1$s Capture Failed: %2$s - %3$s"
1383
- msgstr ""
1384
-
1385
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:1367
1386
- #. translators: Placeholders: %1$s - payment gateway title (such as
1387
- #. Authorize.net, Braintree, etc), %2$s - failure message. Definitions:
1388
- #. "capture" as in capturing funds from a credit card.
1389
- msgid "%1$s Capture Failed: %2$s"
1390
- msgstr ""
1391
-
1392
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:1406
1393
- #. translators: Placeholders: %1$s - site title, %2$s - order number.
1394
- #. Definitions: Capture as in capture funds from a credit card.
1395
- msgid "%1$s - Capture for Order %2$s"
1396
- msgstr ""
1397
-
1398
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:1570
1399
- #. translators: Placeholders: %1$s - site title, %2$s - order number
1400
- msgid "%1$s - Refund for Order %2$s"
1401
- msgstr ""
1402
-
1403
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:1633
1404
- #. translators: Placeholders: %1$s - payment gateway title (such as
1405
- #. Authorize.net, Braintree, etc), %2$s - a monetary amount
1406
- msgid "%1$s Refund in the amount of %2$s approved."
1407
- msgstr ""
1408
-
1409
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:1660
1410
- #. translators: Placeholders: %1$s - payment gateway title (such as
1411
- #. Authorize.net, Braintree, etc), %2$s - error code, %3$s - error message
1412
- msgid "%1$s Refund Failed: %2$s - %3$s"
1413
- msgstr ""
1414
-
1415
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:1668
1416
- #. translators: Placeholders: %1$s - payment gateway title (such as
1417
- #. Authorize.net, Braintree, etc), %2$s - error message
1418
- msgid "%1$s Refund Failed: %2$s"
1419
- msgstr ""
1420
-
1421
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:1688
1422
- #. translators: Placeholders: %s - payment gateway title (such as
1423
- #. Authorize.net, Braintree, etc)
1424
- msgid "%s Order completely refunded."
1425
- msgstr ""
1426
-
1427
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:1741
1428
- msgid ""
1429
- "Oops, you cannot partially void this order. Please use the full order "
1430
- "amount."
1431
- msgstr ""
1432
-
1433
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:1825
1434
- #. translators: Placeholders: %1$s - payment gateway title, %2$s - error code,
1435
- #. %3$s - error message. Void as in to void an order.
1436
- msgid "%1$s Void Failed: %2$s - %3$s"
1437
- msgstr ""
1438
-
1439
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:1833
1440
- #. translators: Placeholders: %1$s - payment gateway title, %2$s - error
1441
- #. message. Void as in to void an order.
1442
- msgid "%1$s Void Failed: %2$s"
1443
- msgstr ""
1444
-
1445
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:1854
1446
- #. translators: Placeholders: %1$s - payment gateway title, %2$s - a monetary
1447
- #. amount. Void as in to void an order.
1448
- msgid "%1$s Void in the amount of %2$s approved."
1449
- msgstr ""
1450
-
1451
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:1949
1452
- #: lib/skyverge/woocommerce/payment-gateway/payment-tokens/class-sv-wc-payment-gateway-payment-tokens-handler.php:146
1453
- #. translators: Placeholders: %1$s - status code, %2$s - status message
1454
- #. translators: Placeholders: %1$s - payment request response status code, %2$s
1455
- #. - payment request response status message
1456
- msgid "Status code %1$s: %2$s"
1457
- msgstr ""
1458
-
1459
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:1952
1460
- #: lib/skyverge/woocommerce/payment-gateway/payment-tokens/class-sv-wc-payment-gateway-payment-tokens-handler.php:149
1461
- #. translators: Placeholders: %s - status code
1462
- #. translators: Placeholders: %s - payment request response status code
1463
- msgid "Status code: %s"
1464
- msgstr ""
1465
-
1466
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:1955
1467
- #: lib/skyverge/woocommerce/payment-gateway/payment-tokens/class-sv-wc-payment-gateway-payment-tokens-handler.php:152
1468
- #. translators: Placeholders; %s - status message
1469
- #. translators: Placeholders: %s - payment request response status message
1470
- msgid "Status message: %s"
1471
- msgstr ""
1472
-
1473
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:1960
1474
- #: lib/skyverge/woocommerce/payment-gateway/payment-tokens/class-sv-wc-payment-gateway-payment-tokens-handler.php:159
1475
- msgid "Transaction ID %s"
1476
- msgstr ""
1477
-
1478
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:2071
1479
- #. translators: Placeholders: %1$s - payment gateway title, %2$s - message
1480
- #. (probably reason for the transaction being held for review)
1481
- msgid "%1$s Transaction Held for Review (%2$s)"
1482
- msgstr ""
1483
-
1484
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:2102
1485
- msgid ""
1486
- "Your order has been received and is being reviewed. Thank you for your "
1487
- "business."
1488
- msgstr ""
1489
-
1490
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:2147
1491
- #. translators: Placeholders: %1$s - payment gateway title, %2$s - error
1492
- #. message; e.g. Order Note: [Payment method] Payment failed [error]
1493
- msgid "%1$s Payment Failed (%2$s)"
1494
- msgstr ""
1495
-
1496
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:2164
1497
- #: lib/skyverge/woocommerce/payment-gateway/integrations/class-sv-wc-payment-gateway-integration-subscriptions.php:384
1498
- msgid "An error occurred, please try again or try an alternate form of payment."
1499
- msgstr ""
1500
-
1501
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:2181
1502
- #. translators: Placeholders: %1$s - payment gateway title, %2$s -
1503
- #. message/error
1504
- msgid "%1$s Transaction Cancelled (%2$s)"
1505
- msgstr ""
1506
-
1507
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:2413
1508
- msgid "Transaction Type"
1509
- msgstr ""
1510
-
1511
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:2415
1512
- msgid ""
1513
- "Select how transactions should be processed. Charge submits all "
1514
- "transactions for settlement, Authorization simply authorizes the order "
1515
- "total for capture later."
1516
- msgstr ""
1517
-
1518
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:2426
1519
- msgid "Charge Virtual-Only Orders"
1520
- msgstr ""
1521
-
1522
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:2428
1523
- msgid ""
1524
- "If the order contains exclusively virtual items, enable this to immediately "
1525
- "charge, rather than authorize, the transaction."
1526
- msgstr ""
1527
-
1528
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:2598
1529
- msgid "Accepted Card Types"
1530
- msgstr ""
1531
-
1532
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:2600
1533
- msgid "Select which card types you accept."
1534
- msgstr ""
1535
-
1536
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:2688
1537
- #. translators:
1538
- #. http:www.cybersource.com/products/payment_security/payment_tokenization/ and
1539
- #. https:en.wikipedia.org/wiki/Tokenization_(data_security)
1540
- msgid "Tokenization"
1541
- msgstr ""
1542
-
1543
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:2689
1544
- msgid "Allow customers to securely save their payment details for future checkout."
1545
- msgstr ""
1546
-
1547
- #: lib/skyverge/woocommerce/payment-gateway/integrations/class-sv-wc-payment-gateway-integration-pre-orders.php:242
1548
- msgid "Pre-Order Tokenization attempt failed (%s)"
1549
- msgstr ""
1550
-
1551
- #: lib/skyverge/woocommerce/payment-gateway/integrations/class-sv-wc-payment-gateway-integration-pre-orders.php:269
1552
- msgid "%s - Pre-Order Release Payment for Order %s"
1553
- msgstr ""
1554
-
1555
- #: lib/skyverge/woocommerce/payment-gateway/integrations/class-sv-wc-payment-gateway-integration-pre-orders.php:273
1556
- msgid "Payment token missing/invalid."
1557
- msgstr ""
1558
-
1559
- #: lib/skyverge/woocommerce/payment-gateway/integrations/class-sv-wc-payment-gateway-integration-pre-orders.php:298
1560
- msgid "%s %s Pre-Order Release Payment Approved: %s ending in %s (expires %s)"
1561
- msgstr ""
1562
-
1563
- #: lib/skyverge/woocommerce/payment-gateway/integrations/class-sv-wc-payment-gateway-integration-pre-orders.php:309
1564
- msgid "%s eCheck Pre-Order Release Payment Approved: %s ending in %s"
1565
- msgstr ""
1566
-
1567
- #: lib/skyverge/woocommerce/payment-gateway/integrations/class-sv-wc-payment-gateway-integration-pre-orders.php:313
1568
- msgid "%s Pre-Order Release Payment Approved"
1569
- msgstr ""
1570
-
1571
- #: lib/skyverge/woocommerce/payment-gateway/integrations/class-sv-wc-payment-gateway-integration-pre-orders.php:354
1572
- msgid "Pre-Order Release Payment Failed: %s"
1573
- msgstr ""
1574
-
1575
- #: lib/skyverge/woocommerce/payment-gateway/integrations/class-sv-wc-payment-gateway-integration-subscriptions.php:221
1576
- msgid "Subscription Renewal: payment token is missing/invalid."
1577
- msgstr ""
1578
-
1579
- #: lib/skyverge/woocommerce/payment-gateway/integrations/class-sv-wc-payment-gateway-integration-subscriptions.php:247
1580
- msgid "%1$s - Subscription Renewal Order %2$s"
1581
- msgstr ""
1582
-
1583
- #: lib/skyverge/woocommerce/payment-gateway/integrations/class-sv-wc-payment-gateway-integration-subscriptions.php:379
1584
- #. translators: Placeholders: %1$s - payment gateway title, %2$s - error
1585
- #. message; e.g. Order Note: [Payment method] Payment Change failed [error]
1586
- msgid "%1$s Payment Change Failed (%2$s)"
1587
- msgstr ""
1588
-
1589
- #: lib/skyverge/woocommerce/payment-gateway/integrations/class-sv-wc-payment-gateway-integration-subscriptions.php:510
1590
- #: lib/skyverge/woocommerce/payment-gateway/integrations/class-sv-wc-payment-gateway-integration-subscriptions.php:1030
1591
- msgid "Via %s ending in %s"
1592
- msgstr ""
1593
-
1594
- #: lib/skyverge/woocommerce/payment-gateway/integrations/class-sv-wc-payment-gateway-integration-subscriptions.php:537
1595
- msgid "Subscriptions"
1596
- msgstr ""
1597
-
1598
- #: lib/skyverge/woocommerce/payment-gateway/integrations/class-sv-wc-payment-gateway-integration-subscriptions.php:607
1599
- msgid ""
1600
- "This payment method is tied to a subscription and cannot be deleted. Please "
1601
- "switch the subscription to another method first."
1602
- msgstr ""
1603
-
1604
- #: lib/skyverge/woocommerce/payment-gateway/integrations/class-sv-wc-payment-gateway-integration-subscriptions.php:617
1605
- msgid "View Subscription"
1606
- msgstr ""
1607
-
1608
- #: lib/skyverge/woocommerce/payment-gateway/integrations/class-sv-wc-payment-gateway-integration-subscriptions.php:671
1609
- msgid "Payment Token"
1610
- msgstr ""
1611
-
1612
- #: lib/skyverge/woocommerce/payment-gateway/integrations/class-sv-wc-payment-gateway-integration-subscriptions.php:699
1613
- #: lib/skyverge/woocommerce/payment-gateway/integrations/class-sv-wc-payment-gateway-integration-subscriptions.php:704
1614
- msgid "%s is required."
1615
- msgstr ""
1616
-
1617
- #: lib/skyverge/woocommerce/payment-gateway/integrations/class-sv-wc-payment-gateway-integration-subscriptions.php:859
1618
- msgid "%s0 Subscription Renewal Approved"
1619
- msgstr ""
1620
-
1621
- #: lib/skyverge/woocommerce/payment-gateway/integrations/class-sv-wc-payment-gateway-integration-subscriptions.php:907
1622
- msgid "%s Check Subscription Renewal Payment Approved: %s account ending in %s"
1623
- msgstr ""
1624
-
1625
- #: lib/skyverge/woocommerce/payment-gateway/payment-tokens/class-sv-wc-payment-gateway-payment-tokens-handler.php:154
1626
- msgid "Unknown Error"
1627
- msgstr ""
1628
-
1629
- #: lib/skyverge/woocommerce/payment-gateway/payment-tokens/class-sv-wc-payment-gateway-payment-tokens-handler.php:748
1630
- #. translators: Placeholders: %1$s - payment gateway title (such as
1631
- #. Authorize.net, Braintree, etc), %2$s - payment method name (mastercard, bank
1632
- #. account, etc), %3$s - last four digits of the card/account, %4$s -
1633
- #. card/account expiry date
1634
- msgid "%1$s Payment Method Saved: %2$s ending in %3$s (expires %4$s)"
1635
- msgstr ""
1636
-
1637
- #: lib/skyverge/woocommerce/payment-gateway/payment-tokens/class-sv-wc-payment-gateway-payment-tokens-handler.php:759
1638
- #. translators: Placeholders: %1$s - payment gateway title (such as CyberSouce,
1639
- #. NETbilling, etc), %2$s - account type (checking/savings - may or may not be
1640
- #. available), %3$s - last four digits of the account
1641
- msgid "%1$s eCheck Payment Method Saved: %2$s account ending in %3$s"
1642
- msgstr ""
1643
-
1644
- #: woocommerce-gateway-paypal-powered-by-braintree.php:116
1645
- msgid ""
1646
- "WooCommerce PayPal powered by Braintree is inactive. Please deactivate the "
1647
- "retired WooCommerce Braintree plugin."
1648
- msgstr ""
1649
-
1650
- #: woocommerce-gateway-paypal-powered-by-braintree.php:204
1651
- msgid ""
1652
- "The minimum PHP version required for this plugin is %1$s. You are running "
1653
- "%2$s."
1654
- msgstr ""
1655
-
1656
- #. Plugin URI of the plugin/theme
1657
- msgid ""
1658
- "https://docs.woocommerce.com/document/woocommerce-gateway-paypal-powered-by-"
1659
- "braintree/"
1660
- msgstr ""
1661
-
1662
- #. Description of the plugin/theme
1663
- msgid ""
1664
- "Receive credit card or PayPal payments using Paypal Powered by Braintree. "
1665
- "A server with cURL, SSL support, and a valid SSL certificate is required "
1666
- "(for security reasons) for this gateway to function. Requires PHP 5.4+"
1667
- msgstr ""
1668
-
1669
- #. Author URI of the plugin/theme
1670
- msgid "http://woocommerce.com/"
1671
  msgstr ""
1672
 
1673
  #: includes/class-wc-braintree-frontend.php:66
1674
  msgctxt "Payment Method Type"
1675
  msgid "Type"
1676
- msgstr ""
1677
-
1678
- #: lib/skyverge/woocommerce/class-sv-wc-plugin.php:487
1679
- msgctxt "noun"
1680
- msgid "Support"
1681
- msgstr ""
1682
-
1683
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway-direct.php:680
1684
- msgctxt "noun, software environment"
1685
- msgid "Test"
1686
- msgstr ""
1687
-
1688
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway-direct.php:681
1689
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:2419
1690
- msgctxt "credit card transaction type"
1691
- msgid "Authorization"
1692
- msgstr ""
1693
-
1694
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway-direct.php:681
1695
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:2418
1696
- msgctxt "noun, credit card transaction type"
1697
- msgid "Charge"
1698
- msgstr ""
1699
-
1700
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway-helper.php:199
1701
- msgctxt "payment method type"
1702
- msgid "Account"
1703
- msgstr ""
1704
-
1705
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway-helper.php:234
1706
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:2625
1707
- msgctxt "credit card type"
1708
- msgid "Visa"
1709
- msgstr ""
1710
-
1711
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway-helper.php:238
1712
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:2626
1713
- msgctxt "credit card type"
1714
- msgid "MasterCard"
1715
- msgstr ""
1716
-
1717
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway-helper.php:242
1718
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:2627
1719
- msgctxt "credit card type"
1720
- msgid "American Express"
1721
- msgstr ""
1722
-
1723
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway-helper.php:246
1724
- msgctxt "credit card type"
1725
- msgid "Diners Club"
1726
- msgstr ""
1727
-
1728
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway-helper.php:250
1729
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:2628
1730
- msgctxt "credit card type"
1731
- msgid "Discover"
1732
- msgstr ""
1733
-
1734
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway-helper.php:254
1735
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:2630
1736
- msgctxt "credit card type"
1737
- msgid "JCB"
1738
- msgstr ""
1739
-
1740
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway-helper.php:258
1741
- msgctxt "credit card type"
1742
- msgid "CarteBleue"
1743
- msgstr ""
1744
-
1745
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway-helper.php:262
1746
- msgctxt "credit card type"
1747
- msgid "Maestro"
1748
- msgstr ""
1749
-
1750
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway-helper.php:266
1751
- msgctxt "credit card type"
1752
- msgid "Laser"
1753
- msgstr ""
1754
-
1755
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:2629
1756
- msgctxt "credit card type"
1757
- msgid "Diners"
1758
- msgstr ""
1759
-
1760
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway-payment-form.php:427
1761
- #. translators: http:www.investopedia.com/terms/c/checkingaccount.asp
1762
- msgctxt "account type"
1763
- msgid "Checking"
1764
- msgstr ""
1765
-
1766
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway-payment-form.php:429
1767
- #. translators: http:www.investopedia.com/terms/s/savingsaccount.asp
1768
- msgctxt "account type"
1769
- msgid "Savings"
1770
- msgstr ""
1771
-
1772
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:1928
1773
- msgctxt "hash before order number"
1774
- msgid "#"
1775
- msgstr ""
1776
-
1777
- #: lib/skyverge/woocommerce/payment-gateway/integrations/class-sv-wc-payment-gateway-integration-subscriptions.php:567
1778
- msgctxt "hash before order number"
1779
- msgid "#%s"
1780
- msgstr ""
1781
-
1782
- #: lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php:3215
1783
- #. translators: https:www.skyverge.com/for-translators-environments/
1784
- msgctxt "software environment"
1785
- msgid "Production"
1786
- msgstr ""
1787
-
1788
- #: lib/skyverge/woocommerce/payment-gateway/integrations/class-sv-wc-payment-gateway-integration-subscriptions.php:897
1789
- msgctxt "woocommerce-gateway-paypal-powered-by-braintree"
1790
- msgid "%s %s Subscription Renewal Payment Approved: %s ending in %s (expires %s)"
1791
- msgstr ""
1792
-
1793
- #: lib/skyverge/woocommerce/payment-gateway/integrations/class-sv-wc-payment-gateway-integration-subscriptions.php:930
1794
- msgctxt "woocommerce-gateway-paypal-powered-by-braintree"
1795
- msgid "%s Renewal Payment Failed (%s)"
1796
  msgstr ""
2
  # This file is distributed under the same license as the WooCommerce PayPal Powered by Braintree Gateway package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: WooCommerce PayPal Powered by Braintree Gateway 2.1.3\n"
6
  "Report-Msgid-Bugs-To: "
7
+ "https://woocommerce.com/my-account/marketplace-ticket-form/\n"
8
+ "POT-Creation-Date: 2018-08-01 15:21:54+00:00\n"
 
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=utf-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
140
  msgstr ""
141
 
142
  #: includes/class-wc-braintree-frontend.php:113
 
 
143
  #. translators: %s - last four digits of a card/account
 
 
144
  msgid "ending in %s"
145
  msgstr ""
146
 
147
  #: includes/class-wc-braintree-frontend.php:119
 
148
  msgid "(default)"
149
  msgstr ""
150
 
227
  msgstr ""
228
 
229
  #: includes/class-wc-gateway-braintree-credit-card.php:225
 
230
  msgid "Card Verification (CSC)"
231
  msgstr ""
232
 
257
  msgstr ""
258
 
259
  #: includes/class-wc-gateway-braintree-paypal.php:157
 
 
260
  msgid "Token ID"
261
  msgstr ""
262
 
305
  msgstr ""
306
 
307
  #: includes/class-wc-gateway-braintree-paypal.php:378
 
 
 
 
 
 
308
  #. translators: Placeholders: %s - transaction ID
309
  msgid "(Transaction ID %s)"
310
  msgstr ""
314
  msgstr ""
315
 
316
  #: includes/class-wc-gateway-braintree-paypal.php:478
 
317
  msgid "PayPal"
318
  msgstr ""
319
 
495
 
496
  #: includes/payment-forms/class-wc-braintree-paypal-payment-form.php:72
497
  msgid ""
498
+ "Please click the \"PayPal\" button below to log into your PayPal account "
499
+ "before placing your order."
500
  msgstr ""
501
 
502
  #: includes/payment-forms/class-wc-braintree-paypal-payment-form.php:73
503
  msgid ""
504
+ "Please click the \"PayPal\" button below to log into your PayPal account "
505
+ "before adding your payment method."
506
  msgstr ""
507
 
508
  #: includes/views/admin-html-braintree-auth.php:32
517
  msgid "Not ready to accept live payments? Click here to connect using sandbox mode."
518
  msgstr ""
519
 
520
+ #: woocommerce-gateway-paypal-powered-by-braintree.php:118
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
521
  msgid ""
522
+ "WooCommerce PayPal powered by Braintree is inactive. Please deactivate the "
523
+ "retired WooCommerce Braintree plugin."
 
 
 
 
 
 
524
  msgstr ""
525
 
526
+ #: woocommerce-gateway-paypal-powered-by-braintree.php:206
527
  msgid ""
528
+ "The minimum PHP version required for this plugin is %1$s. You are running "
529
+ "%2$s."
 
 
 
 
530
  msgstr ""
531
 
532
+ #. Plugin URI of the plugin/theme
533
  msgid ""
534
+ "https://docs.woocommerce.com/document/woocommerce-gateway-paypal-powered-by-"
535
+ "braintree/"
536
  msgstr ""
537
 
538
+ #. Description of the plugin/theme
539
  msgid ""
540
+ "Receive credit card or PayPal payments using Paypal Powered by Braintree. "
541
+ "A server with cURL, SSL support, and a valid SSL certificate is required "
542
+ "(for security reasons) for this gateway to function. Requires PHP 5.4+"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
543
  msgstr ""
544
 
545
+ #. Author of the plugin/theme
546
+ msgid "WooCommerce"
547
  msgstr ""
548
 
549
+ #. Author URI of the plugin/theme
550
+ msgid "http://woocommerce.com/"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
551
  msgstr ""
552
 
553
  #: includes/class-wc-braintree-frontend.php:66
554
  msgctxt "Payment Method Type"
555
  msgid "Type"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
556
  msgstr ""
includes/class-wc-gateway-braintree-credit-card.php CHANGED
@@ -128,10 +128,10 @@ class WC_Gateway_Braintree_Credit_Card extends WC_Gateway_Braintree {
128
 
129
  parent::enqueue_gateway_assets();
130
 
131
- wp_enqueue_script( 'braintree-js-hosted-fields', 'https://js.braintreegateway.com/web/3.26.0/js/hosted-fields.min.js', array(), WC_Braintree::VERSION, true );
132
 
133
  if ( $this->is_3d_secure_enabled() ) {
134
- wp_enqueue_script( 'braintree-js-3d-secure', 'https://js.braintreegateway.com/web/3.26.0/js/three-d-secure.min.js', array(), WC_Braintree::VERSION, true );
135
  }
136
  }
137
  }
128
 
129
  parent::enqueue_gateway_assets();
130
 
131
+ wp_enqueue_script( 'braintree-js-hosted-fields', 'https://js.braintreegateway.com/web/3.34.0/js/hosted-fields.min.js', array(), WC_Braintree::VERSION, true );
132
 
133
  if ( $this->is_3d_secure_enabled() ) {
134
+ wp_enqueue_script( 'braintree-js-3d-secure', 'https://js.braintreegateway.com/web/3.34.0/js/three-d-secure.min.js', array(), WC_Braintree::VERSION, true );
135
  }
136
  }
137
  }
includes/class-wc-gateway-braintree-paypal.php CHANGED
@@ -108,7 +108,7 @@ class WC_Gateway_Braintree_PayPal extends WC_Gateway_Braintree {
108
  parent::enqueue_gateway_assets();
109
 
110
  wp_enqueue_script( 'braintree-js-paypal', 'https://www.paypalobjects.com/api/checkout.js', array(), WC_Braintree::VERSION, true );
111
- wp_enqueue_script( 'braintree-js-paypal-checkout', 'https://js.braintreegateway.com/web/3.26.0/js/paypal-checkout.min.js', array(), WC_Braintree::VERSION, true );
112
  }
113
  }
114
 
108
  parent::enqueue_gateway_assets();
109
 
110
  wp_enqueue_script( 'braintree-js-paypal', 'https://www.paypalobjects.com/api/checkout.js', array(), WC_Braintree::VERSION, true );
111
+ wp_enqueue_script( 'braintree-js-paypal-checkout', 'https://js.braintreegateway.com/web/3.34.0/js/paypal-checkout.min.js', array(), WC_Braintree::VERSION, true );
112
  }
113
  }
114
 
includes/class-wc-gateway-braintree.php CHANGED
@@ -105,7 +105,7 @@ class WC_Gateway_Braintree extends WC_Braintree_Framework\SV_WC_Payment_Gateway_
105
  if ( $this->is_available() ) {
106
 
107
  // braintree.js library
108
- wp_enqueue_script( 'braintree-js-client', 'https://js.braintreegateway.com/web/3.26.0/js/client.min.js', array(), WC_Braintree::VERSION, true );
109
 
110
  parent::enqueue_gateway_assets();
111
  }
105
  if ( $this->is_available() ) {
106
 
107
  // braintree.js library
108
+ wp_enqueue_script( 'braintree-js-client', 'https://js.braintreegateway.com/web/3.34.0/js/client.min.js', array(), WC_Braintree::VERSION, true );
109
 
110
  parent::enqueue_gateway_assets();
111
  }
includes/payment-forms/class-wc-braintree-paypal-payment-form.php CHANGED
@@ -69,8 +69,8 @@ class WC_Braintree_PayPal_Payment_Form extends WC_Braintree_Payment_Form {
69
 
70
  return array(
71
  'is_test_environment' => $this->get_gateway()->is_test_environment(),
72
- 'must_login_message' => __( 'Please click the blue "PayPal" button below to log into your PayPal account before placing your order.', 'woocommerce-gateway-paypal-powered-by-braintree' ),
73
- 'must_login_add_method_message' => __( 'Please click the blue "PayPal" button below to log into your PayPal account before adding your payment method.', 'woocommerce-gateway-paypal-powered-by-braintree' ),
74
  'button_styles' => wp_parse_args( $button_styles, $default_button_styles ), // ensure all expected parameters are present after filtering to avoid JS errors
75
  );
76
  }
69
 
70
  return array(
71
  'is_test_environment' => $this->get_gateway()->is_test_environment(),
72
+ 'must_login_message' => __( 'Please click the "PayPal" button below to log into your PayPal account before placing your order.', 'woocommerce-gateway-paypal-powered-by-braintree' ),
73
+ 'must_login_add_method_message' => __( 'Please click the "PayPal" button below to log into your PayPal account before adding your payment method.', 'woocommerce-gateway-paypal-powered-by-braintree' ),
74
  'button_styles' => wp_parse_args( $button_styles, $default_button_styles ), // ensure all expected parameters are present after filtering to avoid JS errors
75
  );
76
  }
lib/skyverge/woocommerce/changelog.txt CHANGED
File without changes
lib/skyverge/woocommerce/class-sv-wc-helper.php CHANGED
File without changes
lib/skyverge/woocommerce/class-sv-wc-plugin-compatibility.php CHANGED
File without changes
lib/skyverge/woocommerce/class-sv-wp-admin-message-handler.php CHANGED
File without changes
lib/skyverge/woocommerce/compatibility/class-sv-wc-order-compatibility.php CHANGED
File without changes
lib/skyverge/woocommerce/compatibility/class-sv-wc-product-compatibility.php CHANGED
File without changes
lib/skyverge/woocommerce/i18n/languages/woocommerce-plugin-framework-et.mo DELETED
Binary file
lib/skyverge/woocommerce/i18n/languages/woocommerce-plugin-framework-et.po DELETED
@@ -1,1315 +0,0 @@
1
- # Copyright (C) 2015
2
- # This file is distributed under the same license as the package.
3
- # Translators:
4
- # Illimar Tambek <illimar.tambek@gmail.com>, 2015
5
- msgid ""
6
- msgstr ""
7
- "Project-Id-Version: WC Plugin Framework\n"
8
- "Report-Msgid-Bugs-To: https://support.woothemes.com/hc/\n"
9
- "POT-Creation-Date: 2015-07-22 12:09:16+00:00\n"
10
- "PO-Revision-Date: 2015-07-30 18:14+0000\n"
11
- "Last-Translator: Illimar Tambek <illimar.tambek@gmail.com>\n"
12
- "Language-Team: Estonian (http://www.transifex.com/projects/p/wc-plugin-"
13
- "framework/language/et/)\n"
14
- "Language: et\n"
15
- "MIME-Version: 1.0\n"
16
- "Content-Type: text/plain; charset=UTF-8\n"
17
- "Content-Transfer-Encoding: 8bit\n"
18
- "Plural-Forms: nplurals=2; plural=(n != 1);\n"
19
-
20
- #. translators: this is an action that dismisses a message
21
- #: class-sv-wc-admin-notice-handler.php:194
22
- msgid "Dismiss"
23
- msgstr "Loobu"
24
-
25
- #: class-sv-wc-framework-bootstrap.php:317
26
- msgid ""
27
- "The following plugins are inactive because they require a newer version to "
28
- "function properly:"
29
- msgstr "Järgnevad pluginad ei ole aktiivsed ja vajavad toimimiseks uuendamist:"
30
-
31
- #: class-sv-wc-framework-bootstrap.php:317
32
- msgid ""
33
- "The following plugin is inactive because it requires a newer version to "
34
- "function properly:"
35
- msgstr "Järgnev plugin ei ole aktiivne ja vajab toimimiseks uuendamist:"
36
-
37
- #. translators: %1$s - <a> tag, %2$s - </a> tag, %3$s - <em> tag, %4$s - </em>
38
- #. tag, %5$s - <a> tag, %6$s - </a> tag
39
- #: class-sv-wc-framework-bootstrap.php:328
40
- msgid ""
41
- "To reactivate these plugins, please %1$supdate now (recommended)%2$s %3$sor"
42
- "%4$s %5$sdeactivate the following%6$s:"
43
- msgstr ""
44
- "Et neid pluginaid taas sisse lülitada, %1$suuenda palun kohe "
45
- "(soovitatud)%2$s %3$svõi%4$s %5$slülita järgnevad välja%6$s:"
46
-
47
- #: class-sv-wc-framework-bootstrap.php:329
48
- msgid ""
49
- "To reactivate this plugin, please %1$supdate now (recommended)%2$s %3$sor"
50
- "%4$s %5$sdeactivate the following%6$s:"
51
- msgstr ""
52
- "Et see plugin taas sisse lülitada, %1$suuenda palun kohe (soovitatud)%2$s "
53
- "%3$svõi%4$s %5$slülita järgnevad välja%6$s:"
54
-
55
- #: class-sv-wc-framework-bootstrap.php:345
56
- msgid ""
57
- "The following plugins are inactive because they require a newer version of "
58
- "WooCommerce:"
59
- msgstr ""
60
- "Järgnevad pluginad ei ole aktiivsed, kuna vajavad korrektselt töötamiseks "
61
- "uuemat WooCommerce'i versiooni:"
62
-
63
- #: class-sv-wc-framework-bootstrap.php:345
64
- msgid ""
65
- "The following plugin is inactive because it requires a newer version of "
66
- "WooCommerce:"
67
- msgstr ""
68
- "Järgnev plugin ei ole aktiivne, kuna vajab korrektselt töötamiseks uuemat "
69
- "WooCommerce'i versiooni:"
70
-
71
- #. translators: %1$s - plugin name, %2$s - WooCommerce version number
72
- #: class-sv-wc-framework-bootstrap.php:350
73
- msgid "%1$s requires WooCommerce %2$s or newer"
74
- msgstr "%1$s vajab WooCommerce'i versiooni %2$s või uuemat"
75
-
76
- #. translators: %1$s - <a> tag, %2$s - </a> tag
77
- #: class-sv-wc-framework-bootstrap.php:354
78
- msgid "Please %1$supdate WooCommerce%2$s"
79
- msgstr "Palun %1$suuenda WooCommerce'i%2$s"
80
-
81
- #. translators: %s - plugin name
82
- #: class-sv-wc-plugin.php:195
83
- msgid "You cannot clone instances of %s."
84
- msgstr "%s eksemplari ei saa kloonida."
85
-
86
- #. translators: %s - plugin name
87
- #: class-sv-wc-plugin.php:205
88
- msgid "You cannot unserialize instances of %s."
89
- msgstr "%s eksemplari ei saa deserialiseerida (unserialize)."
90
-
91
- #. translators: %1$s - plugin name, %2$s - a PHP extension/comma-separated list
92
- #. of PHP extensions
93
- #: class-sv-wc-plugin.php:341
94
- msgid ""
95
- "%1$s requires the %2$s PHP extension to function. Contact your host or "
96
- "server administrator to configure and install the missing extension."
97
- msgid_plural ""
98
- "%1$s requires the following PHP extensions to function: %2$s. Contact your "
99
- "host or server administrator to configure and install the missing extensions."
100
- msgstr[0] ""
101
- msgstr[1] ""
102
-
103
- #. translators: %1$s - plugin name, %2$s - a PHP function/comma-separated list
104
- #. of PHP functions
105
- #: class-sv-wc-plugin.php:362
106
- msgid ""
107
- "%1$s requires the %2$s PHP function to exist. Contact your host or server "
108
- "administrator to configure and install the missing function."
109
- msgid_plural ""
110
- "%1$s requires the following PHP functions to exist: %2$s. Contact your host "
111
- "or server administrator to configure and install the missing functions."
112
- msgstr[0] ""
113
- msgstr[1] ""
114
-
115
- #. translators: Docs as in Documentation
116
- #: class-sv-wc-plugin.php:398
117
- msgid "Docs"
118
- msgstr "Dokumentatsioon"
119
-
120
- #: class-sv-wc-plugin.php:653
121
- msgid "Configure"
122
- msgstr "Seadista"
123
-
124
- #. translators: %s - payment gateway title
125
- #: payment-gateway/admin/class-sv-wc-payment-gateway-admin-user-edit-handler.php:125
126
- msgid "%s Customer Details"
127
- msgstr "%s: kliendi andmed"
128
-
129
- #. translators: %s - environment name (production/test)
130
- #: payment-gateway/admin/class-sv-wc-payment-gateway-admin-user-edit-handler.php:236
131
- msgid "Customer ID (%s)"
132
- msgstr "Kliendi ID (%s)"
133
-
134
- #: payment-gateway/admin/class-sv-wc-payment-gateway-admin-user-edit-handler.php:236
135
- msgid "Customer ID"
136
- msgstr "Kliendi ID"
137
-
138
- #. translators: %s - environment name (production/test -
139
- #. https:www.skyverge.com/for-translators-environments/)
140
- #: payment-gateway/admin/class-sv-wc-payment-gateway-admin-user-edit-handler.php:239
141
- msgid ""
142
- "The gateway customer ID for the user in the %s environment. Only edit this "
143
- "if necessary."
144
- msgstr ""
145
- "Kasutajale makseviisi poolt määratud kliendi tunnus %s keskkonnas. Muuda "
146
- "seda ainult siis, kui tõesti vajalik."
147
-
148
- #: payment-gateway/admin/class-sv-wc-payment-gateway-admin-user-edit-handler.php:239
149
- msgid "The gateway customer ID for the user. Only edit this if necessary."
150
- msgstr ""
151
- "Kasutajale makseviisi poolt määratud kliendi tunnus. Muuda seda ainult siis, "
152
- "kui tõesti vajalik."
153
-
154
- #. translators: %s - environment name (production/test). Payment Token - as in
155
- #. a specific entity used to make payments, such as a specific credit card,
156
- #. e-check account, bank account, etc.
157
- #: payment-gateway/admin/class-sv-wc-payment-gateway-admin-user-edit-handler.php:307
158
- msgid "%s Payment Tokens"
159
- msgstr "%s maksevahendid"
160
-
161
- #: payment-gateway/admin/class-sv-wc-payment-gateway-admin-user-edit-handler.php:307
162
- msgid "Payment Tokens"
163
- msgstr "Maksevahendid"
164
-
165
- #. translators: Payment Token as in a specific entity used to make payments,
166
- #. such as a specific credit card, e-check account, bank account, etc.
167
- #: payment-gateway/admin/class-sv-wc-payment-gateway-admin-user-edit-handler.php:312
168
- msgid "This customer has no saved payment tokens"
169
- msgstr "Sel kliendil ei ole salvestatud maksevahendeid"
170
-
171
- #. translators: %1$s - credit card type (mastercard, visa, ...), %2$s - last 4
172
- #. numbers of the card, %3$s - card expiry date
173
- #: payment-gateway/admin/class-sv-wc-payment-gateway-admin-user-edit-handler.php:321
174
- msgid "Default card"
175
- msgstr "Vaikimisi kaart"
176
-
177
- #: payment-gateway/admin/class-sv-wc-payment-gateway-admin-user-edit-handler.php:322
178
- #: payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:410
179
- msgid "Delete"
180
- msgstr "Kustuta"
181
-
182
- #. translators: Payment Token as in a specific entity used to make payments,
183
- #. such as a specific credit card, e-check account, bank account, etc.
184
- #: payment-gateway/admin/class-sv-wc-payment-gateway-admin-user-edit-handler.php:334
185
- msgid "Add a Payment Token"
186
- msgstr "Lisa maksevahend"
187
-
188
- #: payment-gateway/admin/class-sv-wc-payment-gateway-admin-user-edit-handler.php:336
189
- msgid "Token"
190
- msgstr "Vahend"
191
-
192
- #: payment-gateway/admin/class-sv-wc-payment-gateway-admin-user-edit-handler.php:339
193
- msgid "Card Type"
194
- msgstr "Kaardi tüüp"
195
-
196
- #: payment-gateway/admin/class-sv-wc-payment-gateway-admin-user-edit-handler.php:350
197
- msgid "Last Four"
198
- msgstr "Viimased 4 numbrit"
199
-
200
- #: payment-gateway/admin/class-sv-wc-payment-gateway-admin-user-edit-handler.php:351
201
- msgid "Expiry Date (01/%s)"
202
- msgstr "Aegumiskuupäev (01/%s)"
203
-
204
- #: payment-gateway/admin/class-sv-wc-payment-gateway-admin-user-edit-handler.php:379
205
- msgid ""
206
- "Are you sure you wish to do this? Change will not be finalized until you "
207
- "click \"Update\""
208
- msgstr ""
209
- "Oled kindel, et soovid seda teha? Muudatust ei rakendata enne kui klikid "
210
- "\"Uuenda\""
211
-
212
- #: payment-gateway/api/class-sv-wc-payment-gateway-api-response-message-helper.php:110
213
- msgid "An error occurred, please try again or try an alternate form of payment"
214
- msgstr "Esines viga, palun proovi uuesti või kasuta teistsugust makseviisi"
215
-
216
- #: payment-gateway/api/class-sv-wc-payment-gateway-api-response-message-helper.php:111
217
- msgid ""
218
- "We cannot process your order with the payment information that you provided. "
219
- "Please use a different payment account or an alternate payment method."
220
- msgstr ""
221
- "Me ei saa sinu tellimust antud makseinfo alusel töödelda. Palun kasuta teist "
222
- "maksekontot või teistsugust makseviisi."
223
-
224
- #: payment-gateway/api/class-sv-wc-payment-gateway-api-response-message-helper.php:112
225
- msgid ""
226
- "This order is being placed on hold for review. Please contact us to complete "
227
- "the transaction."
228
- msgstr ""
229
- "Tellimus on pandud ülevaatuseks ootele. Tehingu sooritamiseks võta palun "
230
- "meiega ühendust."
231
-
232
- #: payment-gateway/api/class-sv-wc-payment-gateway-api-response-message-helper.php:117
233
- msgid ""
234
- "This order is being placed on hold for review due to an incorrect card "
235
- "verification number. You may contact the store to complete the transaction."
236
- msgstr ""
237
- "Tellimus pandi ootele, kuna kaardi turvakood oli vale. Tehingu "
238
- "lõpuleviimiseks võid poega ühendust võtta."
239
-
240
- #: payment-gateway/api/class-sv-wc-payment-gateway-api-response-message-helper.php:118
241
- msgid "The card verification number is invalid, please try again."
242
- msgstr "Kaardi turvakood on vale, palun proovi uuesti."
243
-
244
- #: payment-gateway/api/class-sv-wc-payment-gateway-api-response-message-helper.php:119
245
- msgid "Please enter your card verification number and try again."
246
- msgstr "Palun sisesta oma kaardi turvakood ja proovi uuesti."
247
-
248
- #: payment-gateway/api/class-sv-wc-payment-gateway-api-response-message-helper.php:122
249
- msgid ""
250
- "That card type is not accepted, please use an alternate card or other form "
251
- "of payment."
252
- msgstr ""
253
- "Sellist tüüpi kaarti ei võeta vastu, palun proovi mõnda teist kaarti või "
254
- "teistsugust makseviisi."
255
-
256
- #: payment-gateway/api/class-sv-wc-payment-gateway-api-response-message-helper.php:123
257
- #: payment-gateway/api/class-sv-wc-payment-gateway-api-response-message-helper.php:127
258
- msgid ""
259
- "The card type is invalid or does not correlate with the credit card number. "
260
- "Please try again or use an alternate card or other form of payment."
261
- msgstr ""
262
- "Kaardi tüüp on vigane või ei vasta kaardi numbrile. Palun proovi uuesti, "
263
- "proovi mõnda teist kaarti või teistsugust makseviisi."
264
-
265
- #: payment-gateway/api/class-sv-wc-payment-gateway-api-response-message-helper.php:124
266
- msgid "Please select the card type and try again."
267
- msgstr "Palun vali kaardi tüüp ja proovi uuesti."
268
-
269
- #: payment-gateway/api/class-sv-wc-payment-gateway-api-response-message-helper.php:128
270
- msgid "The card number is invalid, please re-enter and try again."
271
- msgstr "Kaardi number on vigane, palun sisesta uuesti ja proovi veelkord."
272
-
273
- #: payment-gateway/api/class-sv-wc-payment-gateway-api-response-message-helper.php:129
274
- msgid "Please enter your card number and try again."
275
- msgstr "Palun sisesta oma kaardi number ja proovi uuesti."
276
-
277
- #: payment-gateway/api/class-sv-wc-payment-gateway-api-response-message-helper.php:132
278
- msgid "The card expiration date is invalid, please re-enter and try again."
279
- msgstr ""
280
- "Kaardi aegumiskuupäev on vale, palun sisesta uuesti ja proovi veelkord."
281
-
282
- #: payment-gateway/api/class-sv-wc-payment-gateway-api-response-message-helper.php:133
283
- msgid "The card expiration month is invalid, please re-enter and try again."
284
- msgstr "Kaardi aegumise kuu on vale, palun sisesta uuesti ja proovi veelkord."
285
-
286
- #: payment-gateway/api/class-sv-wc-payment-gateway-api-response-message-helper.php:134
287
- msgid "The card expiration year is invalid, please re-enter and try again."
288
- msgstr ""
289
- "Kaardi aegumise aasta on vale, palun sisesta uuesti ja proovi veelkord."
290
-
291
- #: payment-gateway/api/class-sv-wc-payment-gateway-api-response-message-helper.php:135
292
- msgid "Please enter your card expiration date and try again."
293
- msgstr "Palun sisesta oma kaardi aegumiskuupäev ja proovi uuesti."
294
-
295
- #: payment-gateway/api/class-sv-wc-payment-gateway-api-response-message-helper.php:138
296
- msgid "The bank routing number is invalid, please re-enter and try again."
297
- msgstr ""
298
- "Panga suunakood ei ole korrektne, palun sisesta uuesti ja proovi veelkord."
299
-
300
- #: payment-gateway/api/class-sv-wc-payment-gateway-api-response-message-helper.php:139
301
- msgid "The bank account number is invalid, please re-enter and try again."
302
- msgstr ""
303
- "Pangakonto number ei ole korrektne, palun sisesta uuesti ja proovi veelkord."
304
-
305
- #: payment-gateway/api/class-sv-wc-payment-gateway-api-response-message-helper.php:142
306
- msgid ""
307
- "The provided card is expired, please use an alternate card or other form of "
308
- "payment."
309
- msgstr ""
310
- "Antud kaart on aegunud, palun kasuta mõnda teist kaarti või teistsugust "
311
- "makseviisi."
312
-
313
- #: payment-gateway/api/class-sv-wc-payment-gateway-api-response-message-helper.php:143
314
- msgid ""
315
- "The provided card was declined, please use an alternate card or other form "
316
- "of payment."
317
- msgstr ""
318
- "Antud kaart klükati tagasi, palun kasuta mõnda teist kaarti või teistsugust "
319
- "makseviisi."
320
-
321
- #: payment-gateway/api/class-sv-wc-payment-gateway-api-response-message-helper.php:144
322
- msgid ""
323
- "Insufficient funds in account, please use an alternate card or other form of "
324
- "payment."
325
- msgstr ""
326
- "Kontol pole piisavalt vahendeid, palun kasuta mõnda teist kaarti või "
327
- "teistsugust makseviisi."
328
-
329
- #: payment-gateway/api/class-sv-wc-payment-gateway-api-response-message-helper.php:145
330
- msgid ""
331
- "The card is inactivate or not authorized for card-not-present transactions, "
332
- "please use an alternate card or other form of payment."
333
- msgstr ""
334
- "Antud kaart ei ole aktiveeritud või ei ole sellega internetimaksed lubatud. "
335
- "Palun kasuta mõnda teist kaarti või teistsugust makseviisi."
336
-
337
- #: payment-gateway/api/class-sv-wc-payment-gateway-api-response-message-helper.php:146
338
- msgid ""
339
- "The credit limit for the card has been reached, please use an alternate card "
340
- "or other form of payment."
341
- msgstr ""
342
- "Kaardi krediitilimiit on ära kasutatud, palun kasuta mõnda teist kaarti või "
343
- "teistsugust makseviisi."
344
-
345
- #: payment-gateway/api/class-sv-wc-payment-gateway-api-response-message-helper.php:147
346
- msgid ""
347
- "The card verification number does not match. Please re-enter and try again."
348
- msgstr "Kaardi turvakood ei klapi. Palun sisesta uuesti ja proovi veelkord."
349
-
350
- #: payment-gateway/api/class-sv-wc-payment-gateway-api-response-message-helper.php:148
351
- msgid ""
352
- "The provided address does not match the billing address for cardholder. "
353
- "Please verify the address and try again."
354
- msgstr ""
355
- "Antud aadress ei kattu kaardi omaniku aadressiga. Palun kontrolli, et "
356
- "sisestaid õige aadressi ning proovi uuesti."
357
-
358
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:120
359
- msgid ""
360
- "Payment error, please try another payment method or contact us to complete "
361
- "your transaction."
362
- msgstr ""
363
- "Viga maksega, palun proovi teistsugust makseviisi või võta meiega ühendust."
364
-
365
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:207
366
- #: payment-gateway/class-sv-wc-payment-gateway.php:534
367
- msgid "Card expiration date is invalid"
368
- msgstr "Kaardi aegumiskuupäev ei ole korrektne"
369
-
370
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:231
371
- #: payment-gateway/class-sv-wc-payment-gateway.php:527
372
- msgid "Card number is missing"
373
- msgstr "Kaardi number on puudu"
374
-
375
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:237
376
- #: payment-gateway/class-sv-wc-payment-gateway.php:530
377
- msgid "Card number is invalid (wrong length)"
378
- msgstr "Kaardi number ei ole korrektne (pikkus on vale)"
379
-
380
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:242
381
- #: payment-gateway/class-sv-wc-payment-gateway.php:529
382
- msgid "Card number is invalid (only digits allowed)"
383
- msgstr "Kaardi number ei ole korrektne (lubatud on ainult numbrid)"
384
-
385
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:247
386
- #: payment-gateway/class-sv-wc-payment-gateway.php:528
387
- msgid "Card number is invalid"
388
- msgstr "Kaardi number ei ole korrektne"
389
-
390
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:272
391
- #: payment-gateway/class-sv-wc-payment-gateway.php:531
392
- msgid "Card security code is missing"
393
- msgstr "Kaardi turvakood on puudu"
394
-
395
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:279
396
- #: payment-gateway/class-sv-wc-payment-gateway.php:532
397
- msgid "Card security code is invalid (only digits are allowed)"
398
- msgstr "Kaardi turvakood ei ole korrektne (lubatud on ainult numbrid)"
399
-
400
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:285
401
- #: payment-gateway/class-sv-wc-payment-gateway.php:533
402
- msgid "Card security code is invalid (must be 3 or 4 digits)"
403
- msgstr "Kaardi turvakood ei ole korrektne (peab olema 3 või 4 numbrit)"
404
-
405
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:314
406
- #: payment-gateway/class-sv-wc-payment-gateway.php:543
407
- msgid "Routing Number is missing"
408
- msgstr "Suunakood on puudu"
409
-
410
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:321
411
- #: payment-gateway/class-sv-wc-payment-gateway.php:544
412
- msgid "Routing Number is invalid (only digits are allowed)"
413
- msgstr "Suunakood ei ole korrektne (lubatud on ainult numbrid)"
414
-
415
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:327
416
- #: payment-gateway/class-sv-wc-payment-gateway.php:545
417
- msgid "Routing number is invalid (must be 9 digits)"
418
- msgstr "Suunakood ei ole korrektne (peab olemas 9 numbrit)"
419
-
420
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:336
421
- #: payment-gateway/class-sv-wc-payment-gateway.php:540
422
- msgid "Account Number is missing"
423
- msgstr "Konto number on puudu"
424
-
425
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:343
426
- #: payment-gateway/class-sv-wc-payment-gateway.php:541
427
- msgid "Account Number is invalid (only digits are allowed)"
428
- msgstr "Konto number ei ole korrektne (lubatud on ainult numbrid)"
429
-
430
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:349
431
- #: payment-gateway/class-sv-wc-payment-gateway.php:542
432
- msgid "Account number is invalid (must be between 5 and 17 digits)"
433
- msgstr "Konto number ei ole korrektne (peab olemas 5-17 numbrit)"
434
-
435
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:356
436
- #: payment-gateway/class-sv-wc-payment-gateway.php:539
437
- msgid "Drivers license number is invalid"
438
- msgstr "Juhiloa number ei ole korrektne"
439
-
440
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:362
441
- #: payment-gateway/class-sv-wc-payment-gateway.php:535
442
- msgid "Check Number is invalid (only digits are allowed)"
443
- msgstr "Tšeki number ei ole korrektne (lubatud on ainult numbrid)"
444
-
445
- #. translators: %1$s - site title, %2$s - order number. Definitions: Capture as
446
- #. in capture funds from a credit card.
447
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:610
448
- msgid "%1$s - Capture for Order %2$s"
449
- msgstr "%1$s - Tasumine tellimuse %2$s eest"
450
-
451
- #. translators: %1$s - payment method title, %2$s - payment account type
452
- #. (savings/checking) (may or may not be available), %3$s - last four digits of
453
- #. the account
454
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:636
455
- msgid "%1$s Check Transaction Approved: %2$s account ending in %3$s"
456
- msgstr "%1$s: tšeki tehing vastu võetud: %2$s konto, lõpeb numbritega %3$s"
457
-
458
- #. translators: %s - check number
459
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:641
460
- msgid "Check number %s"
461
- msgstr "Tšeki number %s"
462
-
463
- #. translators: %s - transaction ID
464
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:646
465
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:707
466
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:826
467
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:1597
468
- #: payment-gateway/class-sv-wc-payment-gateway-hosted.php:584
469
- #: payment-gateway/class-sv-wc-payment-gateway-hosted.php:621
470
- #: payment-gateway/class-sv-wc-payment-gateway-hosted.php:649
471
- #: payment-gateway/class-sv-wc-payment-gateway.php:1391
472
- #: payment-gateway/class-sv-wc-payment-gateway.php:1612
473
- msgid "(Transaction ID %s)"
474
- msgstr "(Tehingu ID %s)"
475
-
476
- #. translators: %1$s - payment method title, %2$s - environment ("Test"), %3$s
477
- #. - transaction type (authorization/charge), %4$s - card type (mastercard,
478
- #. visa, ...), %5$s - last four digits of the card, %6$s - expiry date
479
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:695
480
- #: payment-gateway/class-sv-wc-payment-gateway-hosted.php:572
481
- msgid "%1$s %2$s %3$s Approved: %4$s ending in %5$s (expires %6$s)"
482
- msgstr "%1$s %2$s: %3$s kinnitatud: %4$s lõpeb numbritega %5$s (aegub %6$s)"
483
-
484
- #. translators: %s - failure message
485
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:755
486
- msgid "Tokenization Request Failed: %s"
487
- msgstr "Maksevahendi salvestamise päring ebaõnnestus: %s"
488
-
489
- #. translators: %1$s - payment method title, %2$s - failure message
490
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:766
491
- msgid "%1$s Tokenization Request Failed: %2$s"
492
- msgstr "%1$s: maksevahendi salvestamise päring ebaõnnestus: %2$s"
493
-
494
- #. translators: This is a message describing that the transaction in question
495
- #. only performed a credit card authorization and did not capture any funds.
496
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:787
497
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:1614
498
- msgid "Authorization only transaction"
499
- msgstr "Autoriseerimise tehing"
500
-
501
- #. translators: %1$s - payment gateway title (such as Authorize.net, Braintree,
502
- #. etc), %2$s - transaction amount. Definitions: Capture, as in capture funds
503
- #. from a credit card.
504
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:819
505
- msgid "%1$s Capture of %2$s Approved"
506
- msgstr "%1$s: tasumine summas %2$s kinnitatud"
507
-
508
- #. translators: %1$s - payment gateway title (such as Authorize.net, Braintree,
509
- #. etc), %2$s - transaction amount, %3$s - transaction status message.
510
- #. Definitions: Capture, as in capture funds from a credit card.
511
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:847
512
- msgid "%1$s Capture Failed: %2$s - %3$s"
513
- msgstr "%1$s: tasumine ebaõnnestus: %2$s - %3$s"
514
-
515
- #. translators: %1$s - payment gateway title (such as Authorize.net, Braintree,
516
- #. etc), %2$s - failure message. Definitions: "capture" as in capturing funds
517
- #. from a credit card.
518
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:863
519
- msgid "%1$s Capture Failed: %2$s"
520
- msgstr "%1$s: makse teostamine ebaõnnestus: %2$s"
521
-
522
- #. translators: %s - a formatted subscription charge amount, such as $1,000
523
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:1136
524
- msgid "%s Subscription Renewal Approved"
525
- msgstr "Korduvtellimus summas %s uuendus kinnitatud"
526
-
527
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:1149
528
- msgid "Subscription Renewal: Payment Token or User ID is missing/invalid."
529
- msgstr ""
530
- "Korduvtellimuse uuendus: maksevahend või kasutajatunnus on puudu või vigane."
531
-
532
- #. translators: %1$s - payment gateway title (such as Authorize.net, Braintree,
533
- #. etc), %2$s - transaction type (authorization/charge), %3$s - card type
534
- #. (mastercard, visa, ...), %4$s - last four digits of the card, %5$s - card
535
- #. expiry date
536
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:1175
537
- msgid ""
538
- "%1$s %2$s Subscription Renewal Payment Approved: %3$s ending in %4$s "
539
- "(expires %5$s)"
540
- msgstr ""
541
- "%1$s: %2$s korduvtellimuse uuendamise makse kinnitatud: %3$s lõpeb "
542
- "numbritega %4$s (aegub %5$s)"
543
-
544
- #. translators: %1$s - payment gateway title (such as Authorize.net, Braintree,
545
- #. etc), %2$s - account type (checking/savings - may or may not be available),
546
- #. %3$s - last four digits of the account
547
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:1186
548
- msgid ""
549
- "%1$s Check Subscription Renewal Payment Approved: %2$s account ending in %3$s"
550
- msgstr ""
551
- "%1$s: tšekiga tasutav korduvtellimuse uuendamise makse kinnitatud: %2$s "
552
- "konto, lõpeb numbritega %3$s"
553
-
554
- #. translators: %1$s - payment type (MasterCard, Visa, eCheck, Bank Account,
555
- #. etc), %2$s - last four digits for the payment method (credit card, checkings
556
- #. account, etc)
557
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:1320
558
- msgid "Via %1$s ending in %2$s"
559
- msgstr "%1$s, lõpeb numbritega %2$s"
560
-
561
- #. translators: payment type (MasterCard, Visa, eCheck, Bank Account, etc),
562
- #. %2$s - failure message
563
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:1524
564
- msgid "%1$s Pre-Order Tokenization attempt failed (%2$s)"
565
- msgstr "%1$s: eeltellimuse maksevahendi salvestamise katse ebaõnnestus (%2$s)"
566
-
567
- #. translators: %1$s: site title, %2$s: order number. Release - as in when the
568
- #. pre-order is released/fulfilled.
569
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:1549
570
- msgid "%1$s - Pre-Order Release Payment for Order %2$s"
571
- msgstr "%1$s - Eeltellimuse väljastamise makse tellimuse %2$s eest"
572
-
573
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:1553
574
- msgid "Payment token missing/invalid."
575
- msgstr "Maksevahend on puudu või vigane."
576
-
577
- #. translators: %1$s - payment gateway title (such as Authorize.net, Braintree,
578
- #. etc), %2$s - transaction type (authorzation/charge), %3$s - credit card type
579
- #. (mastercard, visa, ...), %4$s - last for digits of the the card, %5$s - card
580
- #. expiry date
581
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:1579
582
- msgid ""
583
- "%1$s %2$s Pre-Order Release Payment Approved: %3$s ending in %4$s (expires "
584
- "%5$s)"
585
- msgstr ""
586
- "%1$s: %2$s eeltellimuse väljastamise makse vastu kinnitatud: %3$s lõpeb "
587
- "numbritega %4$s (aegub %5$s)"
588
-
589
- #. translators: %1$s - payment gateway title (such as Authorize.net, Braintree,
590
- #. etc), %2$s - e-check account type (Savings Account, Checking Account), %3$s
591
- #. - last four digits of the account
592
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:1591
593
- msgid "%1$s eCheck Pre-Order Release Payment Approved: %2$s ending in %3$s"
594
- msgstr ""
595
- "%1$s: e-tšeki eeltellimuse väljastamise makse kinnitatud: %2$s lõpeb "
596
- "numbritega %3$s"
597
-
598
- #. Translators: %s - failure message
599
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:1633
600
- msgid "Pre-Order Release Payment Failed: %s"
601
- msgstr "Eeltellimuse väljastamise makse ebaõnnestus: %s"
602
-
603
- #. translators: %1$s - payment gateway title (such as Authorize.net, Braintree,
604
- #. etc), %2$s - payment method name (mastercard, bank account, etc), %3$s -
605
- #. last four digits of the card/account, %4$s - card/account expiry date
606
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:1719
607
- msgid "%1$s Payment Method Saved: %2$s ending in %3$s (expires %4$s)"
608
- msgstr ""
609
- "%1$s: maksevahend salvestatud: %2$s lõpeb numbritega in %3$s (aegub %4$s)"
610
-
611
- #. translators: %1$s - payment gateway title (such as Cybersouce, Netbilling,
612
- #. etc), %2$s - account type (cheking/savings - may or may not be available),
613
- #. %3$s - last four digits of the account
614
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:1728
615
- msgid "%1$s eCheck Payment Method Saved: %2$s account ending in %3$s"
616
- msgstr ""
617
- "%1$s: e-tšeki maksevahend salvestatud: %2$s konto, lõpeb numbritega %3$s"
618
-
619
- #. translators: %1$s - payment request response status code, %2$s - payment
620
- #. request response status message
621
- #. translators: %1$s - status code, %2$s - status message
622
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:1749
623
- #: payment-gateway/class-sv-wc-payment-gateway.php:1733
624
- msgid "Status code %1$s: %2$s"
625
- msgstr "Staatuse kood %1$s: %2$s"
626
-
627
- #. translators: %s - payment request response status code
628
- #. translators: %s - status code
629
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:1752
630
- #: payment-gateway/class-sv-wc-payment-gateway.php:1736
631
- msgid "Status code: %s"
632
- msgstr "Staatuse kood: %s"
633
-
634
- #. translators: %s - payment request response status message
635
- #. translators: %s - status message
636
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:1755
637
- #: payment-gateway/class-sv-wc-payment-gateway.php:1739
638
- msgid "Status message: %s"
639
- msgstr "Staatuse teade: %s"
640
-
641
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:1757
642
- msgid "Unknown Error"
643
- msgstr "Esines tundmatu viga"
644
-
645
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:1762
646
- #: payment-gateway/class-sv-wc-payment-gateway.php:1744
647
- msgid "Transaction ID %s"
648
- msgstr "Tehingu ID %s"
649
-
650
- #. translators: %s - failure message. Payment method as in a specific credit
651
- #. card, e-check or bank account
652
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:2388
653
- msgid "Oops, adding your new payment method failed: %s"
654
- msgstr "Oih, sinu maksevahendi lisamine ebaõnnestus: %s"
655
-
656
- #. translators: Payment method as in a specific credit card. Placeholders: %1$s
657
- #. - card type (visa, mastercard, ...), %2$s - last four digits of the card,
658
- #. %3$s - card expiry date
659
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:2424
660
- msgid "Nice! New payment method added: %1$s ending in %2$s (expires %3$s)"
661
- msgstr ""
662
- "Lahe! Uus maksevahend lisatud: %1$s, lõpeb numbritega %2$s (aegub %3$s)"
663
-
664
- #. translators: Payment method as in a specific e-check account. Placeholders:
665
- #. %1$s - account type (checking/savings), %2$s - last four digits of the
666
- #. account
667
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:2434
668
- msgid "Nice! New payment method added: %1$s account ending in %2$s"
669
- msgstr "Lahe! Uus maksevahend lisatud: %1$s konto, lõpeb numbritega %2$s"
670
-
671
- #. translators: Payment method as in a specific credit card, e-check or bank
672
- #. account
673
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:2441
674
- msgid "Nice! New payment method added."
675
- msgstr "Lahe! Uus maksevahend lisatud."
676
-
677
- #. translators: %1$s - site title, %2$s - customer email. Payment method as in
678
- #. a specific credit card, e-check or bank account
679
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:2523
680
- msgid "%1$s - Add Payment Method for %2$s"
681
- msgstr "%1$s - Lisa maksevahend kliendile %2$s"
682
-
683
- #: payment-gateway/class-sv-wc-payment-gateway-helper.php:153
684
- msgid "PayPal"
685
- msgstr "PayPal"
686
-
687
- #: payment-gateway/class-sv-wc-payment-gateway-helper.php:154
688
- msgid "Checking Account"
689
- msgstr "Tšekikonto"
690
-
691
- #: payment-gateway/class-sv-wc-payment-gateway-helper.php:155
692
- msgid "Savings Account"
693
- msgstr "Hoiuarve"
694
-
695
- #: payment-gateway/class-sv-wc-payment-gateway-helper.php:156
696
- msgid "Credit / Debit Card"
697
- msgstr "Deebet- või krediitkaart"
698
-
699
- #: payment-gateway/class-sv-wc-payment-gateway-helper.php:157
700
- msgid "Bank Account"
701
- msgstr "Pangakonto"
702
-
703
- #: payment-gateway/class-sv-wc-payment-gateway-hosted.php:236
704
- msgid ""
705
- "Thank you for your order. We are now redirecting you to complete payment."
706
- msgstr "Aitäh tellimuse eest. Makse teostamiseks suunatakse sind nüüd edasi."
707
-
708
- #: payment-gateway/class-sv-wc-payment-gateway-hosted.php:261
709
- msgid "Thank you for your order, please click the button below to pay."
710
- msgstr "Aitäh tellimuse eest. Palun kliki maksmiseks alloleval nupul."
711
-
712
- #: payment-gateway/class-sv-wc-payment-gateway-hosted.php:264
713
- msgid "Pay Now"
714
- msgstr "Maksa"
715
-
716
- #. translators: Order as in e-commerce
717
- #: payment-gateway/class-sv-wc-payment-gateway-hosted.php:266
718
- msgid "Cancel Order"
719
- msgstr "Tühista tellimus"
720
-
721
- #. translators: IPN: https:en.wikipedia.org/wiki/Instant_payment_notification,
722
- #. %s: payment gateway title (such as Authorize.net, Braintree, etc)
723
- #: payment-gateway/class-sv-wc-payment-gateway-hosted.php:338
724
- msgid "IPN processing error: %s duplicate transaction received"
725
- msgstr "IPN töötlemise viga: %s duplikaattehing"
726
-
727
- #. translators: %s - payment gateway title (such as Authorize.net, Braintree,
728
- #. etc)
729
- #: payment-gateway/class-sv-wc-payment-gateway-hosted.php:407
730
- msgid "%s duplicate transaction received"
731
- msgstr "%s: duplikaattehing"
732
-
733
- #. translators: %1$s - payment method title, %2$s - environment ("Test"), %3$s
734
- #. - card type (mastercard, visa, ...), %4$s - last four digits of the card
735
- #: payment-gateway/class-sv-wc-payment-gateway-hosted.php:606
736
- msgid "%1$s %2$s Transaction Approved: %3$s ending in %4$s"
737
- msgstr "%1$s: %2$s tehing kinnitatud: %3$s lõpeb numbritega %4$s"
738
-
739
- #. translators: %s - check number
740
- #: payment-gateway/class-sv-wc-payment-gateway-hosted.php:616
741
- msgid "(check number %s)"
742
- msgstr "(tšeki number %s)"
743
-
744
- #. translators: %1$s - payment method title, %2$s - environment ("Test")
745
- #: payment-gateway/class-sv-wc-payment-gateway-hosted.php:642
746
- msgid "%1$s %2$s Transaction Approved"
747
- msgstr "%1$s: %2$s tehing kinnitatud"
748
-
749
- #. translators: Payment method as in a specific credit card, e-check or bank
750
- #. account
751
- #: payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:97
752
- msgid "Are you sure you want to delete this payment method?"
753
- msgstr "Oled sa kindel, et soovid selle maksevahendi kustutada?"
754
-
755
- #. translators: Payment method as in a specific credit card, e-check or bank
756
- #. account
757
- #: payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:185
758
- msgid "You do not have any saved payment methods."
759
- msgstr "Sul ei ole salvestatud maksevahendeid."
760
-
761
- #. translators: Payment method as in a specific credit card, e-check or bank
762
- #. account
763
- #: payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:203
764
- msgid "My Payment Methods"
765
- msgstr "Minu maksevahendid."
766
-
767
- #. translators: Payment method as in a specific credit card, e-check or bank
768
- #. account
769
- #: payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:211
770
- msgid "Add New Payment Method"
771
- msgstr "Lisa uus maksevahend"
772
-
773
- #: payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:270
774
- msgid "Method"
775
- msgstr "Maksevahend"
776
-
777
- #: payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:271
778
- msgid "Expires"
779
- msgstr "Aegub"
780
-
781
- #: payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:292
782
- msgid "Credit/Debit Cards"
783
- msgstr "Deebet- ja krediitkaardid"
784
-
785
- #: payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:298
786
- msgid "Bank Accounts"
787
- msgstr "Pangakontod"
788
-
789
- #. translators: N/A is used in the context where an expiry date is not
790
- #. applicable (for example, a bank account - as opposed to a credit card)
791
- #: payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:366
792
- msgid "N/A"
793
- msgstr "-"
794
-
795
- #. translators: Set a payment method as the default option
796
- #: payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:399
797
- msgid "Make Default"
798
- msgstr "Määra vaikimisi valikuks"
799
-
800
- #. translators: %s - last four digits of a card/account
801
- #. translators: %s - last four digits of card/account
802
- #: payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:448
803
- #: payment-gateway/class-sv-wc-payment-gateway-payment-form.php:611
804
- msgid "ending in %s"
805
- msgstr "lõpeb numbritega %s"
806
-
807
- #: payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:454
808
- msgid "(default)"
809
- msgstr "(vaikimisi)"
810
-
811
- #: payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:485
812
- msgid "Oops, you took too long, please try again."
813
- msgstr "Oih, sul läks liiga kaua aega - palun proovi uuesti."
814
-
815
- #: payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:498
816
- msgid "There was an error with your request, please try again."
817
- msgstr "Sinu päringuga esines viga, palun proovi uuesti."
818
-
819
- #. translators: Payment method as in a specific credit card, e-check or bank
820
- #. account
821
- #: payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:511
822
- msgid "Error removing payment method"
823
- msgstr "Viga maksevahendi eemaldamisel"
824
-
825
- #. translators: Payment method as in a specific credit card, e-check or bank
826
- #. account
827
- #: payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:516
828
- msgid "Payment method deleted."
829
- msgstr "Maksevahend kustutatud."
830
-
831
- #. translators: Payment method as in a specific credit card, e-check or bank
832
- #. account
833
- #: payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:526
834
- msgid "Default payment method updated."
835
- msgstr "Vaikimisi maksevahend muudetud."
836
-
837
- #: payment-gateway/class-sv-wc-payment-gateway-payment-form.php:293
838
- msgid "Card Number"
839
- msgstr "Kaardi number"
840
-
841
- #: payment-gateway/class-sv-wc-payment-gateway-payment-form.php:306
842
- msgid "Expiration (MM/YY)"
843
- msgstr "Aegub (KK/AA)"
844
-
845
- #: payment-gateway/class-sv-wc-payment-gateway-payment-form.php:309
846
- msgid "MM / YY"
847
- msgstr "KK / AA"
848
-
849
- #: payment-gateway/class-sv-wc-payment-gateway-payment-form.php:321
850
- msgid "Card Security Code"
851
- msgstr "Kaardi turvakood"
852
-
853
- #: payment-gateway/class-sv-wc-payment-gateway-payment-form.php:324
854
- msgid "CSC"
855
- msgstr "Turvakood"
856
-
857
- #: payment-gateway/class-sv-wc-payment-gateway-payment-form.php:358
858
- msgid "Where do I find this?"
859
- msgstr "Kust ma selle leian?"
860
-
861
- #. translators: e-check routing number, HTML form field label,
862
- #. https:en.wikipedia.org/wiki/Routing_transit_number
863
- #: payment-gateway/class-sv-wc-payment-gateway-payment-form.php:364
864
- msgid "Routing Number"
865
- msgstr "Suunakood"
866
-
867
- #. translators: e-check account number, HTML form field label
868
- #: payment-gateway/class-sv-wc-payment-gateway-payment-form.php:378
869
- msgid "Account Number"
870
- msgstr "Kontonumber"
871
-
872
- #. translators: e-check account type, HTML form field label
873
- #: payment-gateway/class-sv-wc-payment-gateway-payment-form.php:391
874
- msgid "Account Type"
875
- msgstr "Konto tüüp"
876
-
877
- #. translators: Test mode refers to the current software environment
878
- #: payment-gateway/class-sv-wc-payment-gateway-payment-form.php:438
879
- msgid "TEST MODE ENABLED"
880
- msgstr "TESTREŽIIM SISSE LÜLITATUD"
881
-
882
- #. translators: Payment method as in a specific credit card, e-check or bank
883
- #. account
884
- #: payment-gateway/class-sv-wc-payment-gateway-payment-form.php:526
885
- msgid "Manage Payment Methods"
886
- msgstr "Halda maksevahendeid"
887
-
888
- #. translators: %s - expiry date
889
- #: payment-gateway/class-sv-wc-payment-gateway-payment-form.php:618
890
- msgid "(expires %s)"
891
- msgstr "(aegub %s)"
892
-
893
- #: payment-gateway/class-sv-wc-payment-gateway-payment-form.php:654
894
- msgid "Use a new card"
895
- msgstr "Kasuta uut kaarti"
896
-
897
- #: payment-gateway/class-sv-wc-payment-gateway-payment-form.php:654
898
- msgid "Use a new bank account"
899
- msgstr "Kasuta uut pangakontot"
900
-
901
- #. translators: account as in customer's account on the e-commerce site
902
- #: payment-gateway/class-sv-wc-payment-gateway-payment-form.php:693
903
- msgid "Securely Save to Account"
904
- msgstr "Salvesta turvaliselt oma kontole"
905
-
906
- #. translators: %s - plugin name
907
- #: payment-gateway/class-sv-wc-payment-gateway-plugin.php:318
908
- msgid ""
909
- "%s: WooCommerce is not being forced over SSL; your customer's payment data "
910
- "may be at risk."
911
- msgstr ""
912
- "%s: WooCommerce'i ei sunnita SSLi kasutama; sinu klientide andmed võivad "
913
- "olla ohus."
914
-
915
- #. translators: %1$s - plugin name, %2$s - a currency/comma-separated list of
916
- #. currencies, %3$s - <a> tag, %4$s - </a> tag
917
- #: payment-gateway/class-sv-wc-payment-gateway-plugin.php:373
918
- msgid ""
919
- "%1$s accepts payment in %2$s only. %3$sConfigure%4$s WooCommerce to accept "
920
- "%2$s to enable this gateway for checkout."
921
- msgid_plural ""
922
- "%1$s accepts payment in one of %2$s only. %3$sConfigure%4$s WooCommerce to "
923
- "accept one of %2$s to enable this gateway for checkout."
924
- msgstr[0] ""
925
- msgstr[1] ""
926
-
927
- #. translators: %1$s - payment gateway title (such as Authorize.net, Braintree,
928
- #. etc), %2$s - <a> tag, %3$s - </a> tag
929
- #: payment-gateway/class-sv-wc-payment-gateway-plugin.php:412
930
- msgid ""
931
- "%1$s is inactive for subscription transactions. Please %2$senable "
932
- "tokenization%3$s to activate %1$s for Subscriptions."
933
- msgstr ""
934
- "%1$s ei ole korduvtellimuste jaoks kasutatav. Palun %2$slülita "
935
- "maksevahendite salvestamine%3$s sisse, et aktiveerida %1$s Korduvellimuste "
936
- "(Subscriptions) jaoks."
937
-
938
- #. translators: %1$s - payment gateway title (such as Authorize.net, Braintree,
939
- #. etc), %2$s - <a> tag, %3$s - </a> tag
940
- #: payment-gateway/class-sv-wc-payment-gateway-plugin.php:428
941
- msgid ""
942
- "%1$s is inactive for pre-order transactions. Please %2$senable tokenization"
943
- "%3$s to activate %1$s for Pre-Orders."
944
- msgstr ""
945
- "%1$s ei ole eeltellimuste maksete jaoks kasutatav. Palun %2$slülita "
946
- "maksevahendite salvestamine%3$s sisse, et aktiveerida %1$s Eeltellimuste "
947
- "(Pre-Orders) jaoks."
948
-
949
- #. translators: verb, as in "Capture credit card charge". Used when an amount
950
- #. has been pre-authorized before, but funds have not yet been captured (taken)
951
- #. from the card. Capturing the charge will take the money from the credit card
952
- #. and put it in the merchant's pockets.
953
- #: payment-gateway/class-sv-wc-payment-gateway-plugin.php:654
954
- msgid "Capture Charge"
955
- msgstr "Teosta makse"
956
-
957
- #: payment-gateway/class-sv-wc-payment-gateway.php:536
958
- msgid "Check Number is missing"
959
- msgstr "Tšeki number on puudu"
960
-
961
- #: payment-gateway/class-sv-wc-payment-gateway.php:537
962
- msgid "Drivers license state is missing"
963
- msgstr "Juhiloa osariik on puudu"
964
-
965
- #: payment-gateway/class-sv-wc-payment-gateway.php:538
966
- msgid "Drivers license number is missing"
967
- msgstr "Juhiloa number on puudu"
968
-
969
- #: payment-gateway/class-sv-wc-payment-gateway.php:561
970
- msgid "Continue"
971
- msgstr "Jätka"
972
-
973
- #: payment-gateway/class-sv-wc-payment-gateway.php:561
974
- msgid "Place order"
975
- msgstr "Esita tellimus"
976
-
977
- #: payment-gateway/class-sv-wc-payment-gateway.php:584
978
- msgid "Thank you for your order."
979
- msgstr "Aitäh tellimuse eest."
980
-
981
- #: payment-gateway/class-sv-wc-payment-gateway.php:663
982
- msgid "Credit Card"
983
- msgstr "Krediitkaart"
984
-
985
- #: payment-gateway/class-sv-wc-payment-gateway.php:665
986
- msgid "eCheck"
987
- msgstr "E-tšekk"
988
-
989
- #: payment-gateway/class-sv-wc-payment-gateway.php:683
990
- msgid "Pay securely using your credit card."
991
- msgstr "Maksa turvaliselt oma krediitkaardiga."
992
-
993
- #: payment-gateway/class-sv-wc-payment-gateway.php:685
994
- msgid "Pay securely using your checking account."
995
- msgstr "Maksa turvaliselt oma tšekikontoga."
996
-
997
- #: payment-gateway/class-sv-wc-payment-gateway.php:704
998
- msgid "Enable / Disable"
999
- msgstr "Luba / Keela"
1000
-
1001
- #: payment-gateway/class-sv-wc-payment-gateway.php:705
1002
- msgid "Enable this gateway"
1003
- msgstr "Lülita see makseviis sisse"
1004
-
1005
- #: payment-gateway/class-sv-wc-payment-gateway.php:711
1006
- msgid "Title"
1007
- msgstr "Nimetus"
1008
-
1009
- #: payment-gateway/class-sv-wc-payment-gateway.php:713
1010
- msgid "Payment method title that the customer will see during checkout."
1011
- msgstr "Kliendile kassas nähtav makseviisi nimetus."
1012
-
1013
- #: payment-gateway/class-sv-wc-payment-gateway.php:718
1014
- msgid "Description"
1015
- msgstr "Kirjeldus"
1016
-
1017
- #: payment-gateway/class-sv-wc-payment-gateway.php:720
1018
- msgid "Payment method description that the customer will see during checkout."
1019
- msgstr "Kliendile kassas nähtav makseviisi kirjeldus."
1020
-
1021
- #: payment-gateway/class-sv-wc-payment-gateway.php:763
1022
- msgid "Detailed Decline Messages"
1023
- msgstr "Täpsemad maksest keeldumise teated"
1024
-
1025
- #: payment-gateway/class-sv-wc-payment-gateway.php:765
1026
- msgid ""
1027
- "Check to enable detailed decline messages to the customer during checkout "
1028
- "when possible, rather than a generic decline message."
1029
- msgstr ""
1030
- "Lülita see valik sisse, kui soovid klientidele üldise maksest keeldumise "
1031
- "teate asemel näidata võimaluse korral täpsemaid põhjusi."
1032
-
1033
- #: payment-gateway/class-sv-wc-payment-gateway.php:772
1034
- msgid "Debug Mode"
1035
- msgstr "Veaotsingu režiim"
1036
-
1037
- #. translators: %1$s - <a> tag, %2$s - </a> tag
1038
- #: payment-gateway/class-sv-wc-payment-gateway.php:775
1039
- msgid ""
1040
- "Show Detailed Error Messages and API requests/responses on the checkout page "
1041
- "and/or save them to the %1$sdebug log%2$s"
1042
- msgstr ""
1043
- "Näita üksikasjalikke veateateud ja API päringuid/vastuseid kassas ja/või "
1044
- "salvesta need %1$slogifaili%2$s"
1045
-
1046
- #: payment-gateway/class-sv-wc-payment-gateway.php:778
1047
- msgid "Off"
1048
- msgstr "Välja lülitatud"
1049
-
1050
- #: payment-gateway/class-sv-wc-payment-gateway.php:779
1051
- msgid "Show on Checkout Page"
1052
- msgstr "Näita kassas"
1053
-
1054
- #: payment-gateway/class-sv-wc-payment-gateway.php:780
1055
- msgid "Save to Log"
1056
- msgstr "Salvesta logifaili"
1057
-
1058
- #. translators: show debugging information on both checkout page and in the log
1059
- #: payment-gateway/class-sv-wc-payment-gateway.php:782
1060
- msgid "Both"
1061
- msgstr "Mõlemad"
1062
-
1063
- #. translators: environment as in a software environment (test/production)
1064
- #: payment-gateway/class-sv-wc-payment-gateway.php:828
1065
- msgid "Environment"
1066
- msgstr "Keskkond"
1067
-
1068
- #: payment-gateway/class-sv-wc-payment-gateway.php:831
1069
- msgid "Select the gateway environment to use for transactions."
1070
- msgstr "Vali makseviisi tehingute teostamise keskkond."
1071
-
1072
- #: payment-gateway/class-sv-wc-payment-gateway.php:880
1073
- msgid "Share connection settings"
1074
- msgstr "Jaga ühenduse andmeid"
1075
-
1076
- #: payment-gateway/class-sv-wc-payment-gateway.php:882
1077
- msgid "Use connection/authentication settings from other gateway"
1078
- msgstr "Kasuta teise makseviisi ühenduse/autentimise seadeid"
1079
-
1080
- #: payment-gateway/class-sv-wc-payment-gateway.php:885
1081
- msgid "Disabled because the other gateway is using these settings"
1082
- msgstr "Ei saa muuta, kuna teine makseviis kasutab neid seadeid"
1083
-
1084
- #: payment-gateway/class-sv-wc-payment-gateway.php:902
1085
- msgid "Card Verification (CSC)"
1086
- msgstr "Kaardi turvakood (CSC)"
1087
-
1088
- #: payment-gateway/class-sv-wc-payment-gateway.php:903
1089
- msgid "Display the Card Security Code (CV2) field on checkout"
1090
- msgstr "Näita kassas kaardi turvakoodi (CV2) välja"
1091
-
1092
- #. translators: %1$s - site title, %2$s - order number
1093
- #: payment-gateway/class-sv-wc-payment-gateway.php:1197
1094
- msgid "%1$s - Order %2$s"
1095
- msgstr "%1$s - Tellimus %2$s"
1096
-
1097
- #. translators: %1$s - site title, %2$s - order number
1098
- #: payment-gateway/class-sv-wc-payment-gateway.php:1330
1099
- msgid "%1$s - Refund for Order %2$s"
1100
- msgstr "%1$s - Tagasimakse tellimuse %2$s eest"
1101
-
1102
- #. translators: %1$s - payment gateway title (such as Authorize.net, Braintree,
1103
- #. etc), %2$s - a monetary amount
1104
- #: payment-gateway/class-sv-wc-payment-gateway.php:1384
1105
- msgid "%1$s Refund in the amount of %2$s approved."
1106
- msgstr "%1$s: tagasimakse summas %2$s kinnitatud."
1107
-
1108
- #. translators: %1$s - payment gateway title (such as Authorize.net, Braintree,
1109
- #. etc), %2$s - error code, %3$s - error message
1110
- #: payment-gateway/class-sv-wc-payment-gateway.php:1411
1111
- msgid "%1$s Refund Failed: %2$s - %3$s"
1112
- msgstr "%1$s: tagasimakse ebaõnnestus: %2$s - %3$s"
1113
-
1114
- #. translators: %1$s - payment gateway title (such as Authorize.net, Braintree,
1115
- #. etc), %2$s - error message
1116
- #: payment-gateway/class-sv-wc-payment-gateway.php:1419
1117
- msgid "%1$s Refund Failed: %2$s"
1118
- msgstr "%1$s: tagasimakse ebaõnnestus: %2$s"
1119
-
1120
- #. translators: %s - payment gateway title (such as Authorize.net, Braintree,
1121
- #. etc)
1122
- #: payment-gateway/class-sv-wc-payment-gateway.php:1439
1123
- msgid "%s Order completely refunded."
1124
- msgstr "%s: tellimus täielikult tagasi makstud."
1125
-
1126
- #: payment-gateway/class-sv-wc-payment-gateway.php:1492
1127
- msgid ""
1128
- "Oops, you cannot partially void this order. Please use the full order amount."
1129
- msgstr ""
1130
- "Oih, sa ei saa seda tellimust osaliselt tühistada. Palun kasuta tellimuse "
1131
- "täissummat."
1132
-
1133
- #. translators: %1$s - payment gateway title, %2$s - error code, %3$s - error
1134
- #. message. Void as in to void an order.
1135
- #: payment-gateway/class-sv-wc-payment-gateway.php:1576
1136
- msgid "%1$s Void Failed: %2$s - %3$s"
1137
- msgstr "%1$s: tühistamine ebaõnnestus: %2$s - %3$s"
1138
-
1139
- #. translators: %1$s - payment gateway title, %2$s - error message. Void as in
1140
- #. to void an order.
1141
- #: payment-gateway/class-sv-wc-payment-gateway.php:1584
1142
- msgid "%1$s Void Failed: %2$s"
1143
- msgstr "%1$s: tühistamine ebaõnnestus: %2$s"
1144
-
1145
- #. translators: %1$s - payment gateway title, %2$s - a monetary amount. Void as
1146
- #. in to void an order.
1147
- #: payment-gateway/class-sv-wc-payment-gateway.php:1605
1148
- msgid "%1$s Void in the amount of %2$s approved."
1149
- msgstr "%1$s: tühistamine summas %2$s kinnitatud."
1150
-
1151
- #. translators: %1$s - payment gateway title, %2$s - message (probably reason
1152
- #. for the transaction being held for review)
1153
- #: payment-gateway/class-sv-wc-payment-gateway.php:1842
1154
- msgid "%1$s Transaction Held for Review (%2$s)"
1155
- msgstr "%1$s: tehning pandi ülevaatuseks ootele (%2$s)"
1156
-
1157
- #: payment-gateway/class-sv-wc-payment-gateway.php:1874
1158
- msgid ""
1159
- "Your order has been received and is being reviewed. Thank you for your "
1160
- "business."
1161
- msgstr ""
1162
- "Sinu tellimus on vastu võetud ja on ülevaatamisel. Täname koostöö eest."
1163
-
1164
- #. translators: %1$s - payment gateway title, %2$s - error message
1165
- #: payment-gateway/class-sv-wc-payment-gateway.php:1918
1166
- msgid "%1$s Payment Failed (%2$s)"
1167
- msgstr "%1$s: makse ebaõnnestus (%2$s)"
1168
-
1169
- #: payment-gateway/class-sv-wc-payment-gateway.php:1935
1170
- msgid ""
1171
- "An error occurred, please try again or try an alternate form of payment."
1172
- msgstr "Esines viga, palun proovi uuesti või kasuta teistsugust makseviisi."
1173
-
1174
- #. translators: %1$s - payment gateway title, %2$s - message/error
1175
- #: payment-gateway/class-sv-wc-payment-gateway.php:1952
1176
- msgid "%1$s Transaction Cancelled (%2$s)"
1177
- msgstr "%1$s: tehing tühistatud (%2$s)"
1178
-
1179
- #: payment-gateway/class-sv-wc-payment-gateway.php:2171
1180
- msgid "Transaction Type"
1181
- msgstr "Tehingu tüüp"
1182
-
1183
- #: payment-gateway/class-sv-wc-payment-gateway.php:2173
1184
- msgid ""
1185
- "Select how transactions should be processed. Charge submits all transactions "
1186
- "for settlement, Authorization simply authorizes the order total for capture "
1187
- "later."
1188
- msgstr ""
1189
- "Vali, kuidas peaks tehinguid töötlema. \"Makse\" saadab kõik tehingud "
1190
- "koheselt tasumisele, \"Autoriseerimine\" lihtsalt autoriseerib tellimuse "
1191
- "summa hilisemaks tasumiseks."
1192
-
1193
- #: payment-gateway/class-sv-wc-payment-gateway.php:2320
1194
- msgid "Accepted Card Types"
1195
- msgstr "Vastuvõetavad kaardid"
1196
-
1197
- #: payment-gateway/class-sv-wc-payment-gateway.php:2322
1198
- msgid "Select which card types you accept."
1199
- msgstr "Vali, millist tüüpi kaarte soovid vastu võtta."
1200
-
1201
- #. translators:
1202
- #. http:www.cybersource.com/products/payment_security/payment_tokenization/ and
1203
- #. https:en.wikipedia.org/wiki/Tokenization_(data_security)
1204
- #: payment-gateway/class-sv-wc-payment-gateway.php:2403
1205
- msgid "Tokenization"
1206
- msgstr "Maksevahendite salvestamine"
1207
-
1208
- #: payment-gateway/class-sv-wc-payment-gateway.php:2404
1209
- msgid ""
1210
- "Allow customers to securely save their payment details for future checkout."
1211
- msgstr ""
1212
- "Võimalda klientidel oma makseandmeid edaspidisteks tehinguteks turvaliselt "
1213
- "talletada."
1214
-
1215
- #: class-sv-wc-plugin.php:403
1216
- msgctxt "noun"
1217
- msgid "Support"
1218
- msgstr "Kasutajatugi"
1219
-
1220
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:697
1221
- #: payment-gateway/class-sv-wc-payment-gateway-hosted.php:574
1222
- #: payment-gateway/class-sv-wc-payment-gateway-hosted.php:608
1223
- #: payment-gateway/class-sv-wc-payment-gateway-hosted.php:644
1224
- msgctxt "noun, software environment"
1225
- msgid "Test"
1226
- msgstr "test"
1227
-
1228
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:698
1229
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:1177
1230
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:1581
1231
- #: payment-gateway/class-sv-wc-payment-gateway-hosted.php:564
1232
- #: payment-gateway/class-sv-wc-payment-gateway.php:2177
1233
- msgctxt "credit card transaction type"
1234
- msgid "Authorization"
1235
- msgstr "Autoriseerimine"
1236
-
1237
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:698
1238
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:1177
1239
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:1581
1240
- #: payment-gateway/class-sv-wc-payment-gateway-hosted.php:566
1241
- #: payment-gateway/class-sv-wc-payment-gateway.php:2176
1242
- msgctxt "noun, credit card transaction type"
1243
- msgid "Charge"
1244
- msgstr "Makse"
1245
-
1246
- #: payment-gateway/class-sv-wc-payment-gateway-helper.php:148
1247
- #: payment-gateway/class-sv-wc-payment-gateway.php:2348
1248
- msgctxt "credit card type"
1249
- msgid "MasterCard"
1250
- msgstr "MasterCard"
1251
-
1252
- #: payment-gateway/class-sv-wc-payment-gateway-helper.php:149
1253
- #: payment-gateway/class-sv-wc-payment-gateway.php:2349
1254
- msgctxt "credit card type"
1255
- msgid "American Express"
1256
- msgstr "American Express"
1257
-
1258
- #: payment-gateway/class-sv-wc-payment-gateway-helper.php:150
1259
- #: payment-gateway/class-sv-wc-payment-gateway.php:2350
1260
- msgctxt "credit card type"
1261
- msgid "Discover"
1262
- msgstr "Discover"
1263
-
1264
- #: payment-gateway/class-sv-wc-payment-gateway-helper.php:151
1265
- #: payment-gateway/class-sv-wc-payment-gateway.php:2352
1266
- msgctxt "credit card type"
1267
- msgid "JCB"
1268
- msgstr "JCB"
1269
-
1270
- #: payment-gateway/class-sv-wc-payment-gateway-helper.php:152
1271
- msgctxt "credit card type"
1272
- msgid "CarteBleue"
1273
- msgstr "CarteBleue"
1274
-
1275
- #: payment-gateway/class-sv-wc-payment-gateway.php:2347
1276
- msgctxt "credit card type"
1277
- msgid "Visa"
1278
- msgstr "Visa"
1279
-
1280
- #: payment-gateway/class-sv-wc-payment-gateway.php:2351
1281
- msgctxt "credit card type"
1282
- msgid "Diners"
1283
- msgstr "Diners"
1284
-
1285
- #: payment-gateway/class-sv-wc-payment-gateway-helper.php:158
1286
- msgctxt "payment method type"
1287
- msgid "Account"
1288
- msgstr "Konto"
1289
-
1290
- #. translators: http:www.investopedia.com/terms/c/checkingaccount.asp
1291
- #: payment-gateway/class-sv-wc-payment-gateway-payment-form.php:399
1292
- msgctxt "account type"
1293
- msgid "Checking"
1294
- msgstr "Tšekikonto"
1295
-
1296
- #: payment-gateway/class-sv-wc-payment-gateway-payment-form.php:401
1297
- msgctxt "account type"
1298
- msgid "Savings"
1299
- msgstr "Hoiuarve"
1300
-
1301
- #: payment-gateway/class-sv-wc-payment-gateway-plugin.php:587
1302
- msgctxt "Supports capture charge"
1303
- msgid "Capture Charge"
1304
- msgstr "Makse "
1305
-
1306
- #: payment-gateway/class-sv-wc-payment-gateway.php:1712
1307
- msgctxt "hash before order number"
1308
- msgid "#"
1309
- msgstr "#"
1310
-
1311
- #. translators: https:www.skyverge.com/for-translators-environments/
1312
- #: payment-gateway/class-sv-wc-payment-gateway.php:2841
1313
- msgctxt "software environment"
1314
- msgid "Production"
1315
- msgstr "Töö/avalik"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
lib/skyverge/woocommerce/i18n/languages/woocommerce-plugin-framework.pot DELETED
@@ -1,1333 +0,0 @@
1
- # Copyright (C) 2016
2
- # This file is distributed under the same license as the package.
3
- msgid ""
4
- msgstr ""
5
- "Project-Id-Version: WooCommerce Plugin Framework 4.5.1\n"
6
- "Report-Msgid-Bugs-To: https://support.woothemes.com/hc/\n"
7
- "POT-Creation-Date: 2015-07-22 12:09:16+00:00\n"
8
- "MIME-Version: 1.0\n"
9
- "Content-Type: text/plain; charset=utf-8\n"
10
- "Content-Transfer-Encoding: 8bit\n"
11
- "PO-Revision-Date: 2016-MO-DA HO:MI+ZONE\n"
12
- "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13
- "Language-Team: LANGUAGE <LL@li.org>\n"
14
-
15
- #: class-sv-wc-admin-notice-handler.php:238
16
- #. translators: this is an action that dismisses a message
17
- msgid "Dismiss"
18
- msgstr ""
19
-
20
- #: class-sv-wc-framework-bootstrap.php:268
21
- msgid ""
22
- "The following plugin is disabled because it is out of date and incompatible "
23
- "with newer plugins on your site:"
24
- msgid_plural ""
25
- "The following plugins are disabled because they are out of date and "
26
- "incompatible with newer plugins on your site:"
27
- msgstr[0] ""
28
- msgstr[1] ""
29
-
30
- #: class-sv-wc-framework-bootstrap.php:282
31
- msgid ""
32
- "To resolve this, please %1$supdate%2$s (recommended) %3$sor%4$s "
33
- "%5$sdeactivate%6$s the above plugin, or %7$sdeactivate the following%8$s:"
34
- msgid_plural ""
35
- "To resolve this, please %1$supdate%2$s (recommended) %3$sor%4$s "
36
- "%5$sdeactivate%6$s the above plugins, or %7$sdeactivate the following%8$s:"
37
- msgstr[0] ""
38
- msgstr[1] ""
39
-
40
- #: class-sv-wc-framework-bootstrap.php:303
41
- msgid ""
42
- "The following plugins are inactive because they require a newer version of "
43
- "WooCommerce:"
44
- msgstr ""
45
-
46
- #: class-sv-wc-framework-bootstrap.php:303
47
- msgid ""
48
- "The following plugin is inactive because it requires a newer version of "
49
- "WooCommerce:"
50
- msgstr ""
51
-
52
- #: class-sv-wc-framework-bootstrap.php:308
53
- #. translators: Placeholders: %1$s - plugin name, %2$s - WooCommerce version
54
- #. number
55
- msgid "%1$s requires WooCommerce %2$s or newer"
56
- msgstr ""
57
-
58
- #: class-sv-wc-framework-bootstrap.php:312
59
- #. translators: Placeholders: %1$s - <a> tag, %2$s - </a> tag
60
- msgid "Please %1$supdate WooCommerce%2$s"
61
- msgstr ""
62
-
63
- #: class-sv-wc-plugin.php:168
64
- #. translators: Placeholders: %s - plugin name
65
- msgid "You cannot clone instances of %s."
66
- msgstr ""
67
-
68
- #: class-sv-wc-plugin.php:178
69
- #. translators: Placeholders: %s - plugin name
70
- msgid "You cannot unserialize instances of %s."
71
- msgstr ""
72
-
73
- #: class-sv-wc-plugin.php:379
74
- #. translators: Placeholders: %1$s - plugin name, %2$s - a PHP
75
- #. extension/comma-separated list of PHP extensions
76
- msgid ""
77
- "%1$s requires the %2$s PHP extension to function. Contact your host or "
78
- "server administrator to configure and install the missing extension."
79
- msgid_plural ""
80
- "%1$s requires the following PHP extensions to function: %2$s. Contact your "
81
- "host or server administrator to configure and install the missing "
82
- "extensions."
83
- msgstr[0] ""
84
- msgstr[1] ""
85
-
86
- #: class-sv-wc-plugin.php:402
87
- #. translators: Placeholders: %1$s - plugin name, %2$s - a PHP
88
- #. function/comma-separated list of PHP functions
89
- msgid ""
90
- "%1$s requires the %2$s PHP function to exist. Contact your host or server "
91
- "administrator to configure and install the missing function."
92
- msgid_plural ""
93
- "%1$s requires the following PHP functions to exist: %2$s. Contact your "
94
- "host or server administrator to configure and install the missing functions."
95
- msgstr[0] ""
96
- msgstr[1] ""
97
-
98
- #: class-sv-wc-plugin.php:427
99
- #. translators: Placeholders: %s - plugin name
100
- msgid ""
101
- "%s may behave unexpectedly because the following PHP configuration settings "
102
- "are required:"
103
- msgstr ""
104
-
105
- #: class-sv-wc-plugin.php:441
106
- msgid "%s or higher"
107
- msgstr ""
108
-
109
- #: class-sv-wc-plugin.php:451
110
- msgid ""
111
- "Please contact your hosting provider or server administrator to configure "
112
- "these settings."
113
- msgstr ""
114
-
115
- #: class-sv-wc-plugin.php:481
116
- #. translators: Docs as in Documentation
117
- msgid "Docs"
118
- msgstr ""
119
-
120
- #: class-sv-wc-plugin.php:674
121
- msgid "%1$s - A minimum of %2$s is required."
122
- msgstr ""
123
-
124
- #: class-sv-wc-plugin.php:683
125
- msgid "Set as %1$s - %2$s is required."
126
- msgstr ""
127
-
128
- #: class-sv-wc-plugin.php:920
129
- msgid "Configure"
130
- msgstr ""
131
-
132
- #: payment-gateway/admin/class-sv-wc-payment-gateway-admin-payment-token-editor.php:85
133
- msgid "Are you sure you want to remove this token?"
134
- msgstr ""
135
-
136
- #: payment-gateway/admin/class-sv-wc-payment-gateway-admin-payment-token-editor.php:95
137
- msgid "Invalid token data"
138
- msgstr ""
139
-
140
- #: payment-gateway/admin/class-sv-wc-payment-gateway-admin-payment-token-editor.php:413
141
- #: payment-gateway/admin/class-sv-wc-payment-gateway-admin-user-handler.php:290
142
- msgid "(%s)"
143
- msgstr ""
144
-
145
- #: payment-gateway/admin/class-sv-wc-payment-gateway-admin-payment-token-editor.php:442
146
- msgid "Default"
147
- msgstr ""
148
-
149
- #: payment-gateway/admin/class-sv-wc-payment-gateway-admin-payment-token-editor.php:477
150
- #: payment-gateway/admin/class-sv-wc-payment-gateway-admin-payment-token-editor.php:510
151
- msgid "Token ID"
152
- msgstr ""
153
-
154
- #: payment-gateway/admin/class-sv-wc-payment-gateway-admin-payment-token-editor.php:482
155
- msgid "Card Type"
156
- msgstr ""
157
-
158
- #: payment-gateway/admin/class-sv-wc-payment-gateway-admin-payment-token-editor.php:487
159
- #: payment-gateway/admin/class-sv-wc-payment-gateway-admin-payment-token-editor.php:523
160
- msgid "Last Four"
161
- msgstr ""
162
-
163
- #: payment-gateway/admin/class-sv-wc-payment-gateway-admin-payment-token-editor.php:494
164
- #: payment-gateway/class-sv-wc-payment-gateway-payment-form.php:311
165
- msgid "Expiration (MM/YY)"
166
- msgstr ""
167
-
168
- #: payment-gateway/admin/class-sv-wc-payment-gateway-admin-payment-token-editor.php:515
169
- #: payment-gateway/class-sv-wc-payment-gateway-payment-form.php:417
170
- #. translators: e-check account type, HTML form field label
171
- msgid "Account Type"
172
- msgstr ""
173
-
174
- #: payment-gateway/admin/class-sv-wc-payment-gateway-admin-payment-token-editor.php:518
175
- msgid "Checking"
176
- msgstr ""
177
-
178
- #: payment-gateway/admin/class-sv-wc-payment-gateway-admin-payment-token-editor.php:519
179
- msgid "Savings"
180
- msgstr ""
181
-
182
- #: payment-gateway/admin/class-sv-wc-payment-gateway-admin-payment-token-editor.php:619
183
- msgid "Refresh"
184
- msgstr ""
185
-
186
- #: payment-gateway/admin/class-sv-wc-payment-gateway-admin-payment-token-editor.php:621
187
- msgid "Add New"
188
- msgstr ""
189
-
190
- #: payment-gateway/admin/class-sv-wc-payment-gateway-admin-payment-token-editor.php:624
191
- msgid "Save"
192
- msgstr ""
193
-
194
- #: payment-gateway/admin/class-sv-wc-payment-gateway-admin-payment-token-editor.php:646
195
- msgid "Remove"
196
- msgstr ""
197
-
198
- #: payment-gateway/admin/class-sv-wc-payment-gateway-admin-user-handler.php:209
199
- msgid "%s Payment Tokens"
200
- msgstr ""
201
-
202
- #: payment-gateway/admin/class-sv-wc-payment-gateway-admin-user-handler.php:287
203
- #: payment-gateway/integrations/class-sv-wc-payment-gateway-integration-subscriptions.php:602
204
- msgid "Customer ID"
205
- msgstr ""
206
-
207
- #: payment-gateway/admin/views/html-admin-gateway-status.php:32
208
- msgid "This section contains configuration settings for this gateway."
209
- msgstr ""
210
-
211
- #: payment-gateway/admin/views/html-admin-gateway-status.php:52
212
- #: payment-gateway/class-sv-wc-payment-gateway.php:876
213
- #. translators: environment as in a software environment (test/production)
214
- msgid "Environment"
215
- msgstr ""
216
-
217
- #: payment-gateway/admin/views/html-admin-gateway-status.php:53
218
- msgid "The transaction environment for this gateway."
219
- msgstr ""
220
-
221
- #: payment-gateway/admin/views/html-admin-gateway-status.php:60
222
- msgid "Tokenization Enabled"
223
- msgstr ""
224
-
225
- #: payment-gateway/admin/views/html-admin-gateway-status.php:61
226
- msgid "Displays whether or not tokenization is enabled for this gateway."
227
- msgstr ""
228
-
229
- #: payment-gateway/admin/views/html-user-payment-token-editor-token.php:43
230
- msgid "-- Select an option --"
231
- msgstr ""
232
-
233
- #: payment-gateway/admin/views/html-user-payment-token-editor.php:59
234
- msgid "No saved payment tokens"
235
- msgstr ""
236
-
237
- #: payment-gateway/admin/views/html-user-profile-field-customer-id.php:30
238
- msgid "The gateway customer ID for the user. Only edit this if necessary."
239
- msgstr ""
240
-
241
- #: payment-gateway/api/class-sv-wc-payment-gateway-api-response-message-helper.php:95
242
- msgid "An error occurred, please try again or try an alternate form of payment"
243
- msgstr ""
244
-
245
- #: payment-gateway/api/class-sv-wc-payment-gateway-api-response-message-helper.php:96
246
- msgid ""
247
- "We cannot process your order with the payment information that you "
248
- "provided. Please use a different payment account or an alternate payment "
249
- "method."
250
- msgstr ""
251
-
252
- #: payment-gateway/api/class-sv-wc-payment-gateway-api-response-message-helper.php:97
253
- msgid ""
254
- "This order is being placed on hold for review. Please contact us to "
255
- "complete the transaction."
256
- msgstr ""
257
-
258
- #: payment-gateway/api/class-sv-wc-payment-gateway-api-response-message-helper.php:102
259
- msgid ""
260
- "This order is being placed on hold for review due to an incorrect card "
261
- "verification number. You may contact the store to complete the transaction."
262
- msgstr ""
263
-
264
- #: payment-gateway/api/class-sv-wc-payment-gateway-api-response-message-helper.php:103
265
- msgid "The card verification number is invalid, please try again."
266
- msgstr ""
267
-
268
- #: payment-gateway/api/class-sv-wc-payment-gateway-api-response-message-helper.php:104
269
- msgid "Please enter your card verification number and try again."
270
- msgstr ""
271
-
272
- #: payment-gateway/api/class-sv-wc-payment-gateway-api-response-message-helper.php:107
273
- msgid ""
274
- "That card type is not accepted, please use an alternate card or other form "
275
- "of payment."
276
- msgstr ""
277
-
278
- #: payment-gateway/api/class-sv-wc-payment-gateway-api-response-message-helper.php:108
279
- #: payment-gateway/api/class-sv-wc-payment-gateway-api-response-message-helper.php:112
280
- msgid ""
281
- "The card type is invalid or does not correlate with the credit card number. "
282
- " Please try again or use an alternate card or other form of payment."
283
- msgstr ""
284
-
285
- #: payment-gateway/api/class-sv-wc-payment-gateway-api-response-message-helper.php:109
286
- msgid "Please select the card type and try again."
287
- msgstr ""
288
-
289
- #: payment-gateway/api/class-sv-wc-payment-gateway-api-response-message-helper.php:113
290
- msgid "The card number is invalid, please re-enter and try again."
291
- msgstr ""
292
-
293
- #: payment-gateway/api/class-sv-wc-payment-gateway-api-response-message-helper.php:114
294
- msgid "Please enter your card number and try again."
295
- msgstr ""
296
-
297
- #: payment-gateway/api/class-sv-wc-payment-gateway-api-response-message-helper.php:117
298
- msgid "The card expiration date is invalid, please re-enter and try again."
299
- msgstr ""
300
-
301
- #: payment-gateway/api/class-sv-wc-payment-gateway-api-response-message-helper.php:118
302
- msgid "The card expiration month is invalid, please re-enter and try again."
303
- msgstr ""
304
-
305
- #: payment-gateway/api/class-sv-wc-payment-gateway-api-response-message-helper.php:119
306
- msgid "The card expiration year is invalid, please re-enter and try again."
307
- msgstr ""
308
-
309
- #: payment-gateway/api/class-sv-wc-payment-gateway-api-response-message-helper.php:120
310
- msgid "Please enter your card expiration date and try again."
311
- msgstr ""
312
-
313
- #: payment-gateway/api/class-sv-wc-payment-gateway-api-response-message-helper.php:123
314
- msgid "The bank routing number is invalid, please re-enter and try again."
315
- msgstr ""
316
-
317
- #: payment-gateway/api/class-sv-wc-payment-gateway-api-response-message-helper.php:124
318
- msgid "The bank account number is invalid, please re-enter and try again."
319
- msgstr ""
320
-
321
- #: payment-gateway/api/class-sv-wc-payment-gateway-api-response-message-helper.php:127
322
- msgid ""
323
- "The provided card is expired, please use an alternate card or other form of "
324
- "payment."
325
- msgstr ""
326
-
327
- #: payment-gateway/api/class-sv-wc-payment-gateway-api-response-message-helper.php:128
328
- msgid ""
329
- "The provided card was declined, please use an alternate card or other form "
330
- "of payment."
331
- msgstr ""
332
-
333
- #: payment-gateway/api/class-sv-wc-payment-gateway-api-response-message-helper.php:129
334
- msgid ""
335
- "Insufficient funds in account, please use an alternate card or other form "
336
- "of payment."
337
- msgstr ""
338
-
339
- #: payment-gateway/api/class-sv-wc-payment-gateway-api-response-message-helper.php:130
340
- msgid ""
341
- "The card is inactivate or not authorized for card-not-present transactions, "
342
- "please use an alternate card or other form of payment."
343
- msgstr ""
344
-
345
- #: payment-gateway/api/class-sv-wc-payment-gateway-api-response-message-helper.php:131
346
- msgid ""
347
- "The credit limit for the card has been reached, please use an alternate "
348
- "card or other form of payment."
349
- msgstr ""
350
-
351
- #: payment-gateway/api/class-sv-wc-payment-gateway-api-response-message-helper.php:132
352
- msgid "The card verification number does not match. Please re-enter and try again."
353
- msgstr ""
354
-
355
- #: payment-gateway/api/class-sv-wc-payment-gateway-api-response-message-helper.php:133
356
- msgid ""
357
- "The provided address does not match the billing address for cardholder. "
358
- "Please verify the address and try again."
359
- msgstr ""
360
-
361
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:99
362
- msgid ""
363
- "Payment error, please try another payment method or contact us to complete "
364
- "your transaction."
365
- msgstr ""
366
-
367
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:199
368
- #: payment-gateway/class-sv-wc-payment-gateway.php:410
369
- msgid "Card expiration date is invalid"
370
- msgstr ""
371
-
372
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:223
373
- #: payment-gateway/class-sv-wc-payment-gateway.php:403
374
- msgid "Card number is missing"
375
- msgstr ""
376
-
377
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:229
378
- #: payment-gateway/class-sv-wc-payment-gateway.php:406
379
- msgid "Card number is invalid (wrong length)"
380
- msgstr ""
381
-
382
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:234
383
- #: payment-gateway/class-sv-wc-payment-gateway.php:405
384
- msgid "Card number is invalid (only digits allowed)"
385
- msgstr ""
386
-
387
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:239
388
- #: payment-gateway/class-sv-wc-payment-gateway.php:404
389
- msgid "Card number is invalid"
390
- msgstr ""
391
-
392
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:266
393
- #: payment-gateway/class-sv-wc-payment-gateway.php:408
394
- msgid "Card security code is invalid (only digits are allowed)"
395
- msgstr ""
396
-
397
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:272
398
- #: payment-gateway/class-sv-wc-payment-gateway.php:409
399
- msgid "Card security code is invalid (must be 3 or 4 digits)"
400
- msgstr ""
401
-
402
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:278
403
- #: payment-gateway/class-sv-wc-payment-gateway.php:407
404
- msgid "Card security code is missing"
405
- msgstr ""
406
-
407
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:305
408
- #: payment-gateway/class-sv-wc-payment-gateway.php:419
409
- msgid "Routing Number is missing"
410
- msgstr ""
411
-
412
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:312
413
- #: payment-gateway/class-sv-wc-payment-gateway.php:420
414
- msgid "Routing Number is invalid (only digits are allowed)"
415
- msgstr ""
416
-
417
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:318
418
- #: payment-gateway/class-sv-wc-payment-gateway.php:421
419
- msgid "Routing number is invalid (must be 9 digits)"
420
- msgstr ""
421
-
422
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:327
423
- #: payment-gateway/class-sv-wc-payment-gateway.php:416
424
- msgid "Account Number is missing"
425
- msgstr ""
426
-
427
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:334
428
- #: payment-gateway/class-sv-wc-payment-gateway.php:417
429
- msgid "Account Number is invalid (only digits are allowed)"
430
- msgstr ""
431
-
432
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:340
433
- #: payment-gateway/class-sv-wc-payment-gateway.php:418
434
- msgid "Account number is invalid (must be between 5 and 17 digits)"
435
- msgstr ""
436
-
437
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:347
438
- #: payment-gateway/class-sv-wc-payment-gateway.php:415
439
- msgid "Drivers license number is invalid"
440
- msgstr ""
441
-
442
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:353
443
- #: payment-gateway/class-sv-wc-payment-gateway.php:411
444
- msgid "Check Number is invalid (only digits are allowed)"
445
- msgstr ""
446
-
447
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:603
448
- #. translators: Placeholders: %1$s - payment method title, %2$s - payment
449
- #. account type (savings/checking) (may or may not be available), %3$s - last
450
- #. four digits of the account
451
- msgid "%1$s Check Transaction Approved: %2$s account ending in %3$s"
452
- msgstr ""
453
-
454
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:608
455
- #. translators: Placeholders: %s - check number
456
- msgid "Check number %s"
457
- msgstr ""
458
-
459
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:613
460
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:688
461
- #: payment-gateway/class-sv-wc-payment-gateway-hosted.php:694
462
- #: payment-gateway/class-sv-wc-payment-gateway.php:1301
463
- #: payment-gateway/class-sv-wc-payment-gateway.php:1611
464
- #: payment-gateway/class-sv-wc-payment-gateway.php:1832
465
- #: payment-gateway/integrations/class-sv-wc-payment-gateway-integration-pre-orders.php:313
466
- #. translators: Placeholders: %s - transaction ID
467
- msgid "(Transaction ID %s)"
468
- msgstr ""
469
-
470
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:676
471
- #. translators: Placeholders: %1$s - payment method title, %2$s - environment
472
- #. ("Test"), %3$s - transaction type (authorization/charge), %4$s - card type
473
- #. (mastercard, visa, ...), %5$s - last four digits of the card, %6$s - expiry
474
- #. date
475
- msgid "%1$s %2$s %3$s Approved: %4$s ending in %5$s (expires %6$s)"
476
- msgstr ""
477
-
478
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:750
479
- #. translators: Placeholders: %s - failure message
480
- msgid "Tokenization Request Failed: %s"
481
- msgstr ""
482
-
483
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:761
484
- #. translators: Placeholders: %1$s - payment method title, %2$s - failure
485
- #. message
486
- msgid "%1$s Tokenization Request Failed: %2$s"
487
- msgstr ""
488
-
489
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:782
490
- #: payment-gateway/integrations/class-sv-wc-payment-gateway-integration-pre-orders.php:330
491
- #. translators: This is a message describing that the transaction in question
492
- #. only performed a credit card authorization and did not capture any funds.
493
- msgid "Authorization only transaction"
494
- msgstr ""
495
-
496
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:1141
497
- #. translators: Placeholders: %s - failure message. Payment method as in a
498
- #. specific credit card, e-check or bank account
499
- msgid "Oops, adding your new payment method failed: %s"
500
- msgstr ""
501
-
502
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:1193
503
- #. translators: Payment method as in a specific credit card. Placeholders: %1$s
504
- #. - card type (visa, mastercard, ...), %2$s - last four digits of the card,
505
- #. %3$s - card expiry date
506
- msgid "Nice! New payment method added: %1$s ending in %2$s (expires %3$s)"
507
- msgstr ""
508
-
509
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:1203
510
- #. translators: Payment method as in a specific e-check account. Placeholders:
511
- #. %1$s - account type (checking/savings), %2$s - last four digits of the
512
- #. account
513
- msgid "Nice! New payment method added: %1$s account ending in %2$s"
514
- msgstr ""
515
-
516
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:1210
517
- #. translators: Payment method as in a specific credit card, e-check or bank
518
- #. account
519
- msgid "Nice! New payment method added."
520
- msgstr ""
521
-
522
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:1300
523
- #. translators: Placeholders: %1$s - site title, %2$s - customer email. Payment
524
- #. method as in a specific credit card, e-check or bank account
525
- msgid "%1$s - Add Payment Method for %2$s"
526
- msgstr ""
527
-
528
- #: payment-gateway/class-sv-wc-payment-gateway-helper.php:184
529
- msgid "PayPal"
530
- msgstr ""
531
-
532
- #: payment-gateway/class-sv-wc-payment-gateway-helper.php:185
533
- msgid "Checking Account"
534
- msgstr ""
535
-
536
- #: payment-gateway/class-sv-wc-payment-gateway-helper.php:186
537
- msgid "Savings Account"
538
- msgstr ""
539
-
540
- #: payment-gateway/class-sv-wc-payment-gateway-helper.php:187
541
- msgid "Credit / Debit Card"
542
- msgstr ""
543
-
544
- #: payment-gateway/class-sv-wc-payment-gateway-helper.php:188
545
- msgid "Bank Account"
546
- msgstr ""
547
-
548
- #: payment-gateway/class-sv-wc-payment-gateway-hosted.php:273
549
- msgid "Thank you for your order, please click the button below to pay."
550
- msgstr ""
551
-
552
- #: payment-gateway/class-sv-wc-payment-gateway-hosted.php:274
553
- msgid "Thank you for your order. We are now redirecting you to complete payment."
554
- msgstr ""
555
-
556
- #: payment-gateway/class-sv-wc-payment-gateway-hosted.php:275
557
- msgid "Pay Now"
558
- msgstr ""
559
-
560
- #: payment-gateway/class-sv-wc-payment-gateway-hosted.php:276
561
- msgid "Cancel Order"
562
- msgstr ""
563
-
564
- #: payment-gateway/class-sv-wc-payment-gateway-hosted.php:411
565
- #. translators: Placeholders: %1$s - transaction request type such as IPN or
566
- #. Redirect-back, %2$s - the error message
567
- msgid "Could not find order %s"
568
- msgstr ""
569
-
570
- #: payment-gateway/class-sv-wc-payment-gateway-hosted.php:420
571
- #. translators: Placeholders: %s - payment gateway title (such as
572
- #. Authorize.net, Braintree, etc)
573
- msgid "%s duplicate transaction received"
574
- msgstr ""
575
-
576
- #: payment-gateway/class-sv-wc-payment-gateway-hosted.php:423
577
- msgid "Order %s is already paid for."
578
- msgstr ""
579
-
580
- #: payment-gateway/class-sv-wc-payment-gateway-hosted.php:558
581
- #: payment-gateway/class-sv-wc-payment-gateway-hosted.php:603
582
- msgid "%1$s ending in %2$s"
583
- msgstr ""
584
-
585
- #: payment-gateway/class-sv-wc-payment-gateway-hosted.php:565
586
- #: payment-gateway/class-sv-wc-payment-gateway-payment-form.php:659
587
- #. translators: Placeholders: %s - expiry date
588
- msgid "(expires %s)"
589
- msgstr ""
590
-
591
- #: payment-gateway/class-sv-wc-payment-gateway-hosted.php:611
592
- msgid "(check number %s)"
593
- msgstr ""
594
-
595
- #: payment-gateway/class-sv-wc-payment-gateway-hosted.php:673
596
- msgid "Transaction"
597
- msgstr ""
598
-
599
- #: payment-gateway/class-sv-wc-payment-gateway-hosted.php:674
600
- msgid "Approved"
601
- msgstr ""
602
-
603
- #: payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:119
604
- #. translators: Payment method as in a specific credit card, e-check or bank
605
- #. account
606
- msgid "Are you sure you want to delete this payment method?"
607
- msgstr ""
608
-
609
- #: payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:254
610
- #. translators: Payment method as in a specific credit card, eCheck or bank
611
- #. account
612
- msgid "You do not have any saved payment methods."
613
- msgstr ""
614
-
615
- #: payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:291
616
- #. translators: Payment method as in a specific credit card, eCheck or bank
617
- #. account
618
- msgid "My Payment Methods"
619
- msgstr ""
620
-
621
- #: payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:299
622
- #. translators: Payment method as in a specific credit card, e-check or bank
623
- #. account
624
- msgid "Add New Payment Method"
625
- msgstr ""
626
-
627
- #: payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:385
628
- msgid "Method"
629
- msgstr ""
630
-
631
- #: payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:386
632
- msgid "Expires"
633
- msgstr ""
634
-
635
- #: payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:420
636
- msgid "Credit/Debit Cards"
637
- msgstr ""
638
-
639
- #: payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:426
640
- msgid "Bank Accounts"
641
- msgstr ""
642
-
643
- #: payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:473
644
- msgid "N/A"
645
- msgstr ""
646
-
647
- #: payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:593
648
- #. translators: Set a payment method as the default option
649
- msgid "Make Default"
650
- msgstr ""
651
-
652
- #: payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:604
653
- msgid "Delete"
654
- msgstr ""
655
-
656
- #: payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:655
657
- #: payment-gateway/class-sv-wc-payment-gateway-payment-form.php:652
658
- #. translators: %s - last four digits of a card/account
659
- #. translators: Placeholders: %s - last four digits of card/account
660
- msgid "ending in %s"
661
- msgstr ""
662
-
663
- #: payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:661
664
- msgid "(default)"
665
- msgstr ""
666
-
667
- #: payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:702
668
- msgid "Oops, you took too long, please try again."
669
- msgstr ""
670
-
671
- #: payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:715
672
- msgid "There was an error with your request, please try again."
673
- msgstr ""
674
-
675
- #: payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:728
676
- #. translators: Payment method as in a specific credit card, e-check or bank
677
- #. account
678
- msgid "Error removing payment method"
679
- msgstr ""
680
-
681
- #: payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:733
682
- #. translators: Payment method as in a specific credit card, e-check or bank
683
- #. account
684
- msgid "Payment method deleted."
685
- msgstr ""
686
-
687
- #: payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:743
688
- #. translators: Payment method as in a specific credit card, e-check or bank
689
- #. account
690
- msgid "Default payment method updated."
691
- msgstr ""
692
-
693
- #: payment-gateway/class-sv-wc-payment-gateway-payment-form.php:293
694
- msgid "Card Number"
695
- msgstr ""
696
-
697
- #: payment-gateway/class-sv-wc-payment-gateway-payment-form.php:314
698
- msgid "MM / YY"
699
- msgstr ""
700
-
701
- #: payment-gateway/class-sv-wc-payment-gateway-payment-form.php:332
702
- msgid "Card Security Code"
703
- msgstr ""
704
-
705
- #: payment-gateway/class-sv-wc-payment-gateway-payment-form.php:335
706
- msgid "CSC"
707
- msgstr ""
708
-
709
- #: payment-gateway/class-sv-wc-payment-gateway-payment-form.php:374
710
- msgid "Where do I find this?"
711
- msgstr ""
712
-
713
- #: payment-gateway/class-sv-wc-payment-gateway-payment-form.php:380
714
- #. translators: e-check routing number, HTML form field label,
715
- #. https:en.wikipedia.org/wiki/Routing_transit_number
716
- msgid "Routing Number"
717
- msgstr ""
718
-
719
- #: payment-gateway/class-sv-wc-payment-gateway-payment-form.php:399
720
- #. translators: e-check account number, HTML form field label
721
- msgid "Account Number"
722
- msgstr ""
723
-
724
- #: payment-gateway/class-sv-wc-payment-gateway-payment-form.php:464
725
- #. translators: Test mode refers to the current software environment
726
- msgid "TEST MODE ENABLED"
727
- msgstr ""
728
-
729
- #: payment-gateway/class-sv-wc-payment-gateway-payment-form.php:567
730
- #. translators: Payment method as in a specific credit card, eCheck or bank
731
- #. account
732
- msgid "Manage Payment Methods"
733
- msgstr ""
734
-
735
- #: payment-gateway/class-sv-wc-payment-gateway-payment-form.php:695
736
- msgid "Use a new card"
737
- msgstr ""
738
-
739
- #: payment-gateway/class-sv-wc-payment-gateway-payment-form.php:695
740
- msgid "Use a new bank account"
741
- msgstr ""
742
-
743
- #: payment-gateway/class-sv-wc-payment-gateway-payment-form.php:757
744
- #. translators: account as in customer's account on the eCommerce site
745
- msgid "Securely Save to Account"
746
- msgstr ""
747
-
748
- #: payment-gateway/class-sv-wc-payment-gateway-plugin.php:425
749
- #. translators: Placeholders: %s - plugin name
750
- msgid ""
751
- "%s: WooCommerce is not being forced over SSL; your customer's payment data "
752
- "may be at risk."
753
- msgstr ""
754
-
755
- #: payment-gateway/class-sv-wc-payment-gateway-plugin.php:482
756
- #. translators: Placeholders: %1$s - plugin name, %2$s - a
757
- #. currency/comma-separated list of currencies, %3$s - <a> tag, %4$s - </a> tag
758
- msgid ""
759
- "%1$s accepts payment in %2$s only. %3$sConfigure%4$s WooCommerce to accept "
760
- "%2$s to enable this gateway for checkout."
761
- msgid_plural ""
762
- "%1$s accepts payment in one of %2$s only. %3$sConfigure%4$s WooCommerce to "
763
- "accept one of %2$s to enable this gateway for checkout."
764
- msgstr[0] ""
765
- msgstr[1] ""
766
-
767
- #: payment-gateway/class-sv-wc-payment-gateway-plugin.php:526
768
- #. translators: Placeholders: %1$s - payment gateway title (such as
769
- #. Authorize.net, Braintree, etc), %2$s - <a> tag, %3$s - </a> tag
770
- msgid ""
771
- "%1$s is inactive for subscription transactions. Please %2$senable "
772
- "tokenization%3$s to activate %1$s for Subscriptions."
773
- msgstr ""
774
-
775
- #: payment-gateway/class-sv-wc-payment-gateway-plugin.php:544
776
- #. translators: Placeholders: %1$s - payment gateway title (such as
777
- #. Authorize.net, Braintree, etc), %2$s - <a> tag, %3$s - </a> tag
778
- msgid ""
779
- "%1$s is inactive for pre-order transactions. Please %2$senable "
780
- "tokenization%3$s to activate %1$s for Pre-Orders."
781
- msgstr ""
782
-
783
- #: payment-gateway/class-sv-wc-payment-gateway-plugin.php:580
784
- msgid ""
785
- "You must enable tokenization for this gateway in order to support automatic "
786
- "renewal payments with the WooCommerce Subscriptions extension."
787
- msgstr ""
788
-
789
- #: payment-gateway/class-sv-wc-payment-gateway-plugin.php:581
790
- msgid "Inactive"
791
- msgstr ""
792
-
793
- #: payment-gateway/class-sv-wc-payment-gateway-plugin.php:719
794
- #: payment-gateway/class-sv-wc-payment-gateway-plugin.php:788
795
- #. translators: verb, as in "Capture credit card charge". Used when an
796
- #. amount has been pre-authorized before, but funds have not yet been captured
797
- #. (taken) from the card. Capturing the charge will take the money from the
798
- #. credit card and put it in the merchant's pockets.
799
- msgid "Capture Charge"
800
- msgstr ""
801
-
802
- #: payment-gateway/class-sv-wc-payment-gateway.php:412
803
- msgid "Check Number is missing"
804
- msgstr ""
805
-
806
- #: payment-gateway/class-sv-wc-payment-gateway.php:413
807
- msgid "Drivers license state is missing"
808
- msgstr ""
809
-
810
- #: payment-gateway/class-sv-wc-payment-gateway.php:414
811
- msgid "Drivers license number is missing"
812
- msgstr ""
813
-
814
- #: payment-gateway/class-sv-wc-payment-gateway.php:590
815
- msgid "Continue"
816
- msgstr ""
817
-
818
- #: payment-gateway/class-sv-wc-payment-gateway.php:590
819
- msgid "Place order"
820
- msgstr ""
821
-
822
- #: payment-gateway/class-sv-wc-payment-gateway.php:622
823
- msgid "Thank you for your order."
824
- msgstr ""
825
-
826
- #: payment-gateway/class-sv-wc-payment-gateway.php:711
827
- msgid "Credit Card"
828
- msgstr ""
829
-
830
- #: payment-gateway/class-sv-wc-payment-gateway.php:713
831
- msgid "eCheck"
832
- msgstr ""
833
-
834
- #: payment-gateway/class-sv-wc-payment-gateway.php:731
835
- msgid "Pay securely using your credit card."
836
- msgstr ""
837
-
838
- #: payment-gateway/class-sv-wc-payment-gateway.php:733
839
- msgid "Pay securely using your checking account."
840
- msgstr ""
841
-
842
- #: payment-gateway/class-sv-wc-payment-gateway.php:752
843
- msgid "Enable / Disable"
844
- msgstr ""
845
-
846
- #: payment-gateway/class-sv-wc-payment-gateway.php:753
847
- msgid "Enable this gateway"
848
- msgstr ""
849
-
850
- #: payment-gateway/class-sv-wc-payment-gateway.php:759
851
- msgid "Title"
852
- msgstr ""
853
-
854
- #: payment-gateway/class-sv-wc-payment-gateway.php:761
855
- msgid "Payment method title that the customer will see during checkout."
856
- msgstr ""
857
-
858
- #: payment-gateway/class-sv-wc-payment-gateway.php:766
859
- msgid "Description"
860
- msgstr ""
861
-
862
- #: payment-gateway/class-sv-wc-payment-gateway.php:768
863
- msgid "Payment method description that the customer will see during checkout."
864
- msgstr ""
865
-
866
- #: payment-gateway/class-sv-wc-payment-gateway.php:797
867
- msgid "Detailed Decline Messages"
868
- msgstr ""
869
-
870
- #: payment-gateway/class-sv-wc-payment-gateway.php:799
871
- msgid ""
872
- "Check to enable detailed decline messages to the customer during checkout "
873
- "when possible, rather than a generic decline message."
874
- msgstr ""
875
-
876
- #: payment-gateway/class-sv-wc-payment-gateway.php:806
877
- msgid "Debug Mode"
878
- msgstr ""
879
-
880
- #: payment-gateway/class-sv-wc-payment-gateway.php:809
881
- #. translators: Placeholders: %1$s - <a> tag, %2$s - </a> tag
882
- msgid ""
883
- "Show Detailed Error Messages and API requests/responses on the checkout "
884
- "page and/or save them to the %1$sdebug log%2$s"
885
- msgstr ""
886
-
887
- #: payment-gateway/class-sv-wc-payment-gateway.php:812
888
- msgid "Off"
889
- msgstr ""
890
-
891
- #: payment-gateway/class-sv-wc-payment-gateway.php:813
892
- msgid "Show on Checkout Page"
893
- msgstr ""
894
-
895
- #: payment-gateway/class-sv-wc-payment-gateway.php:814
896
- msgid "Save to Log"
897
- msgstr ""
898
-
899
- #: payment-gateway/class-sv-wc-payment-gateway.php:816
900
- #. translators: show debugging information on both checkout page and in the log
901
- msgid "Both"
902
- msgstr ""
903
-
904
- #: payment-gateway/class-sv-wc-payment-gateway.php:879
905
- msgid "Select the gateway environment to use for transactions."
906
- msgstr ""
907
-
908
- #: payment-gateway/class-sv-wc-payment-gateway.php:927
909
- msgid "Connection Settings"
910
- msgstr ""
911
-
912
- #: payment-gateway/class-sv-wc-payment-gateway.php:933
913
- msgid "Share connection settings"
914
- msgstr ""
915
-
916
- #: payment-gateway/class-sv-wc-payment-gateway.php:935
917
- msgid "Use connection/authentication settings from other gateway"
918
- msgstr ""
919
-
920
- #: payment-gateway/class-sv-wc-payment-gateway.php:938
921
- msgid "Disabled because the other gateway is using these settings"
922
- msgstr ""
923
-
924
- #: payment-gateway/class-sv-wc-payment-gateway.php:955
925
- msgid "Card Verification (CSC)"
926
- msgstr ""
927
-
928
- #: payment-gateway/class-sv-wc-payment-gateway.php:956
929
- msgid "Display the Card Security Code (CV2) field on checkout"
930
- msgstr ""
931
-
932
- #: payment-gateway/class-sv-wc-payment-gateway.php:1254
933
- #. translators: Placeholders: %1$s - site title, %2$s - order number
934
- msgid "%1$s - Order %2$s"
935
- msgstr ""
936
-
937
- #: payment-gateway/class-sv-wc-payment-gateway.php:1294
938
- #. translators: Placeholders: %1$s - payment gateway title (such as
939
- #. Authorize.net, Braintree, etc), %2$s - transaction amount. Definitions:
940
- #. Capture, as in capture funds from a credit card.
941
- msgid "%1$s Capture of %2$s Approved"
942
- msgstr ""
943
-
944
- #: payment-gateway/class-sv-wc-payment-gateway.php:1322
945
- #. translators: Placeholders: %1$s - payment gateway title (such as
946
- #. Authorize.net, Braintree, etc), %2$s - transaction amount, %3$s -
947
- #. transaction status message. Definitions: Capture, as in capture funds from a
948
- #. credit card.
949
- msgid "%1$s Capture Failed: %2$s - %3$s"
950
- msgstr ""
951
-
952
- #: payment-gateway/class-sv-wc-payment-gateway.php:1338
953
- #. translators: Placeholders: %1$s - payment gateway title (such as
954
- #. Authorize.net, Braintree, etc), %2$s - failure message. Definitions:
955
- #. "capture" as in capturing funds from a credit card.
956
- msgid "%1$s Capture Failed: %2$s"
957
- msgstr ""
958
-
959
- #: payment-gateway/class-sv-wc-payment-gateway.php:1377
960
- #. translators: Placeholders: %1$s - site title, %2$s - order number.
961
- #. Definitions: Capture as in capture funds from a credit card.
962
- msgid "%1$s - Capture for Order %2$s"
963
- msgstr ""
964
-
965
- #: payment-gateway/class-sv-wc-payment-gateway.php:1541
966
- #. translators: Placeholders: %1$s - site title, %2$s - order number
967
- msgid "%1$s - Refund for Order %2$s"
968
- msgstr ""
969
-
970
- #: payment-gateway/class-sv-wc-payment-gateway.php:1604
971
- #. translators: Placeholders: %1$s - payment gateway title (such as
972
- #. Authorize.net, Braintree, etc), %2$s - a monetary amount
973
- msgid "%1$s Refund in the amount of %2$s approved."
974
- msgstr ""
975
-
976
- #: payment-gateway/class-sv-wc-payment-gateway.php:1631
977
- #. translators: Placeholders: %1$s - payment gateway title (such as
978
- #. Authorize.net, Braintree, etc), %2$s - error code, %3$s - error message
979
- msgid "%1$s Refund Failed: %2$s - %3$s"
980
- msgstr ""
981
-
982
- #: payment-gateway/class-sv-wc-payment-gateway.php:1639
983
- #. translators: Placeholders: %1$s - payment gateway title (such as
984
- #. Authorize.net, Braintree, etc), %2$s - error message
985
- msgid "%1$s Refund Failed: %2$s"
986
- msgstr ""
987
-
988
- #: payment-gateway/class-sv-wc-payment-gateway.php:1659
989
- #. translators: Placeholders: %s - payment gateway title (such as
990
- #. Authorize.net, Braintree, etc)
991
- msgid "%s Order completely refunded."
992
- msgstr ""
993
-
994
- #: payment-gateway/class-sv-wc-payment-gateway.php:1712
995
- msgid ""
996
- "Oops, you cannot partially void this order. Please use the full order "
997
- "amount."
998
- msgstr ""
999
-
1000
- #: payment-gateway/class-sv-wc-payment-gateway.php:1796
1001
- #. translators: Placeholders: %1$s - payment gateway title, %2$s - error code,
1002
- #. %3$s - error message. Void as in to void an order.
1003
- msgid "%1$s Void Failed: %2$s - %3$s"
1004
- msgstr ""
1005
-
1006
- #: payment-gateway/class-sv-wc-payment-gateway.php:1804
1007
- #. translators: Placeholders: %1$s - payment gateway title, %2$s - error
1008
- #. message. Void as in to void an order.
1009
- msgid "%1$s Void Failed: %2$s"
1010
- msgstr ""
1011
-
1012
- #: payment-gateway/class-sv-wc-payment-gateway.php:1825
1013
- #. translators: Placeholders: %1$s - payment gateway title, %2$s - a monetary
1014
- #. amount. Void as in to void an order.
1015
- msgid "%1$s Void in the amount of %2$s approved."
1016
- msgstr ""
1017
-
1018
- #: payment-gateway/class-sv-wc-payment-gateway.php:1918
1019
- #: payment-gateway/payment-tokens/class-sv-wc-payment-gateway-payment-tokens-handler.php:144
1020
- #. translators: Placeholders: %1$s - status code, %2$s - status message
1021
- #. translators: Placeholders: %1$s - payment request response status code, %2$s
1022
- #. - payment request response status message
1023
- msgid "Status code %1$s: %2$s"
1024
- msgstr ""
1025
-
1026
- #: payment-gateway/class-sv-wc-payment-gateway.php:1921
1027
- #: payment-gateway/payment-tokens/class-sv-wc-payment-gateway-payment-tokens-handler.php:147
1028
- #. translators: Placeholders: %s - status code
1029
- #. translators: Placeholders: %s - payment request response status code
1030
- msgid "Status code: %s"
1031
- msgstr ""
1032
-
1033
- #: payment-gateway/class-sv-wc-payment-gateway.php:1924
1034
- #: payment-gateway/payment-tokens/class-sv-wc-payment-gateway-payment-tokens-handler.php:150
1035
- #. translators: Placeholders; %s - status message
1036
- #. translators: Placeholders: %s - payment request response status message
1037
- msgid "Status message: %s"
1038
- msgstr ""
1039
-
1040
- #: payment-gateway/class-sv-wc-payment-gateway.php:1929
1041
- #: payment-gateway/payment-tokens/class-sv-wc-payment-gateway-payment-tokens-handler.php:157
1042
- msgid "Transaction ID %s"
1043
- msgstr ""
1044
-
1045
- #: payment-gateway/class-sv-wc-payment-gateway.php:2040
1046
- #. translators: Placeholders: %1$s - payment gateway title, %2$s - message
1047
- #. (probably reason for the transaction being held for review)
1048
- msgid "%1$s Transaction Held for Review (%2$s)"
1049
- msgstr ""
1050
-
1051
- #: payment-gateway/class-sv-wc-payment-gateway.php:2071
1052
- msgid ""
1053
- "Your order has been received and is being reviewed. Thank you for your "
1054
- "business."
1055
- msgstr ""
1056
-
1057
- #: payment-gateway/class-sv-wc-payment-gateway.php:2116
1058
- #. translators: Placeholders: %1$s - payment gateway title, %2$s - error
1059
- #. message; e.g. Order Note: [Payment method] Payment failed [error]
1060
- msgid "%1$s Payment Failed (%2$s)"
1061
- msgstr ""
1062
-
1063
- #: payment-gateway/class-sv-wc-payment-gateway.php:2133
1064
- msgid "An error occurred, please try again or try an alternate form of payment."
1065
- msgstr ""
1066
-
1067
- #: payment-gateway/class-sv-wc-payment-gateway.php:2150
1068
- #. translators: Placeholders: %1$s - payment gateway title, %2$s -
1069
- #. message/error
1070
- msgid "%1$s Transaction Cancelled (%2$s)"
1071
- msgstr ""
1072
-
1073
- #: payment-gateway/class-sv-wc-payment-gateway.php:2380
1074
- msgid "Transaction Type"
1075
- msgstr ""
1076
-
1077
- #: payment-gateway/class-sv-wc-payment-gateway.php:2382
1078
- msgid ""
1079
- "Select how transactions should be processed. Charge submits all "
1080
- "transactions for settlement, Authorization simply authorizes the order "
1081
- "total for capture later."
1082
- msgstr ""
1083
-
1084
- #: payment-gateway/class-sv-wc-payment-gateway.php:2393
1085
- msgid "Charge Virtual-Only Orders"
1086
- msgstr ""
1087
-
1088
- #: payment-gateway/class-sv-wc-payment-gateway.php:2395
1089
- msgid ""
1090
- "If the order contains exclusively virtual items, enable this to immediately "
1091
- "charge, rather than authorize, the transaction."
1092
- msgstr ""
1093
-
1094
- #: payment-gateway/class-sv-wc-payment-gateway.php:2563
1095
- msgid "Accepted Card Types"
1096
- msgstr ""
1097
-
1098
- #: payment-gateway/class-sv-wc-payment-gateway.php:2565
1099
- msgid "Select which card types you accept."
1100
- msgstr ""
1101
-
1102
- #: payment-gateway/class-sv-wc-payment-gateway.php:2653
1103
- #. translators:
1104
- #. http:www.cybersource.com/products/payment_security/payment_tokenization/ and
1105
- #. https:en.wikipedia.org/wiki/Tokenization_(data_security)
1106
- msgid "Tokenization"
1107
- msgstr ""
1108
-
1109
- #: payment-gateway/class-sv-wc-payment-gateway.php:2654
1110
- msgid "Allow customers to securely save their payment details for future checkout."
1111
- msgstr ""
1112
-
1113
- #: payment-gateway/integrations/class-sv-wc-payment-gateway-integration-pre-orders.php:240
1114
- msgid "Pre-Order Tokenization attempt failed (%s)"
1115
- msgstr ""
1116
-
1117
- #: payment-gateway/integrations/class-sv-wc-payment-gateway-integration-pre-orders.php:267
1118
- msgid "%s - Pre-Order Release Payment for Order %s"
1119
- msgstr ""
1120
-
1121
- #: payment-gateway/integrations/class-sv-wc-payment-gateway-integration-pre-orders.php:271
1122
- msgid "Payment token missing/invalid."
1123
- msgstr ""
1124
-
1125
- #: payment-gateway/integrations/class-sv-wc-payment-gateway-integration-pre-orders.php:296
1126
- msgid "%s %s Pre-Order Release Payment Approved: %s ending in %s (expires %s)"
1127
- msgstr ""
1128
-
1129
- #: payment-gateway/integrations/class-sv-wc-payment-gateway-integration-pre-orders.php:307
1130
- msgid "%s eCheck Pre-Order Release Payment Approved: %s ending in %s"
1131
- msgstr ""
1132
-
1133
- #: payment-gateway/integrations/class-sv-wc-payment-gateway-integration-pre-orders.php:348
1134
- msgid "Pre-Order Release Payment Failed: %s"
1135
- msgstr ""
1136
-
1137
- #: payment-gateway/integrations/class-sv-wc-payment-gateway-integration-subscriptions.php:216
1138
- msgid "Subscription Renewal: payment token is missing/invalid."
1139
- msgstr ""
1140
-
1141
- #: payment-gateway/integrations/class-sv-wc-payment-gateway-integration-subscriptions.php:242
1142
- msgid "%1$s - Subscription Renewal Order %2$s"
1143
- msgstr ""
1144
-
1145
- #: payment-gateway/integrations/class-sv-wc-payment-gateway-integration-subscriptions.php:438
1146
- #: payment-gateway/integrations/class-sv-wc-payment-gateway-integration-subscriptions.php:957
1147
- msgid "Via %s ending in %s"
1148
- msgstr ""
1149
-
1150
- #: payment-gateway/integrations/class-sv-wc-payment-gateway-integration-subscriptions.php:465
1151
- msgid "Subscriptions"
1152
- msgstr ""
1153
-
1154
- #: payment-gateway/integrations/class-sv-wc-payment-gateway-integration-subscriptions.php:535
1155
- msgid ""
1156
- "This payment method is tied to a subscription and cannot be deleted. Please "
1157
- "switch the subscription to another method first."
1158
- msgstr ""
1159
-
1160
- #: payment-gateway/integrations/class-sv-wc-payment-gateway-integration-subscriptions.php:545
1161
- msgid "View Subscription"
1162
- msgstr ""
1163
-
1164
- #: payment-gateway/integrations/class-sv-wc-payment-gateway-integration-subscriptions.php:598
1165
- msgid "Payment Token"
1166
- msgstr ""
1167
-
1168
- #: payment-gateway/integrations/class-sv-wc-payment-gateway-integration-subscriptions.php:626
1169
- #: payment-gateway/integrations/class-sv-wc-payment-gateway-integration-subscriptions.php:631
1170
- msgid "%s is required."
1171
- msgstr ""
1172
-
1173
- #: payment-gateway/integrations/class-sv-wc-payment-gateway-integration-subscriptions.php:786
1174
- msgid "%s0 Subscription Renewal Approved"
1175
- msgstr ""
1176
-
1177
- #: payment-gateway/integrations/class-sv-wc-payment-gateway-integration-subscriptions.php:834
1178
- msgid "%s Check Subscription Renewal Payment Approved: %s account ending in %s"
1179
- msgstr ""
1180
-
1181
- #: payment-gateway/payment-tokens/class-sv-wc-payment-gateway-payment-tokens-handler.php:152
1182
- msgid "Unknown Error"
1183
- msgstr ""
1184
-
1185
- #: payment-gateway/payment-tokens/class-sv-wc-payment-gateway-payment-tokens-handler.php:746
1186
- #. translators: Placeholders: %1$s - payment gateway title (such as
1187
- #. Authorize.net, Braintree, etc), %2$s - payment method name (mastercard, bank
1188
- #. account, etc), %3$s - last four digits of the card/account, %4$s -
1189
- #. card/account expiry date
1190
- msgid "%1$s Payment Method Saved: %2$s ending in %3$s (expires %4$s)"
1191
- msgstr ""
1192
-
1193
- #: payment-gateway/payment-tokens/class-sv-wc-payment-gateway-payment-tokens-handler.php:757
1194
- #. translators: Placeholders: %1$s - payment gateway title (such as CyberSouce,
1195
- #. NETbilling, etc), %2$s - account type (checking/savings - may or may not be
1196
- #. available), %3$s - last four digits of the account
1197
- msgid "%1$s eCheck Payment Method Saved: %2$s account ending in %3$s"
1198
- msgstr ""
1199
-
1200
- #: utilities/class-sv-wp-background-job-handler.php:571
1201
- msgid "Job data key \"%s\" not set"
1202
- msgstr ""
1203
-
1204
- #: utilities/class-sv-wp-background-job-handler.php:575
1205
- msgid "Job data key \"%s\" is not an array"
1206
- msgstr ""
1207
-
1208
- #: utilities/class-sv-wp-background-job-handler.php:787
1209
- msgid "Every %d Minutes"
1210
- msgstr ""
1211
-
1212
- #: class-sv-wc-plugin.php:486
1213
- msgctxt "noun"
1214
- msgid "Support"
1215
- msgstr ""
1216
-
1217
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:678
1218
- #: payment-gateway/class-sv-wc-payment-gateway-hosted.php:675
1219
- msgctxt "noun, software environment"
1220
- msgid "Test"
1221
- msgstr ""
1222
-
1223
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:679
1224
- #: payment-gateway/class-sv-wc-payment-gateway-hosted.php:578
1225
- #: payment-gateway/class-sv-wc-payment-gateway.php:2386
1226
- msgctxt "credit card transaction type"
1227
- msgid "Authorization"
1228
- msgstr ""
1229
-
1230
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:679
1231
- #: payment-gateway/class-sv-wc-payment-gateway-hosted.php:580
1232
- #: payment-gateway/class-sv-wc-payment-gateway.php:2385
1233
- msgctxt "noun, credit card transaction type"
1234
- msgid "Charge"
1235
- msgstr ""
1236
-
1237
- #: payment-gateway/class-sv-wc-payment-gateway-helper.php:197
1238
- msgctxt "payment method type"
1239
- msgid "Account"
1240
- msgstr ""
1241
-
1242
- #: payment-gateway/class-sv-wc-payment-gateway-helper.php:232
1243
- #: payment-gateway/class-sv-wc-payment-gateway.php:2590
1244
- msgctxt "credit card type"
1245
- msgid "Visa"
1246
- msgstr ""
1247
-
1248
- #: payment-gateway/class-sv-wc-payment-gateway-helper.php:236
1249
- #: payment-gateway/class-sv-wc-payment-gateway.php:2591
1250
- msgctxt "credit card type"
1251
- msgid "MasterCard"
1252
- msgstr ""
1253
-
1254
- #: payment-gateway/class-sv-wc-payment-gateway-helper.php:240
1255
- #: payment-gateway/class-sv-wc-payment-gateway.php:2592
1256
- msgctxt "credit card type"
1257
- msgid "American Express"
1258
- msgstr ""
1259
-
1260
- #: payment-gateway/class-sv-wc-payment-gateway-helper.php:244
1261
- msgctxt "credit card type"
1262
- msgid "Diners Club"
1263
- msgstr ""
1264
-
1265
- #: payment-gateway/class-sv-wc-payment-gateway-helper.php:248
1266
- #: payment-gateway/class-sv-wc-payment-gateway.php:2593
1267
- msgctxt "credit card type"
1268
- msgid "Discover"
1269
- msgstr ""
1270
-
1271
- #: payment-gateway/class-sv-wc-payment-gateway-helper.php:252
1272
- #: payment-gateway/class-sv-wc-payment-gateway.php:2595
1273
- msgctxt "credit card type"
1274
- msgid "JCB"
1275
- msgstr ""
1276
-
1277
- #: payment-gateway/class-sv-wc-payment-gateway-helper.php:256
1278
- msgctxt "credit card type"
1279
- msgid "CarteBleue"
1280
- msgstr ""
1281
-
1282
- #: payment-gateway/class-sv-wc-payment-gateway-helper.php:260
1283
- msgctxt "credit card type"
1284
- msgid "Maestro"
1285
- msgstr ""
1286
-
1287
- #: payment-gateway/class-sv-wc-payment-gateway-helper.php:264
1288
- msgctxt "credit card type"
1289
- msgid "Laser"
1290
- msgstr ""
1291
-
1292
- #: payment-gateway/class-sv-wc-payment-gateway.php:2594
1293
- msgctxt "credit card type"
1294
- msgid "Diners"
1295
- msgstr ""
1296
-
1297
- #: payment-gateway/class-sv-wc-payment-gateway-payment-form.php:425
1298
- #. translators: http:www.investopedia.com/terms/c/checkingaccount.asp
1299
- msgctxt "account type"
1300
- msgid "Checking"
1301
- msgstr ""
1302
-
1303
- #: payment-gateway/class-sv-wc-payment-gateway-payment-form.php:427
1304
- #. translators: http:www.investopedia.com/terms/s/savingsaccount.asp
1305
- msgctxt "account type"
1306
- msgid "Savings"
1307
- msgstr ""
1308
-
1309
- #: payment-gateway/class-sv-wc-payment-gateway.php:1897
1310
- msgctxt "hash before order number"
1311
- msgid "#"
1312
- msgstr ""
1313
-
1314
- #: payment-gateway/integrations/class-sv-wc-payment-gateway-integration-subscriptions.php:495
1315
- msgctxt "hash before order number"
1316
- msgid "#%s"
1317
- msgstr ""
1318
-
1319
- #: payment-gateway/class-sv-wc-payment-gateway.php:3141
1320
- #. translators: https:www.skyverge.com/for-translators-environments/
1321
- msgctxt "software environment"
1322
- msgid "Production"
1323
- msgstr ""
1324
-
1325
- #: payment-gateway/integrations/class-sv-wc-payment-gateway-integration-subscriptions.php:824
1326
- msgctxt "woocommerce-plugin-framework"
1327
- msgid "%s %s Subscription Renewal Payment Approved: %s ending in %s (expires %s)"
1328
- msgstr ""
1329
-
1330
- #: payment-gateway/integrations/class-sv-wc-payment-gateway-integration-subscriptions.php:857
1331
- msgctxt "woocommerce-plugin-framework"
1332
- msgid "%s Renewal Payment Failed (%s)"
1333
- msgstr ""
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
lib/skyverge/woocommerce/payment-gateway/assets/css/admin/sv-wc-payment-gateway-token-editor.min.css CHANGED
@@ -1,2 +1 @@
1
- table.sv_wc_payment_gateway_token_editor{width:auto}table.sv_wc_payment_gateway_token_editor th{padding:9px 7px !important;vertical-align:middle}table.sv_wc_payment_gateway_token_editor td{vertical-align:middle;padding:10px 7px;line-height:2em}table.sv_wc_payment_gateway_token_editor tr:nth-child(odd) td{background:#f9f9f9}table.sv_wc_payment_gateway_token_editor tr.token input.error{border-color:#a00}table.sv_wc_payment_gateway_token_editor .token-default{text-align:center}table.sv_wc_payment_gateway_token_editor .token-actions{text-align:right}table.sv_wc_payment_gateway_token_editor .actions{font-weight:normal;text-align:right}table.sv_wc_payment_gateway_token_editor .actions .error{color:#a00;padding-right:10px;font-weight:bold}
2
-
1
+ table.sv_wc_payment_gateway_token_editor{width:auto}table.sv_wc_payment_gateway_token_editor th{padding:9px 7px !important;vertical-align:middle}table.sv_wc_payment_gateway_token_editor td{vertical-align:middle;padding:10px 7px;line-height:2em}table.sv_wc_payment_gateway_token_editor tr:nth-child(odd) td{background:#f9f9f9}table.sv_wc_payment_gateway_token_editor tr.token input.error{border-color:#a00}table.sv_wc_payment_gateway_token_editor .token-default{text-align:center}table.sv_wc_payment_gateway_token_editor .token-actions{text-align:right}table.sv_wc_payment_gateway_token_editor .actions{font-weight:normal;text-align:right}table.sv_wc_payment_gateway_token_editor .actions .error{color:#a00;padding-right:10px;font-weight:bold}
 
lib/skyverge/woocommerce/payment-gateway/assets/css/frontend/sv-wc-payment-gateway-my-payment-methods.min.css CHANGED
@@ -1,2 +1 @@
1
- .sv-wc-payment-gateway-my-payment-methods-table-title{clear:both;margin:1.5em 0}.sv-wc-payment-gateway-my-payment-methods-table-title h2{display:inline}.sv-wc-payment-gateway-my-payment-methods-table-title a.button{float:right;line-height:1.5;padding-left:.8em;padding-right:.8em}.sv-wc-payment-gateway-my-payment-methods-table-title a.button:before{margin-right:5px}table.sv-wc-payment-gateway-my-payment-methods-table{font-size:0.85em}table.sv-wc-payment-gateway-my-payment-methods-table th,table.sv-wc-payment-gateway-my-payment-methods-table td{vertical-align:middle}table.sv-wc-payment-gateway-my-payment-methods-table .button{white-space:nowrap}table.sv-wc-payment-gateway-my-payment-methods-table .sv-wc-payment-gateway-payment-method-title img{width:40px;height:25px;vertical-align:middle;margin-right:1em;display:inline !important}table.sv-wc-payment-gateway-my-payment-methods-table td.sv-wc-payment-gateway-payment-method-actions{text-align:right}table.sv-wc-payment-gateway-my-payment-methods-table td.sv-wc-payment-gateway-payment-method-actions .button{margin:.125em 0 .125em .25em}table.sv-wc-payment-gateway-my-payment-methods-table td.sv-wc-payment-gateway-payment-method-actions .button.disabled.tip:hover{cursor:help}table.sv-wc-payment-gateway-my-payment-methods-table tr.sv-wc-payment-gateway-my-payment-methods-type-divider td{font-weight:700}#tiptip_holder{display:none;position:absolute;top:0;left:0;z-index:99999}#tiptip_holder.tip_top{padding-bottom:5px}#tiptip_holder.tip_top #tiptip_arrow_inner{margin-top:-7px;margin-left:-6px;border-top-color:#464646}#tiptip_holder.tip_bottom{padding-top:5px}#tiptip_holder.tip_bottom #tiptip_arrow_inner{margin-top:-5px;margin-left:-6px;border-bottom-color:#464646}#tiptip_holder.tip_right{padding-left:5px}#tiptip_holder.tip_right #tiptip_arrow_inner{margin-top:-6px;margin-left:-5px;border-right-color:#464646}#tiptip_holder.tip_left{padding-right:5px}#tiptip_holder.tip_left #tiptip_arrow_inner{margin-top:-6px;margin-left:-7px;border-left-color:#464646}#tiptip_content,.chart-tooltip{font-size:11px;color:#fff;padding:.5em .5em;background:#464646;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;-webkit-box-shadow:1px 1px 3px rgba(0,0,0,0.1);-moz-box-shadow:1px 1px 3px rgba(0,0,0,0.1);box-shadow:1px 1px 3px rgba(0,0,0,0.1);text-align:center;max-width:150px}#tiptip_content code,.chart-tooltip code{background:#888;padding:1px}#tiptip_arrow,#tiptip_arrow_inner{position:absolute;border-color:transparent;border-style:solid;border-width:6px;height:0;width:0}@media screen and (max-width: 768px){table.sv-wc-payment-gateway-my-payment-methods-table td.sv-wc-payment-gateway-payment-method-actions{text-align:left}table.sv-wc-payment-gateway-my-payment-methods-table td.sv-wc-payment-gateway-payment-method-actions:before{display:none}table.sv-wc-payment-gateway-my-payment-methods-table td.sv-wc-payment-gateway-payment-method-actions .button{float:none;margin:.125em .25em .125em 0}table.sv-wc-payment-gateway-my-payment-methods-table tr.sv-wc-payment-gateway-my-payment-methods-type-divider td:before{display:none}}
2
-
1
+ .sv-wc-payment-gateway-my-payment-methods-table-title{clear:both;margin:1.5em 0}.sv-wc-payment-gateway-my-payment-methods-table-title h2{display:inline}.sv-wc-payment-gateway-my-payment-methods-table-title a.button{float:right;line-height:1.5;padding-left:.8em;padding-right:.8em}.sv-wc-payment-gateway-my-payment-methods-table-title a.button:before{margin-right:5px}table.sv-wc-payment-gateway-my-payment-methods-table{font-size:0.85em}table.sv-wc-payment-gateway-my-payment-methods-table th,table.sv-wc-payment-gateway-my-payment-methods-table td{vertical-align:middle}table.sv-wc-payment-gateway-my-payment-methods-table .button{white-space:nowrap}table.sv-wc-payment-gateway-my-payment-methods-table .sv-wc-payment-gateway-payment-method-title img{width:40px;height:25px;vertical-align:middle;margin-right:1em;display:inline !important}table.sv-wc-payment-gateway-my-payment-methods-table td.sv-wc-payment-gateway-payment-method-actions{text-align:right}table.sv-wc-payment-gateway-my-payment-methods-table td.sv-wc-payment-gateway-payment-method-actions .button{margin:.125em 0 .125em .25em}table.sv-wc-payment-gateway-my-payment-methods-table td.sv-wc-payment-gateway-payment-method-actions .button.disabled.tip:hover{cursor:help}table.sv-wc-payment-gateway-my-payment-methods-table tr.sv-wc-payment-gateway-my-payment-methods-type-divider td{font-weight:700}#tiptip_holder{display:none;position:absolute;top:0;left:0;z-index:99999}#tiptip_holder.tip_top{padding-bottom:5px}#tiptip_holder.tip_top #tiptip_arrow_inner{margin-top:-7px;margin-left:-6px;border-top-color:#464646}#tiptip_holder.tip_bottom{padding-top:5px}#tiptip_holder.tip_bottom #tiptip_arrow_inner{margin-top:-5px;margin-left:-6px;border-bottom-color:#464646}#tiptip_holder.tip_right{padding-left:5px}#tiptip_holder.tip_right #tiptip_arrow_inner{margin-top:-6px;margin-left:-5px;border-right-color:#464646}#tiptip_holder.tip_left{padding-right:5px}#tiptip_holder.tip_left #tiptip_arrow_inner{margin-top:-6px;margin-left:-7px;border-left-color:#464646}#tiptip_content,.chart-tooltip{font-size:11px;color:#fff;padding:.5em .5em;background:#464646;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;-webkit-box-shadow:1px 1px 3px rgba(0,0,0,0.1);-moz-box-shadow:1px 1px 3px rgba(0,0,0,0.1);box-shadow:1px 1px 3px rgba(0,0,0,0.1);text-align:center;max-width:150px}#tiptip_content code,.chart-tooltip code{background:#888;padding:1px}#tiptip_arrow,#tiptip_arrow_inner{position:absolute;border-color:transparent;border-style:solid;border-width:6px;height:0;width:0}@media screen and (max-width: 768px){table.sv-wc-payment-gateway-my-payment-methods-table td.sv-wc-payment-gateway-payment-method-actions{text-align:left}table.sv-wc-payment-gateway-my-payment-methods-table td.sv-wc-payment-gateway-payment-method-actions:before{display:none}table.sv-wc-payment-gateway-my-payment-methods-table td.sv-wc-payment-gateway-payment-method-actions .button{float:none;margin:.125em .25em .125em 0}table.sv-wc-payment-gateway-my-payment-methods-table tr.sv-wc-payment-gateway-my-payment-methods-type-divider td:before{display:none}}
 
lib/skyverge/woocommerce/payment-gateway/assets/css/frontend/sv-wc-payment-gateway-payment-form.min.css CHANGED
@@ -1,87 +1 @@
1
- /*
2
- WooCommerce SkyVerge Payment Gateway Framework Payment Form SCSS
3
- Version 4.3.0-beta
4
-
5
- Copyright (c) 2015-2016, SkyVerge, Inc.
6
- Licensed under the GNU General Public License v3.0
7
- http://www.gnu.org/licenses/gpl-3.0.html
8
- */
9
- .woocommerce-checkout #payment div.payment_box .sv-wc-payment-gateway-payment-form-manage-payment-methods, #add_payment_method .sv-wc-payment-gateway-payment-form-manage-payment-methods {
10
- display: block;
11
- margin: 10px 0;
12
- text-align: center; }
13
-
14
- .woocommerce-checkout #payment div.payment_box .sv-wc-payment-gateway-payment-form-saved-payment-method, #add_payment_method .sv-wc-payment-gateway-payment-form-saved-payment-method {
15
- display: inline; }
16
- .woocommerce-checkout #payment div.payment_box .sv-wc-payment-gateway-payment-form-saved-payment-method img, #add_payment_method .sv-wc-payment-gateway-payment-form-saved-payment-method img {
17
- width: 30px;
18
- height: 20px;
19
- margin-right: .5em; }
20
-
21
- .woocommerce-checkout #payment div.payment_box input.js-sv-wc-payment-gateway-credit-card-form-input[type="tel"],
22
- .woocommerce-checkout #payment div.payment_box input.js-sv-wc-payment-gateway-credit-card-form-input[type="text"],
23
- .woocommerce-checkout #payment div.payment_box input.js-sv-wc-payment-gateway-echeck-form-input[type="tel"],
24
- .woocommerce-checkout #payment div.payment_box input.js-sv-wc-payment-gateway-echeck-form-input[type="text"], #add_payment_method input.js-sv-wc-payment-gateway-credit-card-form-input[type="tel"],
25
- #add_payment_method input.js-sv-wc-payment-gateway-credit-card-form-input[type="text"],
26
- #add_payment_method input.js-sv-wc-payment-gateway-echeck-form-input[type="tel"],
27
- #add_payment_method input.js-sv-wc-payment-gateway-echeck-form-input[type="text"] {
28
- font-size: 1.5em;
29
- padding: 8px; }
30
-
31
- .woocommerce-checkout #payment div.payment_box input.js-sv-wc-payment-gateway-credit-card-form-input[type="tel"]:focus,
32
- .woocommerce-checkout #payment div.payment_box input.js-sv-wc-payment-gateway-credit-card-form-input[type="text"]:focus, #add_payment_method input.js-sv-wc-payment-gateway-credit-card-form-input[type="tel"]:focus,
33
- #add_payment_method input.js-sv-wc-payment-gateway-credit-card-form-input[type="text"]:focus {
34
- box-shadow: 0 0 .1875em #3498db; }
35
-
36
- .woocommerce-checkout #payment div.payment_box input.js-sv-wc-payment-gateway-credit-card-form-input[type="tel"].identified,
37
- .woocommerce-checkout #payment div.payment_box input.js-sv-wc-payment-gateway-credit-card-form-input[type="text"].identified, #add_payment_method input.js-sv-wc-payment-gateway-credit-card-form-input[type="tel"].identified,
38
- #add_payment_method input.js-sv-wc-payment-gateway-credit-card-form-input[type="text"].identified {
39
- border-color: #69bf29; }
40
- .woocommerce-checkout #payment div.payment_box input.js-sv-wc-payment-gateway-credit-card-form-input[type="tel"].identified:focus,
41
- .woocommerce-checkout #payment div.payment_box input.js-sv-wc-payment-gateway-credit-card-form-input[type="text"].identified:focus, #add_payment_method input.js-sv-wc-payment-gateway-credit-card-form-input[type="tel"].identified:focus,
42
- #add_payment_method input.js-sv-wc-payment-gateway-credit-card-form-input[type="text"].identified:focus {
43
- box-shadow: 0 0 .1875em #69bf29; }
44
-
45
- .woocommerce-checkout #payment div.payment_box input.js-sv-wc-payment-gateway-credit-card-form-account-number, #add_payment_method input.js-sv-wc-payment-gateway-credit-card-form-account-number {
46
- background-image: url("../../images/card-cc-plain.svg");
47
- background-repeat: no-repeat;
48
- background-position: right 10px center;
49
- background-size: 50px 31px; }
50
- .woocommerce-checkout #payment div.payment_box input.js-sv-wc-payment-gateway-credit-card-form-account-number.visa, #add_payment_method input.js-sv-wc-payment-gateway-credit-card-form-account-number.visa {
51
- background-image: url("../../images/card-visa.svg"); }
52
- .woocommerce-checkout #payment div.payment_box input.js-sv-wc-payment-gateway-credit-card-form-account-number.mastercard, #add_payment_method input.js-sv-wc-payment-gateway-credit-card-form-account-number.mastercard {
53
- background-image: url("../../images/card-mastercard.svg"); }
54
- .woocommerce-checkout #payment div.payment_box input.js-sv-wc-payment-gateway-credit-card-form-account-number.dinersclub, #add_payment_method input.js-sv-wc-payment-gateway-credit-card-form-account-number.dinersclub {
55
- background-image: url("../../images/card-dinersclub.svg"); }
56
- .woocommerce-checkout #payment div.payment_box input.js-sv-wc-payment-gateway-credit-card-form-account-number.maestro, #add_payment_method input.js-sv-wc-payment-gateway-credit-card-form-account-number.maestro {
57
- background-image: url("../../images/card-maestro.svg"); }
58
- .woocommerce-checkout #payment div.payment_box input.js-sv-wc-payment-gateway-credit-card-form-account-number.jcb, #add_payment_method input.js-sv-wc-payment-gateway-credit-card-form-account-number.jcb {
59
- background-image: url("../../images/card-jcb.svg"); }
60
- .woocommerce-checkout #payment div.payment_box input.js-sv-wc-payment-gateway-credit-card-form-account-number.amex, #add_payment_method input.js-sv-wc-payment-gateway-credit-card-form-account-number.amex {
61
- background-image: url("../../images/card-amex.svg"); }
62
- .woocommerce-checkout #payment div.payment_box input.js-sv-wc-payment-gateway-credit-card-form-account-number.discover, #add_payment_method input.js-sv-wc-payment-gateway-credit-card-form-account-number.discover {
63
- background-image: url("../../images/card-discover.svg"); }
64
- .woocommerce-checkout #payment div.payment_box input.js-sv-wc-payment-gateway-credit-card-form-account-number.visaelectron, #add_payment_method input.js-sv-wc-payment-gateway-credit-card-form-account-number.visaelectron {
65
- background-image: url("../../images/card-visa-electron.svg"); }
66
- .woocommerce-checkout #payment div.payment_box input.js-sv-wc-payment-gateway-credit-card-form-account-number.invalid-card-type, #add_payment_method input.js-sv-wc-payment-gateway-credit-card-form-account-number.invalid-card-type {
67
- background-image: url("../../images/card-cc-invalid.svg"); }
68
-
69
- .woocommerce-checkout #payment div.payment_box .js-sv-wc-payment-gateway-echeck-form-check-hint, #add_payment_method .js-sv-wc-payment-gateway-echeck-form-check-hint {
70
- margin: 0 0 3px 2px;
71
- cursor: pointer; }
72
-
73
- .woocommerce-checkout #payment div.payment_box .js-sv-wc-payment-gateway-echeck-form-sample-check, #add_payment_method .js-sv-wc-payment-gateway-echeck-form-sample-check {
74
- margin: 1em; }
75
- .woocommerce-checkout #payment div.payment_box .js-sv-wc-payment-gateway-echeck-form-sample-check img, #add_payment_method .js-sv-wc-payment-gateway-echeck-form-sample-check img {
76
- min-height: 135px; }
77
-
78
- #add_payment_method ul.payment_methods li {
79
- list-style-type: none; }
80
- #add_payment_method ul.payment_methods li img {
81
- vertical-align: middle;
82
- margin: -2px 0 0 .5em;
83
- padding: 0;
84
- position: relative;
85
- box-shadow: none; }
86
- #add_payment_method ul.payment_methods li img + img {
87
- margin-left: 2px; }
1
+ /*WooCommerce SkyVerge Payment Gateway Framework Payment Form SCSSVersion 4.3.0-betaCopyright (c) 2015-2016, SkyVerge, Inc. Licensed under the GNU General Public License v3.0http://www.gnu.org/licenses/gpl-3.0.html*/.woocommerce-checkout #payment div.payment_box .sv-wc-payment-gateway-payment-form-manage-payment-methods, #add_payment_method .sv-wc-payment-gateway-payment-form-manage-payment-methods { display: block; margin: 10px 0; text-align: center; }.woocommerce-checkout #payment div.payment_box .sv-wc-payment-gateway-payment-form-saved-payment-method, #add_payment_method .sv-wc-payment-gateway-payment-form-saved-payment-method { display: inline; } .woocommerce-checkout #payment div.payment_box .sv-wc-payment-gateway-payment-form-saved-payment-method img, #add_payment_method .sv-wc-payment-gateway-payment-form-saved-payment-method img { width: 30px; height: 20px; margin-right: .5em; }.woocommerce-checkout #payment div.payment_box input.js-sv-wc-payment-gateway-credit-card-form-input[type="tel"],.woocommerce-checkout #payment div.payment_box input.js-sv-wc-payment-gateway-credit-card-form-input[type="text"],.woocommerce-checkout #payment div.payment_box input.js-sv-wc-payment-gateway-echeck-form-input[type="tel"],.woocommerce-checkout #payment div.payment_box input.js-sv-wc-payment-gateway-echeck-form-input[type="text"], #add_payment_method input.js-sv-wc-payment-gateway-credit-card-form-input[type="tel"],#add_payment_method input.js-sv-wc-payment-gateway-credit-card-form-input[type="text"],#add_payment_method input.js-sv-wc-payment-gateway-echeck-form-input[type="tel"],#add_payment_method input.js-sv-wc-payment-gateway-echeck-form-input[type="text"] { font-size: 1.5em; padding: 8px; }.woocommerce-checkout #payment div.payment_box input.js-sv-wc-payment-gateway-credit-card-form-input[type="tel"]:focus,.woocommerce-checkout #payment div.payment_box input.js-sv-wc-payment-gateway-credit-card-form-input[type="text"]:focus, #add_payment_method input.js-sv-wc-payment-gateway-credit-card-form-input[type="tel"]:focus,#add_payment_method input.js-sv-wc-payment-gateway-credit-card-form-input[type="text"]:focus { box-shadow: 0 0 .1875em #3498db; }.woocommerce-checkout #payment div.payment_box input.js-sv-wc-payment-gateway-credit-card-form-input[type="tel"].identified,.woocommerce-checkout #payment div.payment_box input.js-sv-wc-payment-gateway-credit-card-form-input[type="text"].identified, #add_payment_method input.js-sv-wc-payment-gateway-credit-card-form-input[type="tel"].identified,#add_payment_method input.js-sv-wc-payment-gateway-credit-card-form-input[type="text"].identified { border-color: #69bf29; } .woocommerce-checkout #payment div.payment_box input.js-sv-wc-payment-gateway-credit-card-form-input[type="tel"].identified:focus, .woocommerce-checkout #payment div.payment_box input.js-sv-wc-payment-gateway-credit-card-form-input[type="text"].identified:focus, #add_payment_method input.js-sv-wc-payment-gateway-credit-card-form-input[type="tel"].identified:focus, #add_payment_method input.js-sv-wc-payment-gateway-credit-card-form-input[type="text"].identified:focus { box-shadow: 0 0 .1875em #69bf29; }.woocommerce-checkout #payment div.payment_box input.js-sv-wc-payment-gateway-credit-card-form-account-number, #add_payment_method input.js-sv-wc-payment-gateway-credit-card-form-account-number { background-image: url("../../images/card-cc-plain.svg"); background-repeat: no-repeat; background-position: right 10px center; background-size: 50px 31px; } .woocommerce-checkout #payment div.payment_box input.js-sv-wc-payment-gateway-credit-card-form-account-number.visa, #add_payment_method input.js-sv-wc-payment-gateway-credit-card-form-account-number.visa { background-image: url("../../images/card-visa.svg"); } .woocommerce-checkout #payment div.payment_box input.js-sv-wc-payment-gateway-credit-card-form-account-number.mastercard, #add_payment_method input.js-sv-wc-payment-gateway-credit-card-form-account-number.mastercard { background-image: url("../../images/card-mastercard.svg"); } .woocommerce-checkout #payment div.payment_box input.js-sv-wc-payment-gateway-credit-card-form-account-number.dinersclub, #add_payment_method input.js-sv-wc-payment-gateway-credit-card-form-account-number.dinersclub { background-image: url("../../images/card-dinersclub.svg"); } .woocommerce-checkout #payment div.payment_box input.js-sv-wc-payment-gateway-credit-card-form-account-number.maestro, #add_payment_method input.js-sv-wc-payment-gateway-credit-card-form-account-number.maestro { background-image: url("../../images/card-maestro.svg"); } .woocommerce-checkout #payment div.payment_box input.js-sv-wc-payment-gateway-credit-card-form-account-number.jcb, #add_payment_method input.js-sv-wc-payment-gateway-credit-card-form-account-number.jcb { background-image: url("../../images/card-jcb.svg"); } .woocommerce-checkout #payment div.payment_box input.js-sv-wc-payment-gateway-credit-card-form-account-number.amex, #add_payment_method input.js-sv-wc-payment-gateway-credit-card-form-account-number.amex { background-image: url("../../images/card-amex.svg"); } .woocommerce-checkout #payment div.payment_box input.js-sv-wc-payment-gateway-credit-card-form-account-number.discover, #add_payment_method input.js-sv-wc-payment-gateway-credit-card-form-account-number.discover { background-image: url("../../images/card-discover.svg"); } .woocommerce-checkout #payment div.payment_box input.js-sv-wc-payment-gateway-credit-card-form-account-number.visaelectron, #add_payment_method input.js-sv-wc-payment-gateway-credit-card-form-account-number.visaelectron { background-image: url("../../images/card-visa-electron.svg"); } .woocommerce-checkout #payment div.payment_box input.js-sv-wc-payment-gateway-credit-card-form-account-number.invalid-card-type, #add_payment_method input.js-sv-wc-payment-gateway-credit-card-form-account-number.invalid-card-type { background-image: url("../../images/card-cc-invalid.svg"); }.woocommerce-checkout #payment div.payment_box .js-sv-wc-payment-gateway-echeck-form-check-hint, #add_payment_method .js-sv-wc-payment-gateway-echeck-form-check-hint { margin: 0 0 3px 2px; cursor: pointer; }.woocommerce-checkout #payment div.payment_box .js-sv-wc-payment-gateway-echeck-form-sample-check, #add_payment_method .js-sv-wc-payment-gateway-echeck-form-sample-check { margin: 1em; } .woocommerce-checkout #payment div.payment_box .js-sv-wc-payment-gateway-echeck-form-sample-check img, #add_payment_method .js-sv-wc-payment-gateway-echeck-form-sample-check img { min-height: 135px; }#add_payment_method ul.payment_methods li { list-style-type: none; } #add_payment_method ul.payment_methods li img { vertical-align: middle; margin: -2px 0 0 .5em; padding: 0; position: relative; box-shadow: none; } #add_payment_method ul.payment_methods li img + img { margin-left: 2px; }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
lib/skyverge/woocommerce/payment-gateway/assets/js/admin/sv-wc-payment-gateway-token-editor.min.js CHANGED
@@ -1,155 +1 @@
1
-
2
- /*
3
- WooCommerce SkyVerge Payment Gateway Framework Token Editor CoffeeScript
4
- Version 4.3.0-beta
5
-
6
- Copyright (c) 2016, SkyVerge, Inc.
7
- Licensed under the GNU General Public License v3.0
8
- http://www.gnu.org/licenses/gpl-3.0.html
9
- */
10
-
11
- (function() {
12
- jQuery(document).ready(function($) {
13
- "use strict";
14
- var ref, wc_payment_gateway_token_editor;
15
- wc_payment_gateway_token_editor = (ref = window.wc_payment_gateway_token_editor) != null ? ref : {};
16
- $('.sv_wc_payment_gateway_token_editor').each(function() {
17
- var tokens;
18
- tokens = $(this).find('tr.token');
19
- if (tokens.length === 0) {
20
- return $(this).find('tr.no-tokens').show();
21
- } else {
22
- return $(this).find('tr.no-tokens').hide();
23
- }
24
- });
25
- $('.sv_wc_payment_gateway_token_editor').on('click', '.button[data-action="remove"]', function(e) {
26
- var data, editor, row;
27
- e.preventDefault();
28
- editor = $(this).closest('table');
29
- editor.block({
30
- message: null,
31
- overlayCSS: {
32
- background: '#fff',
33
- opacity: 0.6
34
- }
35
- });
36
- if (confirm(wc_payment_gateway_token_editor.actions.remove_token.ays)) {
37
- row = $(this).closest('tr');
38
- if (row.hasClass('new-token')) {
39
- row.remove();
40
- } else {
41
- data = {
42
- action: 'wc_payment_gateway_' + editor.data('gateway-id') + '_admin_remove_payment_token',
43
- user_id: $(this).data('user-id'),
44
- token_id: $(this).data('token-id'),
45
- security: wc_payment_gateway_token_editor.actions.remove_token.nonce
46
- };
47
- $.post(wc_payment_gateway_token_editor.ajax_url, data, function(response) {
48
- if (response.success === true) {
49
- return $(row).remove();
50
- }
51
- });
52
- }
53
- if (editor.find('tr.token').length === 0) {
54
- editor.find('tr.no-tokens').show();
55
- }
56
- }
57
- return editor.unblock();
58
- });
59
- $('table.sv_wc_payment_gateway_token_editor').on('click', '.button[data-action="add-new"]', function(e) {
60
- var body, count, data, editor;
61
- e.preventDefault();
62
- editor = $(this).closest('table');
63
- editor.block({
64
- message: null,
65
- overlayCSS: {
66
- background: '#fff',
67
- opacity: 0.6
68
- }
69
- });
70
- body = editor.find('tbody.tokens');
71
- count = body.find('tr.token').length;
72
- data = {
73
- action: 'wc_payment_gateway_' + editor.data('gateway-id') + '_admin_get_blank_payment_token',
74
- index: count + 1,
75
- security: wc_payment_gateway_token_editor.actions.add_token.nonce
76
- };
77
- return $.post(wc_payment_gateway_token_editor.ajax_url, data, function(response) {
78
- if (response.success === true) {
79
- body.append(response.data);
80
- }
81
- editor.find('tr.no-tokens').hide();
82
- return editor.unblock();
83
- });
84
- });
85
- $('table.sv_wc_payment_gateway_token_editor').on('click', '.button[data-action="refresh"]', function(e) {
86
- var body, count, data, editor;
87
- e.preventDefault();
88
- editor = $(this).closest('table');
89
- editor.block({
90
- message: null,
91
- overlayCSS: {
92
- background: '#fff',
93
- opacity: 0.6
94
- }
95
- });
96
- body = editor.find('tbody.tokens');
97
- count = body.find('tr.token').length;
98
- data = {
99
- action: 'wc_payment_gateway_' + editor.data('gateway-id') + '_admin_refresh_payment_tokens',
100
- user_id: $(this).data('user-id'),
101
- security: wc_payment_gateway_token_editor.actions.refresh.nonce
102
- };
103
- return $.post(wc_payment_gateway_token_editor.ajax_url, data, function(response) {
104
- if (response.success === true) {
105
- if (response.data) {
106
- editor.find('tr.no-tokens').hide();
107
- body.html(response.data);
108
- } else {
109
- body.empty();
110
- editor.find('tr.no-tokens').show();
111
- }
112
- }
113
- return editor.unblock();
114
- });
115
- });
116
- return $('table.sv_wc_payment_gateway_token_editor').on('click', '.sv-wc-payment-gateway-token-editor-action-button[data-action="save"]', function(e) {
117
- var actions_row, editor, focused, inputs;
118
- editor = $(this).closest('table');
119
- actions_row = editor.find('tfoot th');
120
- editor.block({
121
- message: null,
122
- overlayCSS: {
123
- background: '#fff',
124
- opacity: 0.6
125
- }
126
- });
127
- actions_row.find('.error, .success').remove();
128
- inputs = editor.find('tbody.tokens tr.token input[type="text"]');
129
- focused = false;
130
- return inputs.each(function(index) {
131
- var pattern, required, value;
132
- $(this).removeClass('error');
133
- value = $(this).val();
134
- required = $(this).prop('required');
135
- pattern = $(this).attr('pattern');
136
- if (!(required || value)) {
137
- return;
138
- }
139
- if (!value.match(pattern) || (required && !value)) {
140
- e.preventDefault();
141
- $(this).addClass('error');
142
- if (!focused) {
143
- actions_row.prepend('<span class="error">' + wc_payment_gateway_token_editor.actions.save.error + '</span>');
144
- $(this).focus();
145
- focused = true;
146
- }
147
- return editor.unblock();
148
- }
149
- });
150
- });
151
- });
152
-
153
- }).call(this);
154
-
155
-
1
+ /* WooCommerce SkyVerge Payment Gateway Framework Token Editor CoffeeScript Version 4.3.0-beta Copyright (c) 2016, SkyVerge, Inc. Licensed under the GNU General Public License v3.0 http://www.gnu.org/licenses/gpl-3.0.html */(function() { jQuery(document).ready(function($) { "use strict"; var ref, wc_payment_gateway_token_editor; wc_payment_gateway_token_editor = (ref = window.wc_payment_gateway_token_editor) != null ? ref : {}; $('.sv_wc_payment_gateway_token_editor').each(function() { var tokens; tokens = $(this).find('tr.token'); if (tokens.length === 0) { return $(this).find('tr.no-tokens').show(); } else { return $(this).find('tr.no-tokens').hide(); } }); $('.sv_wc_payment_gateway_token_editor').on('click', '.button[data-action="remove"]', function(e) { var data, editor, row; e.preventDefault(); editor = $(this).closest('table'); editor.block({ message: null, overlayCSS: { background: '#fff', opacity: 0.6 } }); if (confirm(wc_payment_gateway_token_editor.actions.remove_token.ays)) { row = $(this).closest('tr'); if (row.hasClass('new-token')) { row.remove(); } else { data = { action: 'wc_payment_gateway_' + editor.data('gateway-id') + '_admin_remove_payment_token', user_id: $(this).data('user-id'), token_id: $(this).data('token-id'), security: wc_payment_gateway_token_editor.actions.remove_token.nonce }; $.post(wc_payment_gateway_token_editor.ajax_url, data, function(response) { if (response.success === true) { return $(row).remove(); } }); } if (editor.find('tr.token').length === 0) { editor.find('tr.no-tokens').show(); } } return editor.unblock(); }); $('table.sv_wc_payment_gateway_token_editor').on('click', '.button[data-action="add-new"]', function(e) { var body, count, data, editor; e.preventDefault(); editor = $(this).closest('table'); editor.block({ message: null, overlayCSS: { background: '#fff', opacity: 0.6 } }); body = editor.find('tbody.tokens'); count = body.find('tr.token').length; data = { action: 'wc_payment_gateway_' + editor.data('gateway-id') + '_admin_get_blank_payment_token', index: count + 1, security: wc_payment_gateway_token_editor.actions.add_token.nonce }; return $.post(wc_payment_gateway_token_editor.ajax_url, data, function(response) { if (response.success === true) { body.append(response.data); } editor.find('tr.no-tokens').hide(); return editor.unblock(); }); }); $('table.sv_wc_payment_gateway_token_editor').on('click', '.button[data-action="refresh"]', function(e) { var body, count, data, editor; e.preventDefault(); editor = $(this).closest('table'); editor.block({ message: null, overlayCSS: { background: '#fff', opacity: 0.6 } }); body = editor.find('tbody.tokens'); count = body.find('tr.token').length; data = { action: 'wc_payment_gateway_' + editor.data('gateway-id') + '_admin_refresh_payment_tokens', user_id: $(this).data('user-id'), security: wc_payment_gateway_token_editor.actions.refresh.nonce }; return $.post(wc_payment_gateway_token_editor.ajax_url, data, function(response) { if (response.success === true) { if (response.data) { editor.find('tr.no-tokens').hide(); body.html(response.data); } else { body.empty(); editor.find('tr.no-tokens').show(); } } return editor.unblock(); }); }); return $('table.sv_wc_payment_gateway_token_editor').on('click', '.sv-wc-payment-gateway-token-editor-action-button[data-action="save"]', function(e) { var actions_row, editor, focused, inputs; editor = $(this).closest('table'); actions_row = editor.find('tfoot th'); editor.block({ message: null, overlayCSS: { background: '#fff', opacity: 0.6 } }); actions_row.find('.error, .success').remove(); inputs = editor.find('tbody.tokens tr.token input[type="text"]'); focused = false; return inputs.each(function(index) { var pattern, required, value; $(this).removeClass('error'); value = $(this).val(); required = $(this).prop('required'); pattern = $(this).attr('pattern'); if (!(required || value)) { return; } if (!value.match(pattern) || (required && !value)) { e.preventDefault(); $(this).addClass('error'); if (!focused) { actions_row.prepend('<span class="error">' + wc_payment_gateway_token_editor.actions.save.error + '</span>'); $(this).focus(); focused = true; } return editor.unblock(); } }); }); });}).call(this);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
lib/skyverge/woocommerce/payment-gateway/assets/js/frontend/sv-wc-payment-gateway-payment-form.min.js CHANGED
@@ -1,317 +1 @@
1
-
2
- /*
3
- WooCommerce SkyVerge Payment Gateway Framework Payment Form CoffeeScript
4
- Version 4.3.0-beta
5
-
6
- Copyright (c) 2014-2016, SkyVerge, Inc.
7
- Licensed under the GNU General Public License v3.0
8
- http://www.gnu.org/licenses/gpl-3.0.html
9
- */
10
-
11
- (function() {
12
- var indexOf = [].indexOf || function(item) { for (var i = 0, l = this.length; i < l; i++) { if (i in this && this[i] === item) return i; } return -1; };
13
-
14
- jQuery(document).ready(function($) {
15
- "use strict";
16
- return window.SV_WC_Payment_Form_Handler = (function() {
17
- function SV_WC_Payment_Form_Handler(args) {
18
- this.id = args.id;
19
- this.id_dasherized = args.id_dasherized;
20
- this.plugin_id = args.plugin_id;
21
- this.type = args.type;
22
- this.csc_required = args.csc_required;
23
- this.enabled_card_types = args.enabled_card_types;
24
- if ($('form.checkout').length) {
25
- this.form = $('form.checkout');
26
- this.handle_checkout_page();
27
- } else if ($('form#order_review').length) {
28
- this.form = $('form#order_review');
29
- this.handle_pay_page();
30
- } else if ($('form#add_payment_method').length) {
31
- this.form = $('form#add_payment_method');
32
- this.handle_add_payment_method_page();
33
- } else {
34
- console.log('No payment form found!');
35
- return;
36
- }
37
- this.params = window["sv_wc_payment_gateway_payment_form_params"];
38
- if (this.type === 'echeck') {
39
- this.form.on('click', '.js-sv-wc-payment-gateway-echeck-form-check-hint, .js-sv-wc-payment-gateway-echeck-form-sample-check', (function(_this) {
40
- return function() {
41
- return _this.handle_sample_check_hint();
42
- };
43
- })(this));
44
- }
45
- $(document).trigger('sv_wc_payment_form_handler_init', {
46
- id: this.id,
47
- instance: this
48
- });
49
- }
50
-
51
- SV_WC_Payment_Form_Handler.prototype.handle_checkout_page = function() {
52
- if (this.type === 'credit-card') {
53
- $(document.body).on('updated_checkout', (function(_this) {
54
- return function() {
55
- return _this.format_credit_card_inputs();
56
- };
57
- })(this));
58
- }
59
- $(document.body).on('updated_checkout', (function(_this) {
60
- return function() {
61
- return _this.set_payment_fields();
62
- };
63
- })(this));
64
- $(document.body).on('updated_checkout', (function(_this) {
65
- return function() {
66
- return _this.handle_saved_payment_methods();
67
- };
68
- })(this));
69
- return this.form.on("checkout_place_order_" + this.id, (function(_this) {
70
- return function() {
71
- return _this.validate_payment_data();
72
- };
73
- })(this));
74
- };
75
-
76
- SV_WC_Payment_Form_Handler.prototype.handle_pay_page = function() {
77
- this.set_payment_fields();
78
- if (this.type === 'credit-card') {
79
- this.format_credit_card_inputs();
80
- }
81
- this.handle_saved_payment_methods();
82
- return this.form.submit((function(_this) {
83
- return function() {
84
- if ($('#order_review input[name=payment_method]:checked').val() === _this.id) {
85
- return _this.validate_payment_data();
86
- }
87
- };
88
- })(this));
89
- };
90
-
91
- SV_WC_Payment_Form_Handler.prototype.handle_add_payment_method_page = function() {
92
- this.set_payment_fields();
93
- if (this.type === 'credit-card') {
94
- this.format_credit_card_inputs();
95
- }
96
- return this.form.submit((function(_this) {
97
- return function() {
98
- if ($('#add_payment_method input[name=payment_method]:checked').val() === _this.id) {
99
- return _this.validate_payment_data();
100
- }
101
- };
102
- })(this));
103
- };
104
-
105
- SV_WC_Payment_Form_Handler.prototype.set_payment_fields = function() {
106
- return this.payment_fields = $(".payment_method_" + this.id);
107
- };
108
-
109
- SV_WC_Payment_Form_Handler.prototype.validate_payment_data = function() {
110
- var handler, valid;
111
- if (this.form.is('.processing')) {
112
- return false;
113
- }
114
- this.saved_payment_method_selected = this.payment_fields.find('.js-sv-wc-payment-gateway-payment-token:checked').val();
115
- valid = this.type === 'credit-card' ? this.validate_card_data() : this.validate_account_data();
116
- handler = $(document.body).triggerHandler('sv_wc_payment_form_valid_payment_data', {
117
- payment_form: this,
118
- passed_validation: valid
119
- }) !== false;
120
- return valid && handler;
121
- };
122
-
123
- SV_WC_Payment_Form_Handler.prototype.format_credit_card_inputs = function() {
124
- $('.js-sv-wc-payment-gateway-credit-card-form-account-number').payment('formatCardNumber').change();
125
- $('.js-sv-wc-payment-gateway-credit-card-form-expiry').payment('formatCardExpiry').change();
126
- $('.js-sv-wc-payment-gateway-credit-card-form-csc').payment('formatCardCVC').change();
127
- return $('.js-sv-wc-payment-gateway-credit-card-form-input').on('change paste keyup', (function(_this) {
128
- return function() {
129
- return _this.do_inline_credit_card_validation();
130
- };
131
- })(this));
132
- };
133
-
134
- SV_WC_Payment_Form_Handler.prototype.do_inline_credit_card_validation = function() {
135
- var $card_number, $card_type, $csc, $expiry;
136
- $card_number = $('.js-sv-wc-payment-gateway-credit-card-form-account-number');
137
- $expiry = $('.js-sv-wc-payment-gateway-credit-card-form-expiry');
138
- $csc = $('.js-sv-wc-payment-gateway-credit-card-form-csc');
139
- $card_type = $.payment.cardType($card_number.val());
140
- if (indexOf.call(this.enabled_card_types, $card_type) < 0) {
141
- $card_number.addClass('invalid-card-type');
142
- } else {
143
- $card_number.removeClass('invalid-card-type');
144
- }
145
- if ($.payment.validateCardExpiry($expiry.payment('cardExpiryVal'))) {
146
- $expiry.addClass('identified');
147
- } else {
148
- $expiry.removeClass('identified');
149
- }
150
- if ($.payment.validateCardCVC($csc.val())) {
151
- return $csc.addClass('identified');
152
- } else {
153
- return $csc.removeClass('identified');
154
- }
155
- };
156
-
157
- SV_WC_Payment_Form_Handler.prototype.validate_card_data = function() {
158
- var account_number, csc, errors, expiry;
159
- errors = [];
160
- csc = this.payment_fields.find('.js-sv-wc-payment-gateway-credit-card-form-csc').val();
161
- if (csc != null) {
162
- if (csc) {
163
- if (/\D/.test(csc)) {
164
- errors.push(this.params.cvv_digits_invalid);
165
- }
166
- if (csc.length < 3 || csc.length > 4) {
167
- errors.push(this.params.cvv_length_invalid);
168
- }
169
- } else if (this.csc_required) {
170
- errors.push(this.params.cvv_missing);
171
- }
172
- }
173
- if (!this.saved_payment_method_selected) {
174
- account_number = this.payment_fields.find('.js-sv-wc-payment-gateway-credit-card-form-account-number').val();
175
- expiry = $.payment.cardExpiryVal(this.payment_fields.find('.js-sv-wc-payment-gateway-credit-card-form-expiry').val());
176
- account_number = account_number.replace(/-|\s/g, '');
177
- if (!account_number) {
178
- errors.push(this.params.card_number_missing);
179
- } else {
180
- if (account_number.length < 12 || account_number.length > 19) {
181
- errors.push(this.params.card_number_length_invalid);
182
- }
183
- if (/\D/.test(account_number)) {
184
- errors.push(this.params.card_number_digits_invalid);
185
- }
186
- if (!$.payment.validateCardNumber(account_number)) {
187
- errors.push(this.params.card_number_invalid);
188
- }
189
- }
190
- if (!$.payment.validateCardExpiry(expiry)) {
191
- errors.push(this.params.card_exp_date_invalid);
192
- }
193
- }
194
- if (errors.length > 0) {
195
- this.render_errors(errors);
196
- return false;
197
- } else {
198
- this.payment_fields.find('.js-sv-wc-payment-gateway-credit-card-form-account-number').val(account_number);
199
- return true;
200
- }
201
- };
202
-
203
- SV_WC_Payment_Form_Handler.prototype.validate_account_data = function() {
204
- var account_number, errors, routing_number;
205
- if (this.saved_payment_method_selected) {
206
- return true;
207
- }
208
- errors = [];
209
- routing_number = this.payment_fields.find('.js-sv-wc-payment-gateway-echeck-form-routing-number').val();
210
- account_number = this.payment_fields.find('.js-sv-wc-payment-gateway-echeck-form-account-number').val();
211
- if (!routing_number) {
212
- errors.push(this.params.routing_number_missing);
213
- } else {
214
- if (9 !== routing_number.length) {
215
- errors.push(this.params.routing_number_length_invalid);
216
- }
217
- if (/\D/.test(routing_number)) {
218
- errors.push(this.params.routing_number_digits_invalid);
219
- }
220
- }
221
- if (!account_number) {
222
- errors.push(this.params.account_number_missing);
223
- } else {
224
- if (account_number.length < 3 || account_number.length > 17) {
225
- errors.push(this.params.account_number_length_invalid);
226
- }
227
- if (/\D/.test(account_number)) {
228
- errors.push(this.params.account_number_invalid);
229
- }
230
- }
231
- if (errors.length > 0) {
232
- this.render_errors(errors);
233
- return false;
234
- } else {
235
- this.payment_fields.find('.js-sv-wc-payment-gateway-echeck-form-account-number').val(account_number);
236
- return true;
237
- }
238
- };
239
-
240
- SV_WC_Payment_Form_Handler.prototype.render_errors = function(errors) {
241
- $('.woocommerce-error, .woocommerce-message').remove();
242
- this.form.prepend('<ul class="woocommerce-error"><li>' + errors.join('</li><li>') + '</li></ul>');
243
- this.form.removeClass('processing').unblock();
244
- this.form.find('.input-text, select').blur();
245
- return $('html, body').animate({
246
- scrollTop: this.form.offset().top - 100
247
- }, 1000);
248
- };
249
-
250
- SV_WC_Payment_Form_Handler.prototype.handle_saved_payment_methods = function() {
251
- var $csc_field, $new_payment_method_selection, csc_required, id_dasherized;
252
- id_dasherized = this.id_dasherized;
253
- csc_required = this.csc_required;
254
- $new_payment_method_selection = $("div.js-wc-" + id_dasherized + "-new-payment-method-form");
255
- $csc_field = $new_payment_method_selection.find('.js-sv-wc-payment-gateway-credit-card-form-csc').parent();
256
- $("input.js-wc-" + this.id_dasherized + "-payment-token").change(function() {
257
- var tokenized_payment_method_selected;
258
- tokenized_payment_method_selected = $("input.js-wc-" + id_dasherized + "-payment-token:checked").val();
259
- if (tokenized_payment_method_selected) {
260
- $new_payment_method_selection.slideUp(200);
261
- if (csc_required) {
262
- $csc_field.removeClass('form-row-last').addClass('form-row-first');
263
- return $new_payment_method_selection.after($csc_field);
264
- }
265
- } else {
266
- $new_payment_method_selection.slideDown(200);
267
- if (csc_required) {
268
- $csc_field.removeClass('form-row-first').addClass('form-row-last');
269
- return $new_payment_method_selection.find('.js-sv-wc-payment-gateway-credit-card-form-expiry').parent().after($csc_field);
270
- }
271
- }
272
- }).change();
273
- return $('input#createaccount').change(function() {
274
- var $parent_row;
275
- $parent_row = $("input.js-wc-" + id_dasherized + "-tokenize-payment-method").closest('p.form-row');
276
- if ($(this).is(':checked')) {
277
- $parent_row.slideDown();
278
- return $parent_row.next().show();
279
- } else {
280
- $parent_row.hide();
281
- return $parent_row.next().hide();
282
- }
283
- }).change();
284
- };
285
-
286
- SV_WC_Payment_Form_Handler.prototype.handle_sample_check_hint = function() {
287
- var $sample_check;
288
- $sample_check = this.payment_fields.find('.js-sv-wc-payment-gateway-echeck-form-sample-check');
289
- if ($sample_check.is(":visible")) {
290
- return $sample_check.slideUp();
291
- } else {
292
- return $sample_check.slideDown();
293
- }
294
- };
295
-
296
- SV_WC_Payment_Form_Handler.prototype.block_ui = function() {
297
- return this.form.block({
298
- message: null,
299
- overlayCSS: {
300
- background: '#fff',
301
- opacity: 0.6
302
- }
303
- });
304
- };
305
-
306
- SV_WC_Payment_Form_Handler.prototype.unblock_ui = function() {
307
- return this.form.unblock();
308
- };
309
-
310
- return SV_WC_Payment_Form_Handler;
311
-
312
- })();
313
- });
314
-
315
- }).call(this);
316
-
317
-
1
+ /* WooCommerce SkyVerge Payment Gateway Framework Payment Form CoffeeScript Version 4.3.0-beta Copyright (c) 2014-2016, SkyVerge, Inc. Licensed under the GNU General Public License v3.0 http://www.gnu.org/licenses/gpl-3.0.html */(function() { var indexOf = [].indexOf || function(item) { for (var i = 0, l = this.length; i < l; i++) { if (i in this && this[i] === item) return i; } return -1; }; jQuery(document).ready(function($) { "use strict"; return window.SV_WC_Payment_Form_Handler = (function() { function SV_WC_Payment_Form_Handler(args) { this.id = args.id; this.id_dasherized = args.id_dasherized; this.plugin_id = args.plugin_id; this.type = args.type; this.csc_required = args.csc_required; this.enabled_card_types = args.enabled_card_types; if ($('form.checkout').length) { this.form = $('form.checkout'); this.handle_checkout_page(); } else if ($('form#order_review').length) { this.form = $('form#order_review'); this.handle_pay_page(); } else if ($('form#add_payment_method').length) { this.form = $('form#add_payment_method'); this.handle_add_payment_method_page(); } else { console.log('No payment form found!'); return; } this.params = window["sv_wc_payment_gateway_payment_form_params"]; if (this.type === 'echeck') { this.form.on('click', '.js-sv-wc-payment-gateway-echeck-form-check-hint, .js-sv-wc-payment-gateway-echeck-form-sample-check', (function(_this) { return function() { return _this.handle_sample_check_hint(); }; })(this)); } $(document).trigger('sv_wc_payment_form_handler_init', { id: this.id, instance: this }); } SV_WC_Payment_Form_Handler.prototype.handle_checkout_page = function() { if (this.type === 'credit-card') { $(document.body).on('updated_checkout', (function(_this) { return function() { return _this.format_credit_card_inputs(); }; })(this)); } $(document.body).on('updated_checkout', (function(_this) { return function() { return _this.set_payment_fields(); }; })(this)); $(document.body).on('updated_checkout', (function(_this) { return function() { return _this.handle_saved_payment_methods(); }; })(this)); return this.form.on("checkout_place_order_" + this.id, (function(_this) { return function() { return _this.validate_payment_data(); }; })(this)); }; SV_WC_Payment_Form_Handler.prototype.handle_pay_page = function() { this.set_payment_fields(); if (this.type === 'credit-card') { this.format_credit_card_inputs(); } this.handle_saved_payment_methods(); return this.form.submit((function(_this) { return function() { if ($('#order_review input[name=payment_method]:checked').val() === _this.id) { return _this.validate_payment_data(); } }; })(this)); }; SV_WC_Payment_Form_Handler.prototype.handle_add_payment_method_page = function() { this.set_payment_fields(); if (this.type === 'credit-card') { this.format_credit_card_inputs(); } return this.form.submit((function(_this) { return function() { if ($('#add_payment_method input[name=payment_method]:checked').val() === _this.id) { return _this.validate_payment_data(); } }; })(this)); }; SV_WC_Payment_Form_Handler.prototype.set_payment_fields = function() { return this.payment_fields = $(".payment_method_" + this.id); }; SV_WC_Payment_Form_Handler.prototype.validate_payment_data = function() { var handler, valid; if (this.form.is('.processing')) { return false; } this.saved_payment_method_selected = this.payment_fields.find('.js-sv-wc-payment-gateway-payment-token:checked').val(); valid = this.type === 'credit-card' ? this.validate_card_data() : this.validate_account_data(); handler = $(document.body).triggerHandler('sv_wc_payment_form_valid_payment_data', { payment_form: this, passed_validation: valid }) !== false; return valid && handler; }; SV_WC_Payment_Form_Handler.prototype.format_credit_card_inputs = function() { $('.js-sv-wc-payment-gateway-credit-card-form-account-number').payment('formatCardNumber').change(); $('.js-sv-wc-payment-gateway-credit-card-form-expiry').payment('formatCardExpiry').change(); $('.js-sv-wc-payment-gateway-credit-card-form-csc').payment('formatCardCVC').change(); return $('.js-sv-wc-payment-gateway-credit-card-form-input').on('change paste keyup', (function(_this) { return function() { return _this.do_inline_credit_card_validation(); }; })(this)); }; SV_WC_Payment_Form_Handler.prototype.do_inline_credit_card_validation = function() { var $card_number, $card_type, $csc, $expiry; $card_number = $('.js-sv-wc-payment-gateway-credit-card-form-account-number'); $expiry = $('.js-sv-wc-payment-gateway-credit-card-form-expiry'); $csc = $('.js-sv-wc-payment-gateway-credit-card-form-csc'); $card_type = $.payment.cardType($card_number.val()); if (indexOf.call(this.enabled_card_types, $card_type) < 0) { $card_number.addClass('invalid-card-type'); } else { $card_number.removeClass('invalid-card-type'); } if ($.payment.validateCardExpiry($expiry.payment('cardExpiryVal'))) { $expiry.addClass('identified'); } else { $expiry.removeClass('identified'); } if ($.payment.validateCardCVC($csc.val())) { return $csc.addClass('identified'); } else { return $csc.removeClass('identified'); } }; SV_WC_Payment_Form_Handler.prototype.validate_card_data = function() { var account_number, csc, errors, expiry; errors = []; csc = this.payment_fields.find('.js-sv-wc-payment-gateway-credit-card-form-csc').val(); if (csc != null) { if (csc) { if (/\D/.test(csc)) { errors.push(this.params.cvv_digits_invalid); } if (csc.length < 3 || csc.length > 4) { errors.push(this.params.cvv_length_invalid); } } else if (this.csc_required) { errors.push(this.params.cvv_missing); } } if (!this.saved_payment_method_selected) { account_number = this.payment_fields.find('.js-sv-wc-payment-gateway-credit-card-form-account-number').val(); expiry = $.payment.cardExpiryVal(this.payment_fields.find('.js-sv-wc-payment-gateway-credit-card-form-expiry').val()); account_number = account_number.replace(/-|\s/g, ''); if (!account_number) { errors.push(this.params.card_number_missing); } else { if (account_number.length < 12 || account_number.length > 19) { errors.push(this.params.card_number_length_invalid); } if (/\D/.test(account_number)) { errors.push(this.params.card_number_digits_invalid); } if (!$.payment.validateCardNumber(account_number)) { errors.push(this.params.card_number_invalid); } } if (!$.payment.validateCardExpiry(expiry)) { errors.push(this.params.card_exp_date_invalid); } } if (errors.length > 0) { this.render_errors(errors); return false; } else { this.payment_fields.find('.js-sv-wc-payment-gateway-credit-card-form-account-number').val(account_number); return true; } }; SV_WC_Payment_Form_Handler.prototype.validate_account_data = function() { var account_number, errors, routing_number; if (this.saved_payment_method_selected) { return true; } errors = []; routing_number = this.payment_fields.find('.js-sv-wc-payment-gateway-echeck-form-routing-number').val(); account_number = this.payment_fields.find('.js-sv-wc-payment-gateway-echeck-form-account-number').val(); if (!routing_number) { errors.push(this.params.routing_number_missing); } else { if (9 !== routing_number.length) { errors.push(this.params.routing_number_length_invalid); } if (/\D/.test(routing_number)) { errors.push(this.params.routing_number_digits_invalid); } } if (!account_number) { errors.push(this.params.account_number_missing); } else { if (account_number.length < 3 || account_number.length > 17) { errors.push(this.params.account_number_length_invalid); } if (/\D/.test(account_number)) { errors.push(this.params.account_number_invalid); } } if (errors.length > 0) { this.render_errors(errors); return false; } else { this.payment_fields.find('.js-sv-wc-payment-gateway-echeck-form-account-number').val(account_number); return true; } }; SV_WC_Payment_Form_Handler.prototype.render_errors = function(errors) { $('.woocommerce-error, .woocommerce-message').remove(); this.form.prepend('<ul class="woocommerce-error"><li>' + errors.join('</li><li>') + '</li></ul>'); this.form.removeClass('processing').unblock(); this.form.find('.input-text, select').blur(); return $('html, body').animate({ scrollTop: this.form.offset().top - 100 }, 1000); }; SV_WC_Payment_Form_Handler.prototype.handle_saved_payment_methods = function() { var $csc_field, $new_payment_method_selection, csc_required, id_dasherized; id_dasherized = this.id_dasherized; csc_required = this.csc_required; $new_payment_method_selection = $("div.js-wc-" + id_dasherized + "-new-payment-method-form"); $csc_field = $new_payment_method_selection.find('.js-sv-wc-payment-gateway-credit-card-form-csc').parent(); $("input.js-wc-" + this.id_dasherized + "-payment-token").change(function() { var tokenized_payment_method_selected; tokenized_payment_method_selected = $("input.js-wc-" + id_dasherized + "-payment-token:checked").val(); if (tokenized_payment_method_selected) { $new_payment_method_selection.slideUp(200); if (csc_required) { $csc_field.removeClass('form-row-last').addClass('form-row-first'); return $new_payment_method_selection.after($csc_field); } } else { $new_payment_method_selection.slideDown(200); if (csc_required) { $csc_field.removeClass('form-row-first').addClass('form-row-last'); return $new_payment_method_selection.find('.js-sv-wc-payment-gateway-credit-card-form-expiry').parent().after($csc_field); } } }).change(); return $('input#createaccount').change(function() { var $parent_row; $parent_row = $("input.js-wc-" + id_dasherized + "-tokenize-payment-method").closest('p.form-row'); if ($(this).is(':checked')) { $parent_row.slideDown(); return $parent_row.next().show(); } else { $parent_row.hide(); return $parent_row.next().hide(); } }).change(); }; SV_WC_Payment_Form_Handler.prototype.handle_sample_check_hint = function() { var $sample_check; $sample_check = this.payment_fields.find('.js-sv-wc-payment-gateway-echeck-form-sample-check'); if ($sample_check.is(":visible")) { return $sample_check.slideUp(); } else { return $sample_check.slideDown(); } }; SV_WC_Payment_Form_Handler.prototype.block_ui = function() { return this.form.block({ message: null, overlayCSS: { background: '#fff', opacity: 0.6 } }); }; SV_WC_Payment_Form_Handler.prototype.unblock_ui = function() { return this.form.unblock(); }; return SV_WC_Payment_Form_Handler; })(); });}).call(this);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway-plugin.php CHANGED
@@ -849,7 +849,7 @@ abstract class SV_WC_Payment_Gateway_Plugin extends SV_WC_Plugin {
849
  * @return boolean true if the gateway supports the charge capture operation and it can be invoked
850
  */
851
  public function can_capture_charge( $gateway ) {
852
- return $this->supports( self::FEATURE_CAPTURE_CHARGE ) && $this->get_gateway()->is_available() && $gateway->supports( self::FEATURE_CAPTURE_CHARGE );
853
  }
854
 
855
 
849
  * @return boolean true if the gateway supports the charge capture operation and it can be invoked
850
  */
851
  public function can_capture_charge( $gateway ) {
852
+ return $this->supports( self::FEATURE_CAPTURE_CHARGE ) && $gateway->is_available() && $gateway->supports_credit_card_capture();
853
  }
854
 
855
 
lib/skyverge/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php CHANGED
File without changes
lib/ssl/api_braintreegateway_com.ca.crt CHANGED
File without changes
readme.txt CHANGED
@@ -2,8 +2,9 @@
2
  Contributors: automattic, akeda, allendav, royho, slash1andy, woosteve, spraveenitpro, mikedmoore, fernashes, shellbeezy, danieldudzic, dsmithweb, fullysupportedphil, corsonr, zandyring, skyverge
3
  Tags: ecommerce, e-commerce, commerce, woothemes, wordpress ecommerce, store, sales, sell, shop, shopping, cart, checkout, configurable, paypal, braintree
4
  Requires at least: 4.4
5
- Tested up to: 4.9.6
6
- Stable tag: 2.1.2
 
7
  License: GPLv3
8
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
9
 
@@ -122,6 +123,13 @@ New feature requests and bugs reports can be made in the plugin forum.
122
 
123
  == Changelog ==
124
 
 
 
 
 
 
 
 
125
  = 2.1.2 =
126
  * Tweak - Add payment details to the customer data export and remove it for erasure requests
127
  * Tweak - Remove payment tokens for customer data erasure requests
2
  Contributors: automattic, akeda, allendav, royho, slash1andy, woosteve, spraveenitpro, mikedmoore, fernashes, shellbeezy, danieldudzic, dsmithweb, fullysupportedphil, corsonr, zandyring, skyverge
3
  Tags: ecommerce, e-commerce, commerce, woothemes, wordpress ecommerce, store, sales, sell, shop, shopping, cart, checkout, configurable, paypal, braintree
4
  Requires at least: 4.4
5
+ Tested up to: 4.9.7
6
+ Requires PHP: 5.4
7
+ Stable tag: 2.1.3
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
123
 
124
  == Changelog ==
125
 
126
+ = 2018.08.01 - version 2.1.3 =
127
+ * Tweak - Generalize the PayPal link error to allow for different PayPal button colors
128
+ * Fix - Ensure PayPal charges can still be captured when the Credit Card gateway is disabled
129
+ * Fix - Prevent stalled checkout when PayPal is cancelled or closed
130
+ * Fix - Prevent duplicate PayPal buttons when checkout is refreshed
131
+ * Fix - Don't reset the "Create Account" form when the checkout is refreshed
132
+
133
  = 2.1.2 =
134
  * Tweak - Add payment details to the customer data export and remove it for erasure requests
135
  * Tweak - Remove payment tokens for customer data erasure requests
vendor/autoload.php ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ // autoload.php @generated by Composer
4
+
5
+ require_once __DIR__ . '/composer/autoload_real.php';
6
+
7
+ return ComposerAutoloaderInitd968a3ef969d8cb7fb8dfff28d337837::getLoader();
vendor/braintree/braintree_php/ACKNOWLEDGEMENTS.md ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
1
+ Acknowledgements
2
+ ----------------
3
+
4
+ The Braintree SDK uses code from the following libraries:
5
+
6
+ * [phpunit](https://github.com/sebastianbergmann/phpunit), BSD-3-Clause License
vendor/braintree/braintree_php/CHANGELOG.md ADDED
@@ -0,0 +1,563 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ## 3.34.0
2
+ * Allow payee ID to be passed in options params for transaction create
3
+ * Add `merchant_id` to `ConnectedMerchantStatusTransitioned` and `ConnectedMerchantPayPalStatusChanged` Auth webhooks
4
+ * Fix webhook testing sample xml for dispute webhooks to include `amount-won` and `amount-disputed` (closes #225)
5
+
6
+ ## 3.33.0
7
+ * Fix WebhookTestingGateway to use local configuration
8
+ * Add Disbursement type field and methods
9
+
10
+ ## 3.32.0
11
+ * Add support for US Bank Account verifications API
12
+
13
+ ## 3.31.0
14
+ * Fix issue where webhook verification would fail due to missing global public key configuration value
15
+ * Fix issue where webhook testing did not work on instantiated gateway
16
+ * Add support for VCR compelling evidence dispute representment
17
+
18
+ ## 3.30.0
19
+ * Add `oauthAccessRevocation` to `WebhookNotification`s
20
+ * Add support for `profileId` in Transaction#create options for VenmoAccounts
21
+ * Add support for dispute search by `customerId`, `disbursementDate`, and `effectiveDate`
22
+ * Make `CustomerGateway::find` backward compatible
23
+ * Remove `sepaMandateType` and `sepaMandateAcceptanceLocation` params from `ClientTokenGateway`
24
+
25
+ ## 3.29.0
26
+ * Add support for `association_filter_id` in `Customer#find`
27
+ * Add support for setting `timeout` and `acceptGzipEncoding` values on construction of `Configuration` instances
28
+
29
+ ## 3.28.0
30
+ * Add support for Level 3 summary parameters: `shippingAmount`, `discountAmount`, and `shipsFromPostalCode`
31
+ * Add support for `tax_amount` field on transaction `line_items`
32
+ * Add `sourceMerchantId` property to `WebhookNotification`s if present
33
+ * Deprecate `TRANSACTION_LINE_ITEM_DISCOUNT_AMOUNT_MUST_BE_GREATER_THAN_ZERO` error in favor of `TRANSACTION_LINE_ITEM_DISCOUNT_AMOUNT_CANNOT_BE_NEGATIVE`.
34
+ * Deprecate `TRANSACTION_LINE_ITEM_UNIT_TAX_AMOUNT_MUST_BE_GREATER_THAN_ZERO` error in favor of `TRANSACTION_LINE_ITEM_UNIT_TAX_AMOUNT_CANNOT_BE_NEGATIVE`.
35
+ * Deprecate `Braintree\Transaction\LineItem` in favor of `Braintree\TransactionLineItem`.
36
+ * Add `findAll` static method to `TransactionLineItem` class
37
+ * Add support for `profile_id` in Transaction#create options for VenmoAccounts
38
+
39
+ ## 3.27.0
40
+ * Add support for Level 3 summary parameters: `shippingAmount`, `discountAmount`, and `shipsFromPostalCode`
41
+ * Add support for transaction line items
42
+ * Add support for tagged evidence in `DisputeGateway::addTextEvidence` (Beta release)
43
+ * Update https certificate bundle
44
+
45
+ ## 3.26.1
46
+ * Deprecate `OAuthGateway::computeSignature`
47
+ * Fix spec to expect PayPal transactions to move to settling rather than settled
48
+ * Fix AchMandate acceptedAt attribute parsing
49
+
50
+ ## 3.26.0
51
+ * Add support for upgrading a PayPal future payment refresh token to a billing agreement
52
+ * Address deprecation warnings for create_function with PHP 7 (#193, thanks @chrisdeeming)
53
+ * Add `cardHolderName` to `CreditCardDetails` (#201, thanks @Samistine)
54
+ * Add GrantedPaymentInstrumentUpdate webhook support
55
+ * Allow paypal => options params to be passed in camel case
56
+ * Add ability to create a transaction from a shared nonce
57
+ * Implement JsonSerializable on Braintree Objects for easier logging (#200, thanks @hfmikep)
58
+ * Fix spec to expect PayPal transaction to settle immediately after successful capture
59
+ * Add `options` -> `paypal` -> `shipping` for creating & updating customers as well as creating payment methods
60
+ * Add `options` -> `paypal` -> `description` for creating and updating subscriptions
61
+ * Add `binData` to `PaymentMethodNonce`
62
+ * Add `bin` to `ApplePayCard`
63
+ * Add `deviceDataCaptured` field in `riskData`
64
+
65
+ ## 3.25.0
66
+ * Add `submitForSettlement` option to `Subscription::retryCharge`
67
+ * Support `eci_indicator` for Transaction sale with raw Apple Pay parameters
68
+ * Add `accept` method for the Dispute API
69
+ * Add `addTextEvidence` method for the Dispute API
70
+ * Add `addFileEvidence` method for the Dispute API
71
+ * Add `finalize` method for the Dispute API
72
+ * Add `find` method for the Dispute API
73
+ * Add `removeEvidence` method for the Dispute API
74
+ * Add `search` method for the Dispute API
75
+ * Add DocumentUpload
76
+
77
+ ## 3.24.0
78
+ * Add AuthorizationAdjustment class and `authorizationAdjustments` to Transaction
79
+ * Add iDEAL webhook support
80
+ * Add `IDEAL_PAYMENT` to `PaymentInstrumentType`
81
+ * Create Braintree class to be PSR compliant
82
+ * Coinbase is no longer a supported payment method. `PAYMENT_METHOD_NO_LONGER_SUPPORTED` will be returned for Coinbase operations.
83
+ * Add `ApplePay` for web domain registration.
84
+ * Add facilitated details to Transaction if present
85
+ * Update link to transaction api documentation (thanks @qoheleth-tech!).
86
+ * Fix TransactionGateway return types (thanks @jjok!).
87
+ * Update return type for client token (thanks @jlaswell!).
88
+
89
+ ## 3.23.1
90
+ * Fix token generator return type - thanks @jjok!
91
+ * Improve error reporting for connection issues - thanks @montymxb!
92
+ * Add support for additional PayPal options when vaulting a PayPal Order
93
+
94
+ ## 3.23.0
95
+ * Add Visa Checkout support
96
+ * Add ConnectedMerchantStatusTransitioned and ConnectedMerchantPayPalStatusChanged Auth webhooks
97
+ * Add new properties to `CreditCardVerification` and `Customer`
98
+ * Add SDK support for skip AVS and skip CVV
99
+
100
+ ## 3.22.0
101
+ * Add option to disable Accept-Encoding: gzip header for Google App Engine
102
+ * Fix a bug where `merchantAccount->all` would attempt to fetch too many pages of merchant accounts
103
+
104
+ ## 3.21.1
105
+ * Add back in `options->three_d_secure` to transaction params that was accidentally removed in v3.14.0
106
+
107
+ ## 3.21.0
108
+ * Allow optional configuration of SSL version
109
+ * Replace `var_dump` with `print_r`. Thanks, @mnlg
110
+ * Add functionality to list all merchant accounts for a merchant with `merchantAccount->all`
111
+ * Stop sending account_description field from us bank accounts
112
+
113
+ ## 3.20.0
114
+ * Add option `skip_advanced_fraud_check` for transaction flows
115
+
116
+ ## 3.19.0
117
+ * Add multi-currency updates to merchants onboarded through Braintree Auth
118
+ * Raise an exception if fetching pages of results times out during a transaction search
119
+
120
+ ## 3.18.0
121
+ * Fix `UsBankAccount` support for `Customer`s
122
+ * Update `Grant` api to support options hash
123
+
124
+ ## 3.17.0
125
+ * Add 'UsBankAccount' payment method
126
+
127
+ ## 3.16.0
128
+ * Add authenticated proxy functionality
129
+ * Add constant for Venmo Account payment instrument type
130
+ * Add validation error for verifications with submerchants
131
+
132
+ ## 3.15.0
133
+ * Add 'default_payment_method' option for Customer
134
+
135
+ ## 3.14.0
136
+ **Note: This version introduced an unintentional breaking change where the `options->three_d_secure` transaction parameter was changed to `options->threeDSecure`. Starting in v3.21.1, both case conventions are supported for backwards compatibility.**
137
+
138
+ * Add OrderId to refund
139
+ * Add 3DS Pass thru support
140
+ * Expose IDs in resource collections
141
+ * Add leading slash to the namespace. Thanks, @bocharsky-bw
142
+ * Stop modifying DateTime parameters during XML generation. Thanks, @jodarove
143
+
144
+ ## 3.13.0
145
+ * Add method of revoking OAuth access tokens.
146
+
147
+ ## 3.12.0
148
+ * Add Transaction `update_details`
149
+ * Support for Too Many Requests response codes
150
+ * Add ability to count errors in ErrorCollection object. Thanks, @bocharsky-bw
151
+ * Improve Type Hinting
152
+
153
+ ## 3.11.0
154
+ * Remove final from classes. Thanks, @ibrahimlawal!
155
+ * Add currency to Transaction search
156
+
157
+ ## 3.10.0
158
+ * Add timeout attribute
159
+ * Add start-date and end-date to SUBSCRIPTION_CHARGED_SUCCESSFULLY test webhook response
160
+
161
+ ## 3.9.0
162
+ * Add AccountUpdaterDailyReport webhook parsing
163
+
164
+ ## 3.8.0
165
+ * Add payment method revoke
166
+ * Add support for options in `submit_for_settlement` transaction flows
167
+ * Add verification create API
168
+ * Update https certificate bundle
169
+
170
+ ## 3.7.0
171
+ * Add VenmoAccount
172
+ * Allow order_id and descriptor to be passed in for Transaction submit_for_settlement
173
+ * Add facilitator details onto transactions
174
+ * Add check webhook constant
175
+
176
+ ## 3.6.1
177
+ * Fix PSR-0 style namespacing when using Symfony
178
+
179
+ ## 3.6.0
180
+ * Add support for proxy servers
181
+ * Add PSR-4 namespacing support
182
+ * Add support for AMEX Express Checkout
183
+ * Add support for new fields in dispute webhooks (`dateWon`, `dateOpened`, `kind`)
184
+ * Add transaction data to sucessful subscription webhook
185
+
186
+ ## 3.5.0
187
+ * Add support for raw ApplePay params on Transaction create
188
+
189
+ ## 3.4.0
190
+ * Add sourceDescription method to Android Pay and Apple Pay payment methods
191
+ * Add new Android Pay test nonces
192
+ * Add billing agreement ID to PayPal Account
193
+ * Support amex rewards transactions
194
+
195
+ ## 3.3.0
196
+ * Add new test payment method nonces
197
+ * Allow passing description on PayPal transactions
198
+ * Add methods to change transaction settlement status in sandbox
199
+ * Fix issue where customer with an id of 0 could not be found
200
+ * Add Europe Bank Account functionality
201
+
202
+ ## 3.2.0
203
+ * Add additional search criteria
204
+
205
+ ## 3.1.0
206
+ * Add support for HHVM
207
+ * Validate that configuration is valid before verifying webhooks
208
+ * Make OAuth methods conform more to existing API
209
+ * Expose customer paymentMethods as an attribute
210
+
211
+ ## 3.0.1
212
+ * Add support for Android Pay
213
+
214
+ ## 3.0.0
215
+ * Deprecate PHP 5.2 and 5.3
216
+ * Validate webhook challenge payload
217
+ * Bugfix for calling `__toString()` on objects that contain a `\DateTime`
218
+
219
+ ## 2.40.0
220
+ * Add missing criteria to credit card verification search
221
+ * Bugfix for autoloading files with Composer
222
+
223
+ ## 2.39.0
224
+ * Add oauth functionality
225
+ * Add 3DS info to the server side
226
+
227
+ ## 2.38.0
228
+ * Update payment instrument types and test nonces
229
+ * Add missing valid params to PaymentMethodGateway
230
+
231
+ ## 2.37.0
232
+ * Add 3D Secure transaction fields
233
+ * Add ability to create nonce from vaulted payment methods
234
+
235
+ ## 2.36.0
236
+ * Surface Apple Pay payment instrument name in responses
237
+ * Support Coinbase payment instruments
238
+
239
+ ## 2.35.2
240
+ * Fix E_STRICT errors
241
+ * Expose subscription status details
242
+
243
+ ## 2.35.1
244
+ * Bugfix for auto loading files
245
+
246
+ ## 2.35.0
247
+ * Allow PayPal fields in transaction.options.paypal
248
+ * Add error code constants
249
+ * Internal refactoring
250
+
251
+ ## 2.34.0
252
+ * Add risk_data to Transaction and Verification with Kount decision and id
253
+ * Add verification_amount an option when creating a credit card
254
+ * Add TravelCruise industry type to Transaction
255
+ * Add room_rate to Lodging industry type
256
+ * Add CreditCard#verification as the latest verification on that credit card
257
+ * Add ApplePay support to all endpoints that may return ApplePayCard objects
258
+ * Add prefix to sample Webhook to simulate webhook query params
259
+
260
+ ## 2.33.0
261
+ * Allow descriptor to be passed in Funding Details options params for Merchant Account create and update.
262
+
263
+ ## 2.32.0
264
+ * Add additionalProcessorResponse to Transaction
265
+
266
+ ## 2.31.1
267
+ * Allow payee_email to be passed in options params for Transaction create
268
+
269
+ ## 2.31.0
270
+ * Added paypal specific fields to transaction calls
271
+ * Added SettlementPending, SettlementDeclined transaction statuses
272
+
273
+ ## 2.30.0
274
+ * Add descriptor url support
275
+
276
+ ## 2.29.0
277
+ * Allow credit card verification options to be passed outside of the nonce for PaymentMethod.create
278
+ * Allow billing_address parameters and billing_address_id to be passed outside of the nonce for PaymentMethod.create
279
+ * Add Subscriptions to paypal accounts
280
+ * Add PaymentMethod.update
281
+ * Add fail_on_duplicate_payment_method option to PaymentMethod.create
282
+
283
+ ## 2.28.0
284
+ * Adds support for v.zero SDKs.
285
+
286
+ ## 2.27.2
287
+
288
+ * Make webhook parsing more robust with newlines
289
+ * Add messages to InvalidSignature exceptions
290
+
291
+ ## 2.27.1
292
+
293
+ * Updated secureCompare to correctly compare strings in consistent time
294
+ * Add better error messages around webhook verification
295
+
296
+ ## 2.27.0
297
+
298
+ * Include Dispute information on Transaction
299
+ * Search for Transactions disputed on a certain date
300
+
301
+ ## 2.26.0
302
+
303
+ * Disbursement Webhooks
304
+
305
+ ## 2.25.1
306
+
307
+ * Fix factories on AddOn and Discount (thanks [stewe](https://github.com/stewe))
308
+ * Allow billingAddressId on transaction create
309
+
310
+ ## 2.25.0
311
+
312
+ * Merchant account find API
313
+
314
+ ## 2.24.0
315
+
316
+ * Merchant account update API
317
+ * Merchant account create API v2
318
+
319
+ ## 2.23.1
320
+
321
+ * Update configuration URLs
322
+
323
+ ## 2.23.0
324
+
325
+ * Official Partnership support
326
+
327
+ ## 2.22.2
328
+
329
+ * Add Partner Merchant Declined webhook
330
+ * use preg_callback_replace instead of preg_replace (thanks [jonthornton](https://github.com/jonthornton)!)
331
+
332
+ ## 2.22.1
333
+
334
+ * Adds missing test contstant to library namespace
335
+
336
+ ## 2.22.0
337
+
338
+ * Adds holdInEscrow method
339
+ * Add error codes for verification not supported error
340
+ * Add companyName and taxId to merchant account create
341
+ * Adds cancelRelease method
342
+ * Adds releaseFromEscrow functionality
343
+ * Adds phone to merchant account signature.
344
+ * Adds merchant account phone error code.
345
+ * Fix casing issues with Braintree\_Http and Braintree\_Util references (thanks [steven-hadfield](https://github.com/steven-hadfield)!)
346
+ * Fixed transaction initialization arguments to be optional (thanks [karolsojko](https://github.com/karolsojko)!)
347
+
348
+ ## 2.21.0
349
+
350
+ * Enable device data.
351
+
352
+ ## 2.20.0
353
+
354
+ * Fixed getting custom fields with valueForHtmlField. [Thanks to Miguel Manso for the fix.](https://github.com/mumia)
355
+ * Adds disbursement details to transactions.
356
+ * Adds image url to transactions.
357
+
358
+ ## 2.19.0
359
+
360
+ * Adds channel field to transactions.
361
+
362
+ ## 2.18.0
363
+
364
+ * Adds country of issuance and issuing bank bin database fields
365
+
366
+ ## 2.17.0
367
+
368
+ * Adds verification search
369
+
370
+ ## 2.16.0
371
+
372
+ * Additional card information, such as prepaid, debit, commercial, Durbin regulated, healthcare, and payroll, are returned on credit card responses
373
+ * Allows transactions to be specified as recurring
374
+
375
+ ## 2.15.0
376
+
377
+ * Adds prepaid field to credit cards (possible values include Yes, No, Unknown)
378
+
379
+ ## 2.14.1
380
+
381
+ * Adds composer support (thanks [till](https://github.com/till))
382
+ * Fixes erroneous version number
383
+ * Braintree_Plan::all() returns empty array if no plans exist
384
+
385
+ ## 2.14.0
386
+
387
+ * Adds webhook gateways for parsing, verifying, and testing notifications
388
+
389
+ ## 2.13.0
390
+
391
+ * Adds search for duplicate credit cards given a payment method token
392
+ * Adds flag to fail saving credit card to vault if card is duplicate
393
+
394
+ ## 2.12.5
395
+
396
+ * Exposes plan_id on transactions
397
+
398
+ ## 2.12.4
399
+
400
+ * Added error code for invalid purchase order number
401
+
402
+ ## 2.12.3
403
+
404
+ * Fixed problematic case in ResourceCollection when no results are returned from a search.
405
+
406
+ ## 2.12.2
407
+
408
+ * Fixed customer search, which returned customers when no customers matched search criteria
409
+
410
+ ## 2.12.1
411
+
412
+ * Added new error message for merchant accounts that do not support refunds
413
+
414
+ ## 2.12.0
415
+
416
+ * Added ability to retrieve all Plans, AddOns, and Discounts
417
+ * Added Transaction cloning
418
+
419
+ ## 2.11.0
420
+
421
+ * Added Braintree_SettlementBatchSummary
422
+
423
+ ## 2.10.1
424
+
425
+ * Wrap dependency requirement in a function, to prevent pollution of the global namespace
426
+
427
+ ## 2.10.0
428
+
429
+ * Added subscriptionDetails to Transaction
430
+ * Added flag to store in vault only when a transaction is successful
431
+ * Added new error code
432
+
433
+ ## 2.9.0
434
+
435
+ * Added a new transaction state, AUTHORIZATION_EXPIRED.
436
+ * Enabled searching by authorizationExpiredAt.
437
+
438
+ ## 2.8.0
439
+
440
+ * Added next_billing_date and transaction_id to subscription search
441
+ * Added address_country_name to customer search
442
+ * Added new error codes
443
+
444
+ ## 2.7.0
445
+
446
+ * Added Customer search
447
+ * Added dynamic descriptors to Subscriptions and Transactions
448
+ * Added level 2 fields to Transactions:
449
+ * tax_amount
450
+ * tax_exempt
451
+ * purchase_order_number
452
+
453
+ ## 2.6.1
454
+
455
+ * Added billingAddressId to allowed parameters for credit cards create and update
456
+ * Allow searching on subscriptions that are currently in a trial period using inTrialPeriod
457
+
458
+ ## 2.6.0
459
+
460
+ * Added ability to perform multiple partial refunds on Braintree_Transactions
461
+ * Allow passing expirationMonth and expirationYear separately when creating Braintree_Transactions
462
+ * Added revertSubscriptionOnProrationFailure flag to Braintree_Subscription update that specifies how a Subscription should react to a failed proration charge
463
+ * Deprecated Braintree_Subscription nextBillAmount in favor of nextBillingPeriodAmount
464
+ * Deprecated Braintree_Transaction refundId in favor of refundIds
465
+ * Added new fields to Braintree_Subscription:
466
+ * balance
467
+ * paidThroughDate
468
+ * nextBillingPeriodAmount
469
+
470
+ ## 2.5.0
471
+
472
+ * Added Braintree_AddOns/Braintree_Discounts
473
+ * Enhanced Braintree_Subscription search
474
+ * Enhanced Braintree_Transaction search
475
+ * Added constants for Braintree_Result_CreditCardVerification statuses
476
+ * Added EXPIRED and PENDING statuses to Braintree_Subscription
477
+ * Allowed prorateCharges to be specified on Braintree_Subscription update
478
+ * Added Braintree_AddOn/Braintree_Discount details to Braintree_Transactions that were created from a Braintree_Subscription
479
+ * Removed 13 digit Visa Sandbox Credit Card number and replaced it with a 16 digit Visa
480
+ * Added new fields to Braintree_Subscription:
481
+ * billingDayOfMonth
482
+ * daysPastDue
483
+ * firstBillingDate
484
+ * neverExpires
485
+ * numberOfBillingCycles
486
+
487
+ ## 2.4.0
488
+
489
+ * Added ability to specify country using countryName, countryCodeAlpha2, countryCodeAlpha3, or countryCodeNumeric (see [ISO_3166-1](https://en.wikipedia.org/wiki/ISO_3166-1))
490
+ * Added gatewayRejectionReason to Braintree_Transaction and Braintree_Verification
491
+ * Added unified message to result objects
492
+
493
+ ## 2.3.0
494
+
495
+ * Added unified Braintree_TransparentRedirect url and confirm methods and deprecated old methods
496
+ * Added functions to Braintree_CreditCard to allow searching on expiring and expired credit cards
497
+ * Allow card verification against a specified merchant account
498
+ * Added ability to update a customer, credit card, and billing address in one request
499
+ * Allow updating the paymentMethodToken on a subscription
500
+
501
+ ## 2.2.0
502
+
503
+ * Prevent race condition when pulling back collection results -- search results represent the state of the data at the time the query was run
504
+ * Rename ResourceCollection's approximate_size to maximum_size because items that no longer match the query will not be returned in the result set
505
+ * Correctly handle HTTP error 426 (Upgrade Required) -- the error code is returned when your client library version is no long compatible with the gateway
506
+ * Add the ability to specify merchant_account_id when verifying credit cards
507
+ * Add subscription_id to transactions created from subscriptions
508
+
509
+ ## 2.1.0
510
+
511
+ * Added transaction advanced search
512
+ * Added ability to partially refund transactions
513
+ * Added ability to manually retry past-due subscriptions
514
+ * Added new transaction error codes
515
+ * Allow merchant account to be specified when creating transactions
516
+ * Allow creating a transaction with a vault customer and new payment method
517
+ * Allow existing billing address to be updated when updating credit card
518
+ * Correctly handle xml with nil=true
519
+
520
+ ## 2.0.0
521
+
522
+ * Updated success? on transaction responses to return false on declined transactions
523
+ * Search results now include Enumerable and will automatically paginate data
524
+ * Added credit_card[cardholder_name] to allowed transaction params and CreditCardDetails (thanks [chrismcc](https://github.com/chrismcc))
525
+ * Fixed a bug with Customer::all
526
+ * Added constants for error codes
527
+
528
+ ## 1.2.1
529
+
530
+ * Added methods to get both shallow and deep errors from a Braintree_ValidationErrorCollection
531
+ * Added the ability to make a credit card the default card for a customer
532
+ * Added constants for transaction statuses
533
+ * Updated Quick Start in README.md to show a workflow with error checking
534
+
535
+ ## 1.2.0
536
+
537
+ * Added subscription search
538
+ * Provide access to associated subscriptions from CreditCard
539
+ * Switched from using Zend framework for HTTP requests to using curl extension
540
+ * Fixed a bug in Transparent Redirect when arg_separator.output is configured as &amp; instead of &
541
+ * Increased http request timeout
542
+ * Fixed a bug where ForgedQueryString exception was being raised instead of DownForMaintenance
543
+ * Updated SSL CA files
544
+
545
+ ## 1.1.1
546
+
547
+ * Added Braintree_Transaction::refund
548
+ * Added Braintree_Transaction::submitForSettlementNoValidate
549
+ * Fixed a bug in errors->onHtmlField when checking for errors on custom fields when there are none
550
+ * Added support for passing merchantAccountId for Transaction and Subscription
551
+
552
+ ## 1.1.0
553
+
554
+ * Added recurring billing support
555
+
556
+ ## 1.0.1
557
+
558
+ * Fixed bug with Braintree_Error_ErrorCollection.deepSize
559
+ * Added methods for accessing validation errors and params by html field name
560
+
561
+ ## 1.0.0
562
+
563
+ * Initial release
vendor/braintree/braintree_php/Dockerfile ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM debian:wheezy
2
+
3
+ RUN apt-get update
4
+
5
+ # For installing hhvm
6
+ RUN apt-get install -y apt-transport-https software-properties-common
7
+ RUN apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xB4112585D386EB94
8
+ RUN echo deb https://dl.hhvm.com/debian wheezy main > /etc/apt/sources.list.d/hhvm.list
9
+ RUN apt-get update
10
+
11
+ RUN apt-get -y install curl rake php5 php5-cli php5-curl php-pear hhvm phpunit
12
+
13
+ WORKDIR /braintree-php
vendor/braintree/braintree_php/LICENSE ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Copyright (c) 2017 Braintree, a division of PayPal, Inc.
2
+
3
+ Permission is hereby granted, free of charge, to any person
4
+ obtaining a copy of this software and associated documentation
5
+ files (the "Software"), to deal in the Software without
6
+ restriction, including without limitation the rights to use,
7
+ copy, modify, merge, publish, distribute, sublicense, and/or sell
8
+ copies of the Software, and to permit persons to whom the
9
+ Software is furnished to do so, subject to the following
10
+ conditions:
11
+
12
+ The above copyright notice and this permission notice shall be
13
+ included in all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
16
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
17
+ OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
18
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
19
+ HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
20
+ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
22
+ OTHER DEALINGS IN THE SOFTWARE.
vendor/braintree/braintree_php/Makefile ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
1
+ .PHONY: console build
2
+
3
+ console: build
4
+ docker run -it -v="$(PWD):/braintree-php" --net="host" braintree-php /bin/bash -l -c "\
5
+ curl -sS https://getcomposer.org/installer | php -d suhosin.executor.include.whitelist=phar && \
6
+ php -d suhosin.executor.include.whitelist=phar ./composer.phar install; \
7
+ bash"
8
+
9
+ build:
10
+ docker build -t braintree-php .
vendor/braintree/braintree_php/README.md ADDED
@@ -0,0 +1,134 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Braintree PHP library
2
+
3
+ The Braintree PHP library provides integration access to the Braintree Gateway.
4
+
5
+ ## Please Note
6
+ > **The Payment Card Industry (PCI) Council has [mandated](https://blog.pcisecuritystandards.org/migrating-from-ssl-and-early-tls) that early versions of TLS be retired from service. All organizations that handle credit card information are required to comply with this standard. As part of this obligation, Braintree is updating its services to require TLS 1.2 for all HTTPS connections. Braintree will also require HTTP/1.1 for all connections. Please see our [technical documentation](https://github.com/paypal/tls-update) for more information.**
7
+
8
+ ## Dependencies
9
+
10
+ PHP version >= 5.4.0 is required.
11
+
12
+ The following PHP extensions are required:
13
+
14
+ * curl
15
+ * dom
16
+ * hash
17
+ * openssl
18
+ * xmlwriter
19
+
20
+ ## Quick Start Example
21
+
22
+ ```php
23
+ <?php
24
+
25
+ require_once 'PATH_TO_BRAINTREE/lib/Braintree.php';
26
+
27
+ // Instantiate a Braintree Gateway either like this:
28
+ $gateway = new Braintree_Gateway([
29
+ 'environment' => 'sandbox'
30
+ 'merchantId' => 'your_merchant_id',
31
+ 'publicKey' => 'your_public_key',
32
+ 'privateKey' => 'your_private_key'
33
+ ]);
34
+
35
+ // or like this:
36
+ $config = new Braintree_Configuration([
37
+ 'environment' => 'sandbox'
38
+ 'merchantId' => 'your_merchant_id',
39
+ 'publicKey' => 'your_public_key',
40
+ 'privateKey' => 'your_private_key'
41
+ ]);
42
+ $gateway = new Braintree\Gateway($config)
43
+
44
+ // Then, create a transaction:
45
+ $result = $gateway->transaction()->sale([
46
+ 'amount' => '1000.00',
47
+ 'paymentMethodNonce' => 'nonceFromTheClient',
48
+ 'options' => [ 'submitForSettlement' => true ]
49
+ ]);
50
+
51
+ if ($result->success) {
52
+ print_r("success!: " . $result->transaction->id);
53
+ } else if ($result->transaction) {
54
+ print_r("Error processing transaction:");
55
+ print_r("\n code: " . $result->transaction->processorResponseCode);
56
+ print_r("\n text: " . $result->transaction->processorResponseText);
57
+ } else {
58
+ print_r("Validation errors: \n");
59
+ print_r($result->errors->deepAll());
60
+ }
61
+ ```
62
+
63
+ Both PSR-0 and PSR-4 namespacing are supported. If you are using composer with `--classmap-authoritative` or
64
+ `--optimize-autoloader` enabled, you'll have to reference classes using PSR-4 namespacing:
65
+
66
+ ```php
67
+ $gateway = new Braintree\Gateway([
68
+ 'environment' => 'sandbox'
69
+ 'merchantId' => 'your_merchant_id',
70
+ 'publicKey' => 'your_public_key',
71
+ 'privateKey' => 'your_private_key'
72
+ ]);
73
+
74
+ // or
75
+
76
+ $config = new Braintree\Configuration([
77
+ 'environment' => 'sandbox'
78
+ 'merchantId' => 'your_merchant_id',
79
+ 'publicKey' => 'your_public_key',
80
+ 'privateKey' => 'your_private_key'
81
+ ]);
82
+ $gateway = new Braintree\Gateway($config)
83
+ ```
84
+
85
+ ## HHVM Support
86
+
87
+ The Braintree PHP library will run on HHVM >= 3.4.2.
88
+
89
+ ## Google App Engine Support
90
+
91
+ When using Google App Engine include the curl extention in your `php.ini` file (see [#190](https://github.com/braintree/braintree_php/issues/190) for more information):
92
+
93
+ ```ini
94
+ extension = "curl.so"
95
+ ```
96
+
97
+ and turn off accepting gzip responses:
98
+
99
+ ```php
100
+ $gateway = new Braintree\Gateway([
101
+ 'environment' => 'sandbox'
102
+ // ...
103
+ 'acceptGzipEncoding' => false,
104
+ ]);
105
+ ```
106
+
107
+ ## Legacy PHP Support
108
+
109
+ Version [2.40.0](https://github.com/braintree/braintree_php/releases/tag/2.40.0) is compatible with PHP 5.2 and 5.3. You can find it on our releases page.
110
+
111
+ ## Documentation
112
+
113
+ * [Official documentation](https://developers.braintreepayments.com/php/sdk/server/overview)
114
+
115
+ ## Developing (Docker)
116
+
117
+ The `Makefile` and `Dockerfile` will build an image containing the dependencies and drop you to a terminal where you can run tests.
118
+
119
+ ```
120
+ make
121
+ ```
122
+
123
+ ## Testing
124
+
125
+ The unit specs can be run by anyone on any system, but the integration specs are meant to be run against a local development server of our gateway code. These integration specs are not meant for public consumption and will likely fail if run on your system. To run unit tests use rake: `rake test:unit`.
126
+
127
+ The benefit of the `rake` tasks is that testing covers default `hhvm` and `php` interpreters. However, if you want to run tests manually simply use the following command:
128
+ ```
129
+ phpunit tests/unit/
130
+ ```
131
+
132
+ ## License
133
+
134
+ See the LICENSE file.
vendor/braintree/braintree_php/Rakefile ADDED
@@ -0,0 +1,81 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ task :default => :test
2
+ task :test => %w[test:unit test:integration]
3
+
4
+ namespace :test do
5
+ task :unit => %w[test:php:unit test:hhvm:unit]
6
+ task :integration => %w[test:php:integration test:hhvm:integration]
7
+
8
+ namespace :php do
9
+ desc "print PHP version"
10
+ task :version do
11
+ print_php_version("php")
12
+ end
13
+
14
+ desc "run unit tests under PHP"
15
+ task :unit => :version do
16
+ run_php_test_suite("php", "unit")
17
+ end
18
+
19
+ desc "run integration tests under PHP"
20
+ task :integration do
21
+ run_php_test_suite("php", "integration")
22
+ end
23
+ end
24
+
25
+ namespace :hhvm do
26
+ desc "print HHVM version"
27
+ task :version do
28
+ print_php_version("hhvm")
29
+ end
30
+
31
+ desc "run tests under HHVM"
32
+ task :test => [:unit, :integration]
33
+
34
+ desc "run unit tests under HHVM"
35
+ task :unit => :version do
36
+ run_php_test_suite("hhvm", "unit")
37
+ end
38
+
39
+ desc "run integration tests under HHVM"
40
+ task :integration do
41
+ run_php_test_suite("hhvm", "integration")
42
+ end
43
+ end
44
+
45
+ desc "run tests under PHP"
46
+ task :php => %w[php:unit php:integration]
47
+
48
+ desc "run tests under HHVM"
49
+ task :hhvm => %w[hhvm:unit hhvm:integration]
50
+
51
+ desc "run a single test file"
52
+ task :file, :file_path do |t, args|
53
+ run_php_test_file(args[:file_path])
54
+ end
55
+
56
+ desc "run single test (e.g. rake test:single[GatewayTest::testConfigGetsAssertedValid])"
57
+ task :single, :test_name do |t, args|
58
+ run_php_test(args[:test_name])
59
+ end
60
+ end
61
+
62
+ desc "update the copyright year"
63
+ task :copyright, :from_year, :to_year do |t, args|
64
+ sh "find tests lib -type f -name '*.php' -exec sed -i 's/#{args[:from_year]} Braintree/#{args[:to_year]} Braintree/g' {} +"
65
+ end
66
+
67
+ def print_php_version(interpreter)
68
+ sh "#{interpreter} --version"
69
+ end
70
+
71
+ def run_php_test_suite(interpreter, test_suite)
72
+ sh "#{interpreter} ./vendor/bin/phpunit --testsuite #{test_suite}"
73
+ end
74
+
75
+ def run_php_test_file(test_file)
76
+ sh "./vendor/bin/phpunit #{test_file}"
77
+ end
78
+
79
+ def run_php_test(test_name)
80
+ sh "./vendor/bin/phpunit --filter #{test_name}"
81
+ end
vendor/braintree/braintree_php/ci.sh ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/bash
2
+
3
+ curl -sS https://getcomposer.org/installer | php -d suhosin.executor.include.whitelist=phar
4
+
5
+ php -d suhosin.executor.include.whitelist=phar ./composer.phar install
6
+
7
+ if [ "$1" == "hhvm" ]; then
8
+ rake test:hhvm --trace
9
+ else
10
+ rake test:php --trace
11
+ fi
{lib → vendor/braintree/braintree_php/lib}/Braintree.php RENAMED
@@ -11,7 +11,6 @@ if (version_compare(PHP_VERSION, '5.4.0', '<')) {
11
  }
12
 
13
  class Braintree {
14
-
15
  public static function requireDependencies() {
16
  $requiredExtensions = ['xmlwriter', 'openssl', 'dom', 'hash', 'curl'];
17
  foreach ($requiredExtensions AS $ext) {
11
  }
12
 
13
  class Braintree {
 
14
  public static function requireDependencies() {
15
  $requiredExtensions = ['xmlwriter', 'openssl', 'dom', 'hash', 'curl'];
16
  foreach ($requiredExtensions AS $ext) {
{lib → vendor/braintree/braintree_php/lib}/Braintree/AccountUpdaterDailyReport.php RENAMED
File without changes
{lib → vendor/braintree/braintree_php/lib}/Braintree/AchMandate.php RENAMED
@@ -36,8 +36,6 @@ class AchMandate extends Base
36
  {
37
  // set the attributes
38
  $this->_attributes = $achAttribs;
39
- $date = new \DateTime($this->acceptedAt);
40
- $this->_set('acceptedAt', $date);
41
  }
42
 
43
  /**
36
  {
37
  // set the attributes
38
  $this->_attributes = $achAttribs;
 
 
39
  }
40
 
41
  /**
{lib → vendor/braintree/braintree_php/lib}/Braintree/AddOn.php RENAMED
File without changes
{lib → vendor/braintree/braintree_php/lib}/Braintree/AddOnGateway.php RENAMED
File without changes
{lib → vendor/braintree/braintree_php/lib}/Braintree/Address.php RENAMED
File without changes
{lib → vendor/braintree/braintree_php/lib}/Braintree/AddressGateway.php RENAMED
File without changes
{lib → vendor/braintree/braintree_php/lib}/Braintree/AmexExpressCheckoutCard.php RENAMED
File without changes
{lib → vendor/braintree/braintree_php/lib}/Braintree/AndroidPayCard.php RENAMED
File without changes
{lib → vendor/braintree/braintree_php/lib}/Braintree/ApplePayCard.php RENAMED
@@ -12,6 +12,7 @@ namespace Braintree;
12
  * @package Braintree
13
  * @category Resources
14
  *
 
15
  * @property-read string $cardType
16
  * @property-read string $createdAt
17
  * @property-read string $customerId
12
  * @package Braintree
13
  * @category Resources
14
  *
15
+ * @property-read string $bin
16
  * @property-read string $cardType
17
  * @property-read string $createdAt
18
  * @property-read string $customerId
{lib → vendor/braintree/braintree_php/lib}/Braintree/ApplePayGateway.php RENAMED
File without changes
{lib → vendor/braintree/braintree_php/lib}/Braintree/ApplePayOptions.php RENAMED
File without changes
{lib → vendor/braintree/braintree_php/lib}/Braintree/AuthorizationAdjustment.php RENAMED
File without changes
{lib → vendor/braintree/braintree_php/lib}/Braintree/Base.php RENAMED
@@ -1,6 +1,8 @@
1
  <?php
2
  namespace Braintree;
3
 
 
 
4
  /**
5
  * Braintree PHP Library.
6
  *
@@ -9,7 +11,7 @@ namespace Braintree;
9
  *
10
  * PHP version 5
11
  */
12
- abstract class Base
13
  {
14
  protected $_attributes = [];
15
 
@@ -72,4 +74,15 @@ abstract class Base
72
  {
73
  $this->_attributes[$key] = $value;
74
  }
 
 
 
 
 
 
 
 
 
 
 
75
  }
1
  <?php
2
  namespace Braintree;
3
 
4
+ use JsonSerializable;
5
+
6
  /**
7
  * Braintree PHP Library.
8
  *
11
  *
12
  * PHP version 5
13
  */
14
+ abstract class Base implements JsonSerializable
15
  {
16
  protected $_attributes = [];
17
 
74
  {
75
  $this->_attributes[$key] = $value;
76
  }
77
+
78
+ /**
79
+ * Implementation of JsonSerializable
80
+ *
81
+ * @ignore
82
+ * @return array
83
+ */
84
+ public function jsonSerialize()
85
+ {
86
+ return $this->_attributes;
87
+ }
88
  }
vendor/braintree/braintree_php/lib/Braintree/BinData.php ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ namespace Braintree;
3
+
4
+ class BinData extends Base
5
+ {
6
+ public static function factory($attributes)
7
+ {
8
+ $instance = new self();
9
+ $instance->_initialize($attributes);
10
+
11
+ return $instance;
12
+ }
13
+
14
+ protected function _initialize($attributes)
15
+ {
16
+ $this->_attributes = $attributes;
17
+ }
18
+
19
+ /**
20
+ * returns a string representation of the bin data
21
+ * @return string
22
+ */
23
+ public function __toString()
24
+ {
25
+ return __CLASS__ . '[' .
26
+ Util::attributesToString($this->_attributes) .']';
27
+ }
28
+
29
+ }
30
+ class_alias('Braintree\BinData', 'Braintree_BinData');
{lib → vendor/braintree/braintree_php/lib}/Braintree/ClientToken.php RENAMED
File without changes
{lib → vendor/braintree/braintree_php/lib}/Braintree/ClientTokenGateway.php RENAMED
@@ -86,7 +86,7 @@ class ClientTokenGateway
86
  return [
87
  "version", "customerId", "proxyMerchantId",
88
  ["options" => ["makeDefault", "verifyCard", "failOnDuplicatePaymentMethod"]],
89
- "merchantAccountId", "sepaMandateType", "sepaMandateAcceptanceLocation"];
90
  }
91
 
92
  /**
86
  return [
87
  "version", "customerId", "proxyMerchantId",
88
  ["options" => ["makeDefault", "verifyCard", "failOnDuplicatePaymentMethod"]],
89
+ "merchantAccountId"];
90
  }
91
 
92
  /**
{lib → vendor/braintree/braintree_php/lib}/Braintree/CoinbaseAccount.php RENAMED
File without changes
{lib → vendor/braintree/braintree_php/lib}/Braintree/Collection.php RENAMED
File without changes
{lib → vendor/braintree/braintree_php/lib}/Braintree/Configuration.php RENAMED
@@ -51,6 +51,12 @@ class Configuration
51
  if ($kind == 'privateKey') {
52
  $this->_privateKey = $value;
53
  }
 
 
 
 
 
 
54
  }
55
 
56
  if (isset($attribs['clientId']) || isset($attribs['accessToken'])) {
@@ -130,7 +136,7 @@ class Configuration
130
 
131
  /**
132
  * Sets or gets the SSL version to use for making requests. See
133
- * http://php.net/manual/en/function.curl-setopt.php for possible
134
  * CURLOPT_SSLVERSION values.
135
  *
136
  * @param integer $value If provided, sets the SSL version
@@ -414,7 +420,7 @@ class Configuration
414
  return $this->_sslVersion;
415
  }
416
 
417
- private function getAcceptGzipEncoding()
418
  {
419
  return $this->_acceptGzipEncoding;
420
  }
51
  if ($kind == 'privateKey') {
52
  $this->_privateKey = $value;
53
  }
54
+ if ($kind == 'timeout') {
55
+ $this->_timeout = $value;
56
+ }
57
+ if ($kind == 'acceptGzipEncoding') {
58
+ $this->_acceptGzipEncoding = $value;
59
+ }
60
  }
61
 
62
  if (isset($attribs['clientId']) || isset($attribs['accessToken'])) {
136
 
137
  /**
138
  * Sets or gets the SSL version to use for making requests. See
139
+ * https://php.net/manual/en/function.curl-setopt.php for possible
140
  * CURLOPT_SSLVERSION values.
141
  *
142
  * @param integer $value If provided, sets the SSL version
420
  return $this->_sslVersion;
421
  }
422
 
423
+ public function getAcceptGzipEncoding()
424
  {
425
  return $this->_acceptGzipEncoding;
426
  }
{lib → vendor/braintree/braintree_php/lib}/Braintree/ConnectedMerchantPayPalStatusChanged.php RENAMED
@@ -21,6 +21,7 @@ class ConnectedMerchantPayPalStatusChanged extends Base
21
  {
22
  $instance = new self();
23
  $instance->_initialize($attributes);
 
24
 
25
  return $instance;
26
  }
21
  {
22
  $instance = new self();
23
  $instance->_initialize($attributes);
24
+ $instance->_attributes['merchantId'] = $instance->_attributes['merchantPublicId'];
25
 
26
  return $instance;
27
  }
{lib → vendor/braintree/braintree_php/lib}/Braintree/ConnectedMerchantStatusTransitioned.php RENAMED
@@ -21,6 +21,7 @@ class ConnectedMerchantStatusTransitioned extends Base
21
  {
22
  $instance = new self();
23
  $instance->_initialize($attributes);
 
24
 
25
  return $instance;
26
  }
21
  {
22
  $instance = new self();
23
  $instance->_initialize($attributes);
24
+ $instance->_attributes['merchantId'] = $instance->_attributes['merchantPublicId'];
25
 
26
  return $instance;
27
  }
{lib → vendor/braintree/braintree_php/lib}/Braintree/CredentialsParser.php RENAMED
File without changes
{lib → vendor/braintree/braintree_php/lib}/Braintree/CreditCard.php RENAMED
@@ -7,8 +7,8 @@ namespace Braintree;
7
  *
8
  * <b>== More information ==</b>
9
  *
10
- * For more detailed information on CreditCards, see {@link http://www.braintreepayments.com/gateway/credit-card-api http://www.braintreepaymentsolutions.com/gateway/credit-card-api}<br />
11
- * For more detailed information on CreditCard verifications, see {@link http://www.braintreepayments.com/gateway/credit-card-verification-api http://www.braintreepaymentsolutions.com/gateway/credit-card-verification-api}
12
  *
13
  * @package Braintree
14
  * @category Resources
7
  *
8
  * <b>== More information ==</b>
9
  *
10
+ * For more detailed information on CreditCards, see {@link https://developers.braintreepayments.com/reference/response/credit-card/php https://developers.braintreepayments.com/reference/response/credit-card/php}<br />
11
+ * For more detailed information on CreditCard verifications, see {@link https://developers.braintreepayments.com/reference/response/credit-card-verification/php https://developers.braintreepayments.com/reference/response/credit-card-verification/php}
12
  *
13
  * @package Braintree
14
  * @category Resources
{lib → vendor/braintree/braintree_php/lib}/Braintree/CreditCardGateway.php RENAMED
@@ -9,8 +9,8 @@ use InvalidArgumentException;
9
  *
10
  * <b>== More information ==</b>
11
  *
12
- * For more detailed information on CreditCards, see {@link http://www.braintreepayments.com/gateway/credit-card-api http://www.braintreepaymentsolutions.com/gateway/credit-card-api}<br />
13
- * For more detailed information on CreditCard verifications, see {@link http://www.braintreepayments.com/gateway/credit-card-verification-api http://www.braintreepaymentsolutions.com/gateway/credit-card-verification-api}
14
  *
15
  * @package Braintree
16
  * @category Resources
9
  *
10
  * <b>== More information ==</b>
11
  *
12
+ * For more detailed information on CreditCards, see {@link https://developers.braintreepayments.com/reference/response/credit-card/php https://developers.braintreepayments.com/reference/response/credit-card/php}<br />
13
+ * For more detailed information on CreditCard verifications, see {@link https://developers.braintreepayments.com/reference/response/credit-card-verification/php https://developers.braintreepayments.com/reference/response/credit-card-verification/php}
14
  *
15
  * @package Braintree
16
  * @category Resources
{lib → vendor/braintree/braintree_php/lib}/Braintree/CreditCardVerification.php RENAMED
File without changes
{lib → vendor/braintree/braintree_php/lib}/Braintree/CreditCardVerificationGateway.php RENAMED
File without changes
{lib → vendor/braintree/braintree_php/lib}/Braintree/CreditCardVerificationSearch.php RENAMED
File without changes
{lib → vendor/braintree/braintree_php/lib}/Braintree/Customer.php RENAMED
@@ -7,7 +7,7 @@ namespace Braintree;
7
  *
8
  * <b>== More information ==</b>
9
  *
10
- * For more detailed information on Customers, see {@link http://www.braintreepayments.com/gateway/customer-api http://www.braintreepaymentsolutions.com/gateway/customer-api}
11
  *
12
  * @package Braintree
13
  * @category Resources
@@ -102,9 +102,9 @@ class Customer extends Base
102
  * @param string $id customer id
103
  * @return Customer
104
  */
105
- public static function find($id)
106
  {
107
- return Configuration::gateway()->customer()->find($id);
108
  }
109
 
110
  /**
7
  *
8
  * <b>== More information ==</b>
9
  *
10
+ * For more detailed information on Customers, see {@link https://developers.braintreepayments.com/reference/response/customer/php https://developers.braintreepayments.com/reference/response/customer/php}
11
  *
12
  * @package Braintree
13
  * @category Resources
102
  * @param string $id customer id
103
  * @return Customer
104
  */
105
+ public static function find($id, $associationFilterId = null)
106
  {
107
+ return Configuration::gateway()->customer()->find($id, $associationFilterId);
108
  }
109
 
110
  /**
{lib → vendor/braintree/braintree_php/lib}/Braintree/CustomerGateway.php RENAMED
@@ -9,7 +9,7 @@ use InvalidArgumentException;
9
  *
10
  * <b>== More information ==</b>
11
  *
12
- * For more detailed information on Customers, see {@link http://www.braintreepayments.com/gateway/customer-api http://www.braintreepaymentsolutions.com/gateway/customer-api}
13
  *
14
  * @package Braintree
15
  * @category Resources
@@ -158,10 +158,20 @@ class CustomerGateway
158
  ['options' => [
159
  ['paypal' => [
160
  'payee_email',
 
161
  'order_id',
 
162
  'custom_field',
 
163
  'description',
164
  'amount',
 
 
 
 
 
 
 
165
  ]]
166
  ]],
167
  ];
@@ -189,7 +199,17 @@ class CustomerGateway
189
  ['creditCard' => $creditCardSignature],
190
  ['customFields' => ['_anyKey_']],
191
  ['options' => [
192
- ['paypal' => ['payee_email']],
 
 
 
 
 
 
 
 
 
 
193
  ]],
194
  ];
195
  return $signature;
@@ -201,14 +221,19 @@ class CustomerGateway
201
  *
202
  * @access public
203
  * @param string id customer Id
 
204
  * @return Customer|boolean The customer object or false if the request fails.
205
  * @throws Exception\NotFound
206
  */
207
- public function find($id)
208
  {
209
  $this->_validateId($id);
210
  try {
211
- $path = $this->_config->merchantPath() . '/customers/' . $id;
 
 
 
 
212
  $response = $this->_http->get($path);
213
  return Customer::factory($response['customer']);
214
  } catch (Exception\NotFound $e) {
@@ -306,7 +331,7 @@ class CustomerGateway
306
  *
307
  * If <b>query</b> is a string, the search will be a basic search.
308
  * If <b>query</b> is a hash, the search will be an advanced search.
309
- * For more detailed information and examples, see {@link http://www.braintreepayments.com/gateway/customer-api#searching http://www.braintreepaymentsolutions.com/gateway/customer-api}
310
  *
311
  * @param mixed $query search query
312
  * @return ResourceCollection
9
  *
10
  * <b>== More information ==</b>
11
  *
12
+ * For more detailed information on Customers, see {@link https://developers.braintreepayments.com/reference/response/customer/php https://developers.braintreepayments.com/reference/response/customer/php}
13
  *
14
  * @package Braintree
15
  * @category Resources
158
  ['options' => [
159
  ['paypal' => [
160
  'payee_email',
161
+ 'payeeEmail',
162
  'order_id',
163
+ 'orderId',
164
  'custom_field',
165
+ 'customField',
166
  'description',
167
  'amount',
168
+ ['shipping' =>
169
+ [
170
+ 'firstName', 'lastName', 'company', 'countryName',
171
+ 'countryCodeAlpha2', 'countryCodeAlpha3', 'countryCodeNumeric',
172
+ 'extendedAddress', 'locality', 'postalCode', 'region',
173
+ 'streetAddress'],
174
+ ],
175
  ]]
176
  ]],
177
  ];
199
  ['creditCard' => $creditCardSignature],
200
  ['customFields' => ['_anyKey_']],
201
  ['options' => [
202
+ ['paypal' => [
203
+ 'payee_email',
204
+ 'payeeEmail',
205
+ ['shipping' =>
206
+ [
207
+ 'firstName', 'lastName', 'company', 'countryName',
208
+ 'countryCodeAlpha2', 'countryCodeAlpha3', 'countryCodeNumeric',
209
+ 'extendedAddress', 'locality', 'postalCode', 'region',
210
+ 'streetAddress'],
211
+ ],
212
+ ]],
213
  ]],
214
  ];
215
  return $signature;
221
  *
222
  * @access public
223
  * @param string id customer Id
224
+ * @param string associationFilterId association filter Id
225
  * @return Customer|boolean The customer object or false if the request fails.
226
  * @throws Exception\NotFound
227
  */
228
+ public function find($id, $associationFilterId = null)
229
  {
230
  $this->_validateId($id);
231
  try {
232
+ $queryParams = '';
233
+ if ($associationFilterId) {
234
+ $queryParams = '?association_filter_id=' . $associationFilterId;
235
+ }
236
+ $path = $this->_config->merchantPath() . '/customers/' . $id . $queryParams;
237
  $response = $this->_http->get($path);
238
  return Customer::factory($response['customer']);
239
  } catch (Exception\NotFound $e) {
331
  *
332
  * If <b>query</b> is a string, the search will be a basic search.
333
  * If <b>query</b> is a hash, the search will be an advanced search.
334
+ * For more detailed information and examples, see {@link https://developers.braintreepayments.com/reference/request/customer/search/php https://developers.braintreepayments.com/reference/request/customer/search/php}
335
  *
336
  * @param mixed $query search query
337
  * @return ResourceCollection
{lib → vendor/braintree/braintree_php/lib}/Braintree/CustomerSearch.php RENAMED
File without changes
{lib → vendor/braintree/braintree_php/lib}/Braintree/Descriptor.php RENAMED
File without changes
{lib → vendor/braintree/braintree_php/lib}/Braintree/Digest.php RENAMED
File without changes
{lib → vendor/braintree/braintree_php/lib}/Braintree/Disbursement.php RENAMED
@@ -3,6 +3,10 @@ namespace Braintree;
3
 
4
  class Disbursement extends Base
5
  {
 
 
 
 
6
  private $_merchantAccount;
7
 
8
  protected function _initialize($disbursementAttribs)
@@ -38,7 +42,7 @@ class Disbursement extends Base
38
  $display = [
39
  'id', 'merchantAccountDetails', 'exceptionMessage', 'amount',
40
  'disbursementDate', 'followUpAction', 'retry', 'success',
41
- 'transactionIds'
42
  ];
43
 
44
  $displayAttributes = [];
@@ -48,5 +52,15 @@ class Disbursement extends Base
48
  return __CLASS__ . '[' .
49
  Util::attributesToString($displayAttributes) .']';
50
  }
 
 
 
 
 
 
 
 
 
 
51
  }
52
  class_alias('Braintree\Disbursement', 'Braintree_Disbursement');
3
 
4
  class Disbursement extends Base
5
  {
6
+
7
+ const TYPE_CREDIT = "credit";
8
+ const TYPE_DEBIT = "debit";
9
+
10
  private $_merchantAccount;
11
 
12
  protected function _initialize($disbursementAttribs)
42
  $display = [
43
  'id', 'merchantAccountDetails', 'exceptionMessage', 'amount',
44
  'disbursementDate', 'followUpAction', 'retry', 'success',
45
+ 'transactionIds', 'disbursementType'
46
  ];
47
 
48
  $displayAttributes = [];
52
  return __CLASS__ . '[' .
53
  Util::attributesToString($displayAttributes) .']';
54
  }
55
+
56
+ public function isDebit()
57
+ {
58
+ return $this->disbursementType == Disbursement::TYPE_DEBIT;
59
+ }
60
+
61
+ public function isCredit()
62
+ {
63
+ return $this->disbursementType == Disbursement::TYPE_CREDIT;
64
+ }
65
  }
66
  class_alias('Braintree\Disbursement', 'Braintree_Disbursement');
{lib → vendor/braintree/braintree_php/lib}/Braintree/DisbursementDetails.php RENAMED
File without changes
{lib → vendor/braintree/braintree_php/lib}/Braintree/Discount.php RENAMED
File without changes
{lib → vendor/braintree/braintree_php/lib}/Braintree/DiscountGateway.php RENAMED
File without changes
{lib → vendor/braintree/braintree_php/lib}/Braintree/Dispute.php RENAMED
@@ -115,22 +115,22 @@ class Dispute extends Base
115
  * Adds file evidence to a dispute, given a dispute ID and a document ID
116
  *
117
  * @param string $disputeId
118
- * @param string $documentId
119
  */
120
- public static function addFileEvidence($disputeId, $documentId)
121
  {
122
- return Configuration::gateway()->dispute()->addFileEvidence($disputeId, $documentId);
123
  }
124
 
125
  /**
126
  * Adds text evidence to a dispute, given a dispute ID and content
127
  *
128
  * @param string $id
129
- * @param string $content
130
  */
131
- public static function addTextEvidence($id, $content)
132
  {
133
- return Configuration::gateway()->dispute()->addTextEvidence($id, $content);
134
  }
135
 
136
  /**
115
  * Adds file evidence to a dispute, given a dispute ID and a document ID
116
  *
117
  * @param string $disputeId
118
+ * @param string $documentIdOrRequest
119
  */
120
+ public static function addFileEvidence($disputeId, $documentIdOrRequest)
121
  {
122
+ return Configuration::gateway()->dispute()->addFileEvidence($disputeId, $documentIdOrRequest);
123
  }
124
 
125
  /**
126
  * Adds text evidence to a dispute, given a dispute ID and content
127
  *
128
  * @param string $id
129
+ * @param string $contentOrRequest
130
  */
131
+ public static function addTextEvidence($id, $contentOrRequest)
132
  {
133
+ return Configuration::gateway()->dispute()->addTextEvidence($id, $contentOrRequest);
134
  }
135
 
136
  /**
{lib → vendor/braintree/braintree_php/lib}/Braintree/Dispute/EvidenceDetails.php RENAMED
@@ -8,14 +8,24 @@ use Braintree\Instance;
8
  *
9
  * @package Braintree
10
  *
 
11
  * @property-read string $comment
12
  * @property-read date $created_at
13
  * @property-read string $id
14
  * @property-read string $sent_to_processor_at
15
  * @property-read string $url
 
 
16
  */
17
  class EvidenceDetails extends Instance
18
  {
 
 
 
 
 
 
 
19
  }
20
 
21
  class_alias('Braintree\Dispute\EvidenceDetails', 'Braintree_Dispute_EvidenceDetails');
8
  *
9
  * @package Braintree
10
  *
11
+ * @property-read string $category
12
  * @property-read string $comment
13
  * @property-read date $created_at
14
  * @property-read string $id
15
  * @property-read string $sent_to_processor_at
16
  * @property-read string $url
17
+ * @property-read string $tag
18
+ * @property-read string $sequenceNumber
19
  */
20
  class EvidenceDetails extends Instance
21
  {
22
+ public function __construct($attributes)
23
+ {
24
+ if (array_key_exists('category', $attributes)) {
25
+ $attributes['tag'] = $attributes['category'];
26
+ }
27
+ parent::__construct($attributes);
28
+ }
29
  }
30
 
31
  class_alias('Braintree\Dispute\EvidenceDetails', 'Braintree_Dispute_EvidenceDetails');
{lib → vendor/braintree/braintree_php/lib}/Braintree/Dispute/StatusHistoryDetails.php RENAMED
@@ -4,11 +4,12 @@ namespace Braintree\Dispute;
4
  use Braintree\Instance;
5
 
6
  /**
7
- * Evidence details for a dispute
8
  *
9
  * @package Braintree
10
  *
11
  * @property-read string $effective_date
 
12
  * @property-read string $status
13
  * @property-read date $timestamp
14
  */
4
  use Braintree\Instance;
5
 
6
  /**
7
+ * Status History for a dispute
8
  *
9
  * @package Braintree
10
  *
11
  * @property-read string $effective_date
12
+ * @property-read string $disbursement_date
13
  * @property-read string $status
14
  * @property-read date $timestamp
15
  */
{lib → vendor/braintree/braintree_php/lib}/Braintree/Dispute/TransactionDetails.php RENAMED
File without changes
{lib → vendor/braintree/braintree_php/lib}/Braintree/DisputeGateway.php RENAMED
@@ -69,27 +69,32 @@ class DisputeGateway
69
  * Adds file evidence to a dispute, given a dispute ID and a document ID
70
  *
71
  * @param string $disputeId
72
- * @param string $documentId
73
  */
74
- public function addFileEvidence($disputeId, $documentId)
75
  {
 
 
76
  if (trim($disputeId) == "") {
77
  throw new Exception\NotFound('dispute with id "' . $disputeId . '" not found');
78
  }
79
 
80
- if (trim($documentId) == "") {
81
- throw new Exception\NotFound('document with id "' . $documentId . '" not found');
82
  }
83
 
84
  try {
85
- if (trim($disputeId) == "") {
86
- throw new Exception\NotFound();
 
 
87
  }
88
 
 
 
 
89
  $path = $this->_config->merchantPath() . '/disputes/' . $disputeId . '/evidence';
90
- $response = $this->_http->post($path, [
91
- 'document_upload_id' => $documentId
92
- ]);
93
 
94
  if (isset($response['apiErrorResponse'])) {
95
  return new Result\Error($response['apiErrorResponse']);
@@ -110,20 +115,45 @@ class DisputeGateway
110
  * @param string $id
111
  * @param string $content
112
  */
113
- public function addTextEvidence($id, $content)
114
  {
115
- if (trim($content) == "") {
 
116
  throw new InvalidArgumentException('content cannot be blank');
117
  }
118
 
119
  try {
 
 
 
 
120
  if (trim($id) == "") {
121
  throw new Exception\NotFound();
122
  }
123
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
124
  $path = $this->_config->merchantPath() . '/disputes/' . $id . '/evidence';
125
  $response = $this->_http->post($path, [
126
- 'comments' => $content
127
  ]);
128
 
129
  if (isset($response['apiErrorResponse'])) {
69
  * Adds file evidence to a dispute, given a dispute ID and a document ID
70
  *
71
  * @param string $disputeId
72
+ * @param string $documentIdOrRequest
73
  */
74
+ public function addFileEvidence($disputeId, $documentIdOrRequest)
75
  {
76
+ $request = is_array($documentIdOrRequest) ? $documentIdOrRequest : ['documentId' => $documentIdOrRequest];
77
+
78
  if (trim($disputeId) == "") {
79
  throw new Exception\NotFound('dispute with id "' . $disputeId . '" not found');
80
  }
81
 
82
+ if (trim($request['documentId']) == "") {
83
+ throw new Exception\NotFound('document with id "' . $request['documentId'] . '" not found');
84
  }
85
 
86
  try {
87
+ if (array_key_exists('category', $request)) {
88
+ if (trim($request['category']) == "") {
89
+ throw new InvalidArgumentException('category cannot be blank');
90
+ }
91
  }
92
 
93
+ $request['document_upload_id'] = $request['documentId'];
94
+ unset($request['documentId']);
95
+
96
  $path = $this->_config->merchantPath() . '/disputes/' . $disputeId . '/evidence';
97
+ $response = $this->_http->post($path, ['evidence' => $request]);
 
 
98
 
99
  if (isset($response['apiErrorResponse'])) {
100
  return new Result\Error($response['apiErrorResponse']);
115
  * @param string $id
116
  * @param string $content
117
  */
118
+ public function addTextEvidence($id, $contentOrRequest)
119
  {
120
+ $request = is_array($contentOrRequest) ? $contentOrRequest : ['content' => $contentOrRequest];
121
+ if (trim($request['content']) == "") {
122
  throw new InvalidArgumentException('content cannot be blank');
123
  }
124
 
125
  try {
126
+ $evidence = [
127
+ 'comments' => $request['content'],
128
+ ];
129
+
130
  if (trim($id) == "") {
131
  throw new Exception\NotFound();
132
  }
133
 
134
+ if (array_key_exists('tag', $request)) {
135
+ $evidence['category'] = $request['tag'];
136
+ }
137
+
138
+ if (array_key_exists('category', $request)) {
139
+ if (trim($request['category']) == "") {
140
+ throw new InvalidArgumentException('category cannot be blank');
141
+ }
142
+ $evidence['category'] = $request['category'];
143
+ }
144
+
145
+ if (array_key_exists('sequenceNumber', $request)) {
146
+ if (trim($request['sequenceNumber']) == "") {
147
+ throw new InvalidArgumentException('sequenceNumber cannot be blank');
148
+ } else if ((string)(int)($request['sequenceNumber']) != $request['sequenceNumber']) {
149
+ throw new InvalidArgumentException('sequenceNumber must be an integer');
150
+ }
151
+ $evidence['sequenceNumber'] = (int)$request['sequenceNumber'];
152
+ }
153
+
154
  $path = $this->_config->merchantPath() . '/disputes/' . $id . '/evidence';
155
  $response = $this->_http->post($path, [
156
+ 'evidence' => $evidence
157
  ]);
158
 
159
  if (isset($response['apiErrorResponse'])) {
{lib → vendor/braintree/braintree_php/lib}/Braintree/DisputeSearch.php RENAMED
@@ -22,6 +22,11 @@ class DisputeSearch
22
  return new TextNode("id");
23
  }
24
 
 
 
 
 
 
25
  public static function kind()
26
  {
27
  return new MultipleValueNode("kind");
@@ -47,6 +52,16 @@ class DisputeSearch
47
  return new RangeNode("received_date");
48
  }
49
 
 
 
 
 
 
 
 
 
 
 
50
  public static function referenceNumber()
51
  {
52
  return new TextNode("reference_number");
22
  return new TextNode("id");
23
  }
24
 
25
+ public static function customerId()
26
+ {
27
+ return new TextNode("customer_id");
28
+ }
29
+
30
  public static function kind()
31
  {
32
  return new MultipleValueNode("kind");
52
  return new RangeNode("received_date");
53
  }
54
 
55
+ public static function disbursementDate()
56
+ {
57
+ return new RangeNode("disbursement_date");
58
+ }
59
+
60
+ public static function effectiveDate()
61
+ {
62
+ return new RangeNode("effective_date");
63
+ }
64
+
65
  public static function referenceNumber()
66
  {
67
  return new TextNode("reference_number");
{lib → vendor/braintree/braintree_php/lib}/Braintree/DocumentUpload.php RENAMED
File without changes
{lib → vendor/braintree/braintree_php/lib}/Braintree/DocumentUploadGateway.php RENAMED
File without changes
vendor/braintree/braintree_php/lib/Braintree/EndsWithNode.php ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ namespace Braintree;
3
+
4
+ class EndsWithNode
5
+ {
6
+ public function __construct($name)
7
+ {
8
+ $this->name = $name;
9
+ $this->searchTerms = [];
10
+ }
11
+
12
+ public function endsWith($value)
13
+ {
14
+ $this->searchTerms["ends_with"] = strval($value);
15
+ return $this;
16
+ }
17
+
18
+ public function toParam()
19
+ {
20
+ return $this->searchTerms;
21
+ }
22
+ }
23
+ class_alias('Braintree\EndsWithNode', 'Braintree_EndsWithNode');
{lib → vendor/braintree/braintree_php/lib}/Braintree/EqualityNode.php RENAMED
File without changes
{lib → vendor/braintree/braintree_php/lib}/Braintree/Error/Codes.php RENAMED
@@ -166,17 +166,40 @@ class Codes
166
  const DESCRIPTOR_INTERNATIONAL_PHONE_FORMAT_IS_INVALID = '92205';
167
  const DESCRIPTOR_URL_FORMAT_IS_INVALID = '92206';
168
 
169
- const DISPUTE_CAN_ONLY_ADD_EVIDENCE_TO_OPEN_DISPUTE = '95701';
170
- const DISPUTE_CAN_ONLY_REMOVE_EVIDENCE_FROM_OPEN_DISPUTE = '95702';
171
- const DISPUTE_CAN_ONLY_ADD_EVIDENCE_TO_DISPUTE = '95703';
172
- const DISPUTE_CAN_ONLY_ACCEPT_OPEN_DISPUTE = '95704';
173
- const DISPUTE_CAN_ONLY_FINALIZE_OPEN_DISPUTE = '95705';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
174
 
175
  const DOCUMENT_UPLOAD_KIND_IS_INVALID = '84901';
176
  const DOCUMENT_UPLOAD_FILE_IS_TOO_LARGE = '84902';
177
  const DOCUMENT_UPLOAD_FILE_TYPE_IS_INVALID = '84903';
178
  const DOCUMENT_UPLOAD_FILE_IS_MALFORMED_OR_ENCRYPTED = '84904';
179
 
 
 
 
 
180
  const INDUSTRY_DATA_INDUSTRY_TYPE_IS_INVALID = '93401';
181
  const INDUSTRY_DATA_LODGING_EMPTY_DATA = '93402';
182
  const INDUSTRY_DATA_LODGING_FOLIO_NUMBER_IS_INVALID = '93403';
@@ -191,6 +214,37 @@ class Codes
191
  const INDUSTRY_DATA_TRAVEL_CRUISE_LODGING_CHECK_IN_DATE_IS_INVALID = '93412';
192
  const INDUSTRY_DATA_TRAVEL_CRUISE_LODGING_CHECK_OUT_DATE_IS_INVALID = '93413';
193
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
194
  const MERCHANT_COUNTRY_CANNOT_BE_BLANK = '83603';
195
  const MERCHANT_COUNTRY_CODE_ALPHA2_IS_INVALID = '93607';
196
  const MERCHANT_COUNTRY_CODE_ALPHA2_IS_NOT_ACCEPTED = '93606';
@@ -321,6 +375,7 @@ class Codes
321
  const PAYMENT_METHOD_PAYMENT_METHOD_NONCE_LOCKED = '93109';
322
  const PAYMENT_METHOD_PAYMENT_METHOD_PARAMS_ARE_REQUIRED = '93101';
323
  const PAYMENT_METHOD_NO_LONGER_SUPPORTED = '93117';
 
324
 
325
  const PAYPAL_ACCOUNT_AUTH_EXPIRED = '92911';
326
  const PAYPAL_ACCOUNT_CANNOT_HAVE_BOTH_ACCESS_TOKEN_AND_CONSENT_CODE = '82903';
@@ -462,6 +517,17 @@ class Codes
462
  const TRANSACTION_HAS_ALREADY_BEEN_REFUNDED = '91512';
463
  const TRANSACTION_IDEAL_PAYMENT_NOT_COMPLETE = '815141';
464
  const TRANSACTION_IDEAL_PAYMENTS_CANNOT_BE_VAULTED = '915150';
 
 
 
 
 
 
 
 
 
 
 
465
  const TRANSACTION_MERCHANT_ACCOUNT_DOES_NOT_MATCH3_D_SECURE_MERCHANT_ACCOUNT = '91584';
466
  const TRANSACTION_MERCHANT_ACCOUNT_DOES_NOT_MATCH_IDEAL_PAYMENT_MERCHANT_ACCOUNT = '915143';
467
  const TRANSACTION_MERCHANT_ACCOUNT_DOES_NOT_SUPPORT_MOTO = '91558';
@@ -533,6 +599,17 @@ class Codes
533
  const TRANSACTION_TYPE_IS_INVALID = '91523';
534
  const TRANSACTION_TYPE_IS_REQUIRED = '91524';
535
  const TRANSACTION_UNSUPPORTED_VOICE_AUTHORIZATION = '91539';
 
 
 
 
 
 
 
 
 
 
 
536
 
537
  const VERIFICATION_OPTIONS_AMOUNT_CANNOT_BE_NEGATIVE = '94201';
538
  const VERIFICATION_OPTIONS_AMOUNT_FORMAT_IS_INVALID = '94202';
166
  const DESCRIPTOR_INTERNATIONAL_PHONE_FORMAT_IS_INVALID = '92205';
167
  const DESCRIPTOR_URL_FORMAT_IS_INVALID = '92206';
168
 
169
+ const DISPUTE_CAN_ONLY_ADD_EVIDENCE_TO_OPEN_DISPUTE = '95701';
170
+ const DISPUTE_CAN_ONLY_REMOVE_EVIDENCE_FROM_OPEN_DISPUTE = '95702';
171
+ const DISPUTE_CAN_ONLY_ADD_EVIDENCE_TO_DISPUTE = '95703';
172
+ const DISPUTE_CAN_ONLY_ACCEPT_OPEN_DISPUTE = '95704';
173
+ const DISPUTE_CAN_ONLY_FINALIZE_OPEN_DISPUTE = '95705';
174
+ const DISPUTE_CAN_ONLY_CREATE_EVIDENCE_WITH_VALID_CATEGORY = '95706';
175
+
176
+ const DISPUTE_EVIDENCE_CONTENT_DATE_INVALID = '95707';
177
+ const DISPUTE_EVIDENCE_CONTENT_TOO_LONG = '95708';
178
+ const DISPUTE_EVIDENCE_CONTENT_ARN_TOO_LONG = '95709';
179
+ const DISPUTE_EVIDENCE_CONTENT_PHONE_TOO_LONG = '95710';
180
+ const DISPUTE_EVIDENCE_CATEGORY_TEXT_ONLY = '95711';
181
+ const DISPUTE_EVIDENCE_CATEGORY_DOCUMENT_ONLY = '95712';
182
+ const DISPUTE_EVIDENCE_CATEGORY_NOT_FOR_REASON_CODE = '95713';
183
+ const DISPUTE_EVIDENCE_CATEGORY_DUPLICATE = '95713';
184
+ const DISPUTE_EVIDENCE_CATEGORY_EMAIL_INVALID = '95713';
185
+
186
+ const DISPUTE_DIGITAL_GOODS_MISSING_EVIDENCE = '95720';
187
+ const DISPUTE_DIGITAL_GOODS_MISSING_DOWNLOAD_DATE = '95721';
188
+ const DISPUTE_PRIOR_NON_DISPUTED_TRANSACTION_MISSING_ARN = '95722';
189
+ const DISPUTE_PRIOR_NON_DISPUTED_TRANSACTION_MISSING_DATE = '95723';
190
+ const DISPUTE_RECURRING_TRANSACTION_MISSING_DATE = '95724';
191
+ const DISPUTE_RECURRING_TRANSACTION_MISSING_ARN = '95725';
192
+ const DISPUTE_VALID_EVIDENCE_REQUIRED_TO_FINALIZE = '95726';
193
 
194
  const DOCUMENT_UPLOAD_KIND_IS_INVALID = '84901';
195
  const DOCUMENT_UPLOAD_FILE_IS_TOO_LARGE = '84902';
196
  const DOCUMENT_UPLOAD_FILE_TYPE_IS_INVALID = '84903';
197
  const DOCUMENT_UPLOAD_FILE_IS_MALFORMED_OR_ENCRYPTED = '84904';
198
 
199
+ const FAILED_AUTH_ADJUSTMENT_ALLOW_RETRY = '95603';
200
+ const FAILED_AUTH_ADJUSTMENT_HARD_DECLINE = '95602';
201
+ const FINAL_AUTH_SUBMIT_FOR_SETTLEMENT_FOR_DIFFERENT_AMOUNT = '95601';
202
+
203
  const INDUSTRY_DATA_INDUSTRY_TYPE_IS_INVALID = '93401';
204
  const INDUSTRY_DATA_LODGING_EMPTY_DATA = '93402';
205
  const INDUSTRY_DATA_LODGING_FOLIO_NUMBER_IS_INVALID = '93403';
214
  const INDUSTRY_DATA_TRAVEL_CRUISE_LODGING_CHECK_IN_DATE_IS_INVALID = '93412';
215
  const INDUSTRY_DATA_TRAVEL_CRUISE_LODGING_CHECK_OUT_DATE_IS_INVALID = '93413';
216
 
217
+ const TRANSACTION_LINE_ITEM_COMMODITY_CODE_IS_TOO_LONG = '95801';
218
+ const TRANSACTION_LINE_ITEM_DESCRIPTION_IS_TOO_LONG = '95803';
219
+ const TRANSACTION_LINE_ITEM_DISCOUNT_AMOUNT_FORMAT_IS_INVALID = '95804';
220
+ const TRANSACTION_LINE_ITEM_DISCOUNT_AMOUNT_IS_TOO_LARGE = '95805';
221
+ const TRANSACTION_LINE_ITEM_DISCOUNT_AMOUNT_MUST_BE_GREATER_THAN_ZERO = '95806'; // Deprecated as the amount may be zero. Use TRANSACTION_LINE_ITEM_DISCOUNT_AMOUNT_CANNOT_BE_ZERO.
222
+ const TRANSACTION_LINE_ITEM_DISCOUNT_AMOUNT_CANNOT_BE_NEGATIVE = '95806';
223
+ const TRANSACTION_LINE_ITEM_KIND_IS_INVALID = '95807';
224
+ const TRANSACTION_LINE_ITEM_KIND_IS_REQUIRED = '95808';
225
+ const TRANSACTION_LINE_ITEM_NAME_IS_REQUIRED = '95822';
226
+ const TRANSACTION_LINE_ITEM_NAME_IS_TOO_LONG = '95823';
227
+ const TRANSACTION_LINE_ITEM_PRODUCT_CODE_IS_TOO_LONG = '95809';
228
+ const TRANSACTION_LINE_ITEM_QUANTITY_FORMAT_IS_INVALID = '95810';
229
+ const TRANSACTION_LINE_ITEM_QUANTITY_IS_REQUIRED = '95811';
230
+ const TRANSACTION_LINE_ITEM_QUANTITY_IS_TOO_LARGE = '95812';
231
+ const TRANSACTION_LINE_ITEM_TOTAL_AMOUNT_FORMAT_IS_INVALID = '95813';
232
+ const TRANSACTION_LINE_ITEM_TOTAL_AMOUNT_IS_REQUIRED = '95814';
233
+ const TRANSACTION_LINE_ITEM_TOTAL_AMOUNT_IS_TOO_LARGE = '95815';
234
+ const TRANSACTION_LINE_ITEM_TOTAL_AMOUNT_MUST_BE_GREATER_THAN_ZERO = '95816';
235
+ const TRANSACTION_LINE_ITEM_UNIT_AMOUNT_FORMAT_IS_INVALID = '95817';
236
+ const TRANSACTION_LINE_ITEM_UNIT_AMOUNT_IS_REQUIRED = '95818';
237
+ const TRANSACTION_LINE_ITEM_UNIT_AMOUNT_IS_TOO_LARGE = '95819';
238
+ const TRANSACTION_LINE_ITEM_UNIT_AMOUNT_MUST_BE_GREATER_THAN_ZERO = '95820';
239
+ const TRANSACTION_LINE_ITEM_UNIT_OF_MEASURE_IS_TOO_LONG = '95821';
240
+ const TRANSACTION_LINE_ITEM_UNIT_TAX_AMOUNT_FORMAT_IS_INVALID = '95824';
241
+ const TRANSACTION_LINE_ITEM_UNIT_TAX_AMOUNT_IS_TOO_LARGE = '95825';
242
+ const TRANSACTION_LINE_ITEM_UNIT_TAX_AMOUNT_MUST_BE_GREATER_THAN_ZERO = '95826'; // Deprecated as the amount may be zero. Use TRANSACTION_LINE_ITEM_UNIT_TAX_AMOUNT_CANNOT_BE_ZERO.
243
+ const TRANSACTION_LINE_ITEM_UNIT_TAX_AMOUNT_CANNOT_BE_NEGATIVE = '95826';
244
+ const TRANSACTION_LINE_ITEM_TAX_AMOUNT_FORMAT_IS_INVALID = '95827';
245
+ const TRANSACTION_LINE_ITEM_TAX_AMOUNT_IS_TOO_LARGE = '95828';
246
+ const TRANSACTION_LINE_ITEM_TAX_AMOUNT_CANNOT_BE_NEGATIVE = '95829';
247
+
248
  const MERCHANT_COUNTRY_CANNOT_BE_BLANK = '83603';
249
  const MERCHANT_COUNTRY_CODE_ALPHA2_IS_INVALID = '93607';
250
  const MERCHANT_COUNTRY_CODE_ALPHA2_IS_NOT_ACCEPTED = '93606';
375
  const PAYMENT_METHOD_PAYMENT_METHOD_NONCE_LOCKED = '93109';
376
  const PAYMENT_METHOD_PAYMENT_METHOD_PARAMS_ARE_REQUIRED = '93101';
377
  const PAYMENT_METHOD_NO_LONGER_SUPPORTED = '93117';
378
+ const PAYMENT_METHOD_OPTIONS_US_BANK_ACCOUNT_VERIFICATION_METHOD_IS_INVALID = '93121';
379
 
380
  const PAYPAL_ACCOUNT_AUTH_EXPIRED = '92911';
381
  const PAYPAL_ACCOUNT_CANNOT_HAVE_BOTH_ACCESS_TOKEN_AND_CONSENT_CODE = '82903';
517
  const TRANSACTION_HAS_ALREADY_BEEN_REFUNDED = '91512';
518
  const TRANSACTION_IDEAL_PAYMENT_NOT_COMPLETE = '815141';
519
  const TRANSACTION_IDEAL_PAYMENTS_CANNOT_BE_VAULTED = '915150';
520
+ const TRANSACTION_LINE_ITEMS_EXPECTED = '915158';
521
+ const TRANSACTION_TOO_MANY_LINE_ITEMS = '915157';
522
+ const TRANSACTION_DISCOUNT_AMOUNT_FORMAT_IS_INVALID = '915159';
523
+ const TRANSACTION_DISCOUNT_AMOUNT_CANNOT_BE_NEGATIVE = '915160';
524
+ const TRANSACTION_DISCOUNT_AMOUNT_IS_TOO_LARGE = '915161';
525
+ const TRANSACTION_SHIPPING_AMOUNT_FORMAT_IS_INVALID = '915162';
526
+ const TRANSACTION_SHIPPING_AMOUNT_CANNOT_BE_NEGATIVE = '915163';
527
+ const TRANSACTION_SHIPPING_AMOUNT_IS_TOO_LARGE = '915164';
528
+ const TRANSACTION_SHIPS_FROM_POSTAL_CODE_IS_TOO_LONG = '915165';
529
+ const TRANSACTION_SHIPS_FROM_POSTAL_CODE_IS_INVALID = '915166';
530
+ const TRANSACTION_SHIPS_FROM_POSTAL_CODE_INVALID_CHARACTERS = '915167';
531
  const TRANSACTION_MERCHANT_ACCOUNT_DOES_NOT_MATCH3_D_SECURE_MERCHANT_ACCOUNT = '91584';
532
  const TRANSACTION_MERCHANT_ACCOUNT_DOES_NOT_MATCH_IDEAL_PAYMENT_MERCHANT_ACCOUNT = '915143';
533
  const TRANSACTION_MERCHANT_ACCOUNT_DOES_NOT_SUPPORT_MOTO = '91558';
599
  const TRANSACTION_TYPE_IS_INVALID = '91523';
600
  const TRANSACTION_TYPE_IS_REQUIRED = '91524';
601
  const TRANSACTION_UNSUPPORTED_VOICE_AUTHORIZATION = '91539';
602
+ const TRANSACTION_US_BANK_ACCOUNT_NONCE_MUST_BE_PLAID_VERIFIED = '915171';
603
+ const TRANSACTION_US_BANK_ACCOUNT_NOT_VERIFIED = '915172';
604
+
605
+ const TRANSACTION_TRANSACTION_SOURCE_IS_INVALID = '915133';
606
+
607
+ const US_BANK_ACCOUNT_VERIFICATION_NOT_CONFIRMABLE = '96101';
608
+ const US_BANK_ACCOUNT_VERIFICATION_MUST_BE_MICRO_TRANSFERS_VERIFICATION = '96102';
609
+ const US_BANK_ACCOUNT_VERIFICATION_AMOUNTS_DO_NOT_MATCH = '96103';
610
+ const US_BANK_ACCOUNT_VERIFICATION_TOO_MANY_CONFIRMATION_ATTEMPTS = '96104';
611
+ const US_BANK_ACCOUNT_VERIFICATION_UNABLE_TO_CONFIRM_DEPOSIT_AMOUNTS = '96105';
612
+ const US_BANK_ACCOUNT_VERIFICATION_INVALID_DEPOSIT_AMOUNTS = '96106';
613
 
614
  const VERIFICATION_OPTIONS_AMOUNT_CANNOT_BE_NEGATIVE = '94201';
615
  const VERIFICATION_OPTIONS_AMOUNT_FORMAT_IS_INVALID = '94202';
{lib → vendor/braintree/braintree_php/lib}/Braintree/Error/ErrorCollection.php RENAMED
File without changes
{lib → vendor/braintree/braintree_php/lib}/Braintree/Error/Validation.php RENAMED
@@ -9,7 +9,7 @@ use Braintree\Util;
9
  *
10
  * <b>== More information ==</b>
11
  *
12
- * For more detailed information on Validation errors, see {@link http://www.braintreepayments.com/gateway/validation-errors http://www.braintreepaymentsolutions.com/gateway/validation-errors}
13
  *
14
  * @package Braintree
15
  * @subpackage Error
9
  *
10
  * <b>== More information ==</b>
11
  *
12
+ * For more detailed information on Validation errors, see {@link https://developers.braintreepayments.com/reference/general/validation-errors/overview/php https://developers.braintreepayments.com/reference/general/validation-errors/overview/php}
13
  *
14
  * @package Braintree
15
  * @subpackage Error
{lib → vendor/braintree/braintree_php/lib}/Braintree/Error/ValidationErrorCollection.php RENAMED
@@ -8,7 +8,7 @@ use Braintree\Collection;
8
  *
9
  * <b>== More information ==</b>
10
  *
11
- * For more detailed information on Validation errors, see {@link http://www.braintreepayments.com/gateway/validation-errors http://www.braintreepaymentsolutions.com/gateway/validation-errors}
12
  *
13
  * @package Braintree
14
  * @subpackage Error
8
  *
9
  * <b>== More information ==</b>
10
  *
11
+ * For more detailed information on Validation errors, see {@link https://developers.braintreepayments.com/reference/general/validation-errors/overview/php https://developers.braintreepayments.com/reference/general/validation-errors/overview/php}
12
  *
13
  * @package Braintree
14
  * @subpackage Error
{lib → vendor/braintree/braintree_php/lib}/Braintree/EuropeBankAccount.php RENAMED
File without changes
{lib → vendor/braintree/braintree_php/lib}/Braintree/Exception.php RENAMED
File without changes
{lib → vendor/braintree/braintree_php/lib}/Braintree/Exception/Authentication.php RENAMED
File without changes
{lib → vendor/braintree/braintree_php/lib}/Braintree/Exception/Authorization.php RENAMED
File without changes
{lib → vendor/braintree/braintree_php/lib}/Braintree/Exception/Configuration.php RENAMED
File without changes
{lib → vendor/braintree/braintree_php/lib}/Braintree/Exception/Connection.php RENAMED
File without changes
{lib → vendor/braintree/braintree_php/lib}/Braintree/Exception/DownForMaintenance.php RENAMED
File without changes
{lib → vendor/braintree/braintree_php/lib}/Braintree/Exception/ForgedQueryString.php RENAMED
File without changes
{lib → vendor/braintree/braintree_php/lib}/Braintree/Exception/InvalidChallenge.php RENAMED
File without changes
{lib → vendor/braintree/braintree_php/lib}/Braintree/Exception/InvalidSignature.php RENAMED
File without changes
{lib → vendor/braintree/braintree_php/lib}/Braintree/Exception/NotFound.php RENAMED
File without changes
{lib → vendor/braintree/braintree_php/lib}/Braintree/Exception/SSLCaFileNotFound.php RENAMED
File without changes
{lib → vendor/braintree/braintree_php/lib}/Braintree/Exception/SSLCertificate.php RENAMED
File without changes
{lib → vendor/braintree/braintree_php/lib}/Braintree/Exception/ServerError.php RENAMED
File without changes
{lib → vendor/braintree/braintree_php/lib}/Braintree/Exception/TestOperationPerformedInProduction.php RENAMED
File without changes
{lib → vendor/braintree/braintree_php/lib}/Braintree/Exception/Timeout.php RENAMED
File without changes
{lib → vendor/braintree/braintree_php/lib}/Braintree/Exception/TooManyRequests.php RENAMED
File without changes
{lib → vendor/braintree/braintree_php/lib}/Braintree/Exception/Unexpected.php RENAMED
File without changes
{lib → vendor/braintree/braintree_php/lib}/Braintree/Exception/UpgradeRequired.php RENAMED
File without changes
{lib → vendor/braintree/braintree_php/lib}/Braintree/Exception/ValidationsFailed.php RENAMED
File without changes
{lib → vendor/braintree/braintree_php/lib}/Braintree/FacilitatedDetails.php RENAMED
File without changes
{lib → vendor/braintree/braintree_php/lib}/Braintree/FacilitatorDetails.php RENAMED
File without changes
{lib → vendor/braintree/braintree_php/lib}/Braintree/Gateway.php RENAMED
@@ -212,6 +212,15 @@ class Gateway
212
  return new TransactionGateway($this);
213
  }
214
 
 
 
 
 
 
 
 
 
 
215
  /**
216
  *
217
  * @return TransparentRedirectGateway
@@ -230,6 +239,15 @@ class Gateway
230
  return new UsBankAccountGateway($this);
231
  }
232
 
 
 
 
 
 
 
 
 
 
233
  /**
234
  *
235
  * @return IdealPaymentGateway
@@ -247,5 +265,14 @@ class Gateway
247
  {
248
  return new WebhookNotificationGateway($this);
249
  }
 
 
 
 
 
 
 
 
 
250
  }
251
  class_alias('Braintree\Gateway', 'Braintree_Gateway');
212
  return new TransactionGateway($this);
213
  }
214
 
215
+ /**
216
+ *
217
+ * @return TransactionLineItemGateway
218
+ */
219
+ public function transactionLineItem()
220
+ {
221
+ return new TransactionLineItemGateway($this);
222
+ }
223
+
224
  /**
225
  *
226
  * @return TransparentRedirectGateway
239
  return new UsBankAccountGateway($this);
240
  }
241
 
242
+ /**
243
+ *
244
+ * @return UsBankAccountVerificationGateway
245
+ */
246
+ public function usBankAccountVerification()
247
+ {
248
+ return new UsBankAccountVerificationGateway($this);
249
+ }
250
+
251
  /**
252
  *
253
  * @return IdealPaymentGateway
265
  {
266
  return new WebhookNotificationGateway($this);
267
  }
268
+
269
+ /**
270
+ *
271
+ * @return WebhookTestingGateway
272
+ */
273
+ public function webhookTesting()
274
+ {
275
+ return new WebhookTestingGateway($this);
276
+ }
277
  }
278
  class_alias('Braintree\Gateway', 'Braintree_Gateway');
vendor/braintree/braintree_php/lib/Braintree/GrantedPaymentInstrumentUpdate.php ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ namespace Braintree;
3
+
4
+ /**
5
+ * Braintree GrantedPaymentInstrumentUpdate module
6
+ *
7
+ * @package Braintree
8
+ * @category Resources
9
+ */
10
+
11
+ /**
12
+ * Manages Braintree GrantedPaymentInstrumentUpdate
13
+ *
14
+ * <b>== More information ==</b>
15
+ *
16
+ *
17
+ * @package Braintree
18
+ * @category Resources
19
+ *
20
+ * @property-read string $grantOwnerMerchantId
21
+ * @property-read string $grantRecipientMerchantId
22
+ * @property-read string $paymentMethodNonce
23
+ * @property-read string $token
24
+ * @property-read string $updatedFields
25
+ */
26
+ class GrantedPaymentInstrumentUpdate extends Base
27
+ {
28
+ /**
29
+ * factory method: returns an instance of GrantedPaymentInstrumentUpdate
30
+ * to the requesting method, with populated properties
31
+ *
32
+ * @ignore
33
+ * @return GrantedPaymentInstrumentUpdate
34
+ */
35
+ public static function factory($attributes)
36
+ {
37
+ $instance = new self();
38
+ $instance->_initialize($attributes);
39
+ return $instance;
40
+ }
41
+
42
+ /* instance methods */
43
+
44
+ /**
45
+ * sets instance properties from an array of values
46
+ *
47
+ * @access protected
48
+ * @param array $GrantedPaymentInstrumentAttribs array of grantedPaymentInstrumentUpdate data
49
+ * @return void
50
+ */
51
+ protected function _initialize($grantedPaymentInstrumentUpdateAttribs)
52
+ {
53
+ // set the attributes
54
+ $this->_attributes = $grantedPaymentInstrumentUpdateAttribs;
55
+
56
+ $paymentMethodNonce = isset($grantedPaymentInstrumentUpdateAttribs['paymentMethodNonce']) ?
57
+ GrantedPaymentInstrumentUpdate::factory($grantedPaymentInstrumentUpdateAttribs['paymentMethodNonce']) :
58
+ null;
59
+ $this->_set('paymentMethodNonce', $paymentMethodNonce);
60
+ }
61
+
62
+ /**
63
+ * create a printable representation of the object as:
64
+ * ClassName[property=value, property=value]
65
+ * @return string
66
+ */
67
+ public function __toString()
68
+ {
69
+ return __CLASS__ . '[' .
70
+ Util::attributesToString($this->_attributes) . ']';
71
+ }
72
+ }
73
+ class_alias('Braintree\GrantedPaymentInstrumentUpdate', 'Braintree_GrantedPaymentInstrumentUpdate');
{lib → vendor/braintree/braintree_php/lib}/Braintree/Http.php RENAMED
@@ -211,7 +211,8 @@ class Http
211
  }
212
 
213
  // build file parameter
214
- $filePath = call_user_func("end", explode(DIRECTORY_SEPARATOR, $filePath));
 
215
  $filePath = str_replace($disallow, "_", $filePath);
216
  $body[] = implode("\r\n", [
217
  "Content-Disposition: form-data; name=\"file\"; filename=\"{$filePath}\"",
211
  }
212
 
213
  // build file parameter
214
+ $splitFilePath = explode(DIRECTORY_SEPARATOR, $filePath);
215
+ $filePath = end($splitFilePath);
216
  $filePath = str_replace($disallow, "_", $filePath);
217
  $body[] = implode("\r\n", [
218
  "Content-Disposition: form-data; name=\"file\"; filename=\"{$filePath}\"",
{lib → vendor/braintree/braintree_php/lib}/Braintree/IbanBankAccount.php RENAMED
File without changes
{lib → vendor/braintree/braintree_php/lib}/Braintree/IdealPayment.php RENAMED
File without changes
{lib → vendor/braintree/braintree_php/lib}/Braintree/IdealPaymentGateway.php RENAMED
File without changes
{lib → vendor/braintree/braintree_php/lib}/Braintree/Instance.php RENAMED
File without changes
{lib → vendor/braintree/braintree_php/lib}/Braintree/IsNode.php RENAMED
File without changes
{lib → vendor/braintree/braintree_php/lib}/Braintree/KeyValueNode.php RENAMED
File without changes
{lib → vendor/braintree/braintree_php/lib}/Braintree/MasterpassCard.php RENAMED
@@ -7,7 +7,7 @@ namespace Braintree;
7
  *
8
  * <b>== More information ==</b>
9
  *
10
- * For more detailed information on CreditCard verifications, see {@link http://www.braintreepayments.com/gateway/credit-card-verification-api http://www.braintreepaymentsolutions.com/gateway/credit-card-verification-api}
11
  *
12
  * @package Braintree
13
  * @category Resources
7
  *
8
  * <b>== More information ==</b>
9
  *
10
+ * For more detailed information on CreditCard verifications, see {@link https://developers.braintreepayments.com/reference/response/credit-card-verification/php https://developers.braintreepayments.com/reference/response/credit-card-verification/php}
11
  *
12
  * @package Braintree
13
  * @category Resources
{lib → vendor/braintree/braintree_php/lib}/Braintree/Merchant.php RENAMED
File without changes
{lib → vendor/braintree/braintree_php/lib}/Braintree/MerchantAccount.php RENAMED
File without changes
{lib → vendor/braintree/braintree_php/lib}/Braintree/MerchantAccount/AddressDetails.php RENAMED
File without changes
{lib → vendor/braintree/braintree_php/lib}/Braintree/MerchantAccount/BusinessDetails.php RENAMED
File without changes
{lib → vendor/braintree/braintree_php/lib}/Braintree/MerchantAccount/FundingDetails.php RENAMED
File without changes
{lib → vendor/braintree/braintree_php/lib}/Braintree/MerchantAccount/IndividualDetails.php RENAMED
File without changes
{lib → vendor/braintree/braintree_php/lib}/Braintree/MerchantAccountGateway.php RENAMED
File without changes
{lib → vendor/braintree/braintree_php/lib}/Braintree/MerchantGateway.php RENAMED
File without changes
{lib → vendor/braintree/braintree_php/lib}/Braintree/Modification.php RENAMED
File without changes
{lib → vendor/braintree/braintree_php/lib}/Braintree/MultipleValueNode.php RENAMED
File without changes
{lib → vendor/braintree/braintree_php/lib}/Braintree/MultipleValueOrTextNode.php RENAMED
File without changes
vendor/braintree/braintree_php/lib/Braintree/OAuthAccessRevocation.php ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ namespace Braintree;
3
+
4
+ /**
5
+ * Braintree OAuth Revocation module
6
+ *
7
+ * PHP Version 5
8
+ *
9
+ * @package Braintree
10
+ */
11
+ class OAuthAccessRevocation extends Base
12
+ {
13
+ /**
14
+ * @ignore
15
+ */
16
+ public static function factory($attributes)
17
+ {
18
+ $instance = new self();
19
+ $instance->_initialize($attributes);
20
+
21
+ return $instance;
22
+ }
23
+
24
+ /**
25
+ * @ignore
26
+ */
27
+ protected function _initialize($attributes)
28
+ {
29
+ $this->_attributes = $attributes;
30
+ }
31
+ }
32
+ class_alias('Braintree\OAuthAccessRevocation', 'Braintree_OAuthAccessRevocation');
{lib → vendor/braintree/braintree_php/lib}/Braintree/OAuthCredentials.php RENAMED
File without changes
{lib → vendor/braintree/braintree_php/lib}/Braintree/OAuthGateway.php RENAMED
@@ -108,11 +108,13 @@ class OAuthGateway
108
  $query = Util::camelCaseToDelimiterArray($params, '_');
109
  $query['client_id'] = $this->_config->getClientId();
110
  $queryString = preg_replace('/\%5B\d+\%5D/', '%5B%5D', http_build_query($query));
111
- $url = $this->_config->baseUrl() . '/oauth/connect?' . $queryString;
112
 
113
- return $url . '&signature=' . $this->computeSignature($url) . '&algorithm=SHA256';
114
  }
115
 
 
 
 
116
  public function computeSignature($url)
117
  {
118
  $key = hash('sha256', $this->_config->getClientSecret(), true);
108
  $query = Util::camelCaseToDelimiterArray($params, '_');
109
  $query['client_id'] = $this->_config->getClientId();
110
  $queryString = preg_replace('/\%5B\d+\%5D/', '%5B%5D', http_build_query($query));
 
111
 
112
+ return $this->_config->baseUrl() . '/oauth/connect?' . $queryString;
113
  }
114
 
115
+ /**
116
+ * @deprecated since version 3.26.1
117
+ */
118
  public function computeSignature($url)
119
  {
120
  $key = hash('sha256', $this->_config->getClientSecret(), true);
{lib → vendor/braintree/braintree_php/lib}/Braintree/OAuthResult.php RENAMED
File without changes
{lib → vendor/braintree/braintree_php/lib}/Braintree/PaginatedCollection.php RENAMED
File without changes
{lib → vendor/braintree/braintree_php/lib}/Braintree/PaginatedResult.php RENAMED
File without changes
{lib → vendor/braintree/braintree_php/lib}/Braintree/PartialMatchNode.php RENAMED
File without changes
{lib → vendor/braintree/braintree_php/lib}/Braintree/PartnerMerchant.php RENAMED
File without changes
{lib → vendor/braintree/braintree_php/lib}/Braintree/PayPalAccount.php RENAMED
File without changes
{lib → vendor/braintree/braintree_php/lib}/Braintree/PayPalAccountGateway.php RENAMED
File without changes
{lib → vendor/braintree/braintree_php/lib}/Braintree/PaymentInstrumentType.php RENAMED
File without changes
{lib → vendor/braintree/braintree_php/lib}/Braintree/PaymentMethod.php RENAMED
File without changes
{lib → vendor/braintree/braintree_php/lib}/Braintree/PaymentMethodGateway.php RENAMED
@@ -138,12 +138,23 @@ class PaymentMethodGateway
138
  'verificationMerchantAccountId',
139
  'verifyCard',
140
  'verificationAmount',
 
141
  ['paypal' => [
142
  'payee_email',
 
143
  'order_id',
 
144
  'custom_field',
 
145
  'description',
146
  'amount',
 
 
 
 
 
 
 
147
  ]],
148
  ];
149
  return [
@@ -164,7 +175,7 @@ class PaymentMethodGateway
164
 
165
  public static function createSignature()
166
  {
167
- $signature = array_merge(self::baseSignature(), ['customerId']);
168
  return $signature;
169
  }
170
 
@@ -282,11 +293,6 @@ class PaymentMethodGateway
282
  AmexExpressCheckoutCard::factory($response['amexExpressCheckoutCard']),
283
  "paymentMethod"
284
  );
285
- } else if (isset($response['europeBankAccount'])) {
286
- return new Result\Successful(
287
- EuropeBankAccount::factory($response['europeBankAccount']),
288
- "paymentMethod"
289
- );
290
  } else if (isset($response['usBankAccount'])) {
291
  return new Result\Successful(
292
  UsBankAccount::factory($response['usBankAccount']),
138
  'verificationMerchantAccountId',
139
  'verifyCard',
140
  'verificationAmount',
141
+ 'usBankAccountVerificationMethod',
142
  ['paypal' => [
143
  'payee_email',
144
+ 'payeeEmail',
145
  'order_id',
146
+ 'orderId',
147
  'custom_field',
148
+ 'customField',
149
  'description',
150
  'amount',
151
+ ['shipping' =>
152
+ [
153
+ 'firstName', 'lastName', 'company', 'countryName',
154
+ 'countryCodeAlpha2', 'countryCodeAlpha3', 'countryCodeNumeric',
155
+ 'extendedAddress', 'locality', 'postalCode', 'region',
156
+ 'streetAddress'],
157
+ ],
158
  ]],
159
  ];
160
  return [
175
 
176
  public static function createSignature()
177
  {
178
+ $signature = array_merge(self::baseSignature(), ['customerId', 'paypalRefreshToken', 'paypalVaultWithoutUpgrade']);
179
  return $signature;
180
  }
181
 
293
  AmexExpressCheckoutCard::factory($response['amexExpressCheckoutCard']),
294
  "paymentMethod"
295
  );
 
 
 
 
 
296
  } else if (isset($response['usBankAccount'])) {
297
  return new Result\Successful(
298
  UsBankAccount::factory($response['usBankAccount']),
{lib → vendor/braintree/braintree_php/lib}/Braintree/PaymentMethodNonce.php RENAMED
@@ -47,6 +47,10 @@ class PaymentMethodNonce extends Base
47
  if(isset($nonceAttributes['threeDSecureInfo'])) {
48
  $this->_set('threeDSecureInfo', ThreeDSecureInfo::factory($nonceAttributes['threeDSecureInfo']));
49
  }
 
 
 
 
50
  }
51
  }
52
  class_alias('Braintree\PaymentMethodNonce', 'Braintree_PaymentMethodNonce');
47
  if(isset($nonceAttributes['threeDSecureInfo'])) {
48
  $this->_set('threeDSecureInfo', ThreeDSecureInfo::factory($nonceAttributes['threeDSecureInfo']));
49
  }
50
+
51
+ if(isset($nonceAttributes['binData'])) {
52
+ $this->_set('binData', BinData::factory($nonceAttributes['binData']));
53
+ }
54
  }
55
  }
56
  class_alias('Braintree\PaymentMethodNonce', 'Braintree_PaymentMethodNonce');
{lib → vendor/braintree/braintree_php/lib}/Braintree/PaymentMethodNonceGateway.php RENAMED
File without changes
{lib → vendor/braintree/braintree_php/lib}/Braintree/Plan.php RENAMED
File without changes
{lib → vendor/braintree/braintree_php/lib}/Braintree/PlanGateway.php RENAMED
File without changes
{lib → vendor/braintree/braintree_php/lib}/Braintree/RangeNode.php RENAMED
File without changes
{lib → vendor/braintree/braintree_php/lib}/Braintree/ResourceCollection.php RENAMED
File without changes
{lib → vendor/braintree/braintree_php/lib}/Braintree/Result/CreditCardVerification.php RENAMED
File without changes
{lib → vendor/braintree/braintree_php/lib}/Braintree/Result/Error.php RENAMED
File without changes
{lib → vendor/braintree/braintree_php/lib}/Braintree/Result/Successful.php RENAMED
File without changes
vendor/braintree/braintree_php/lib/Braintree/Result/UsBankAccountVerification.php ADDED
@@ -0,0 +1,112 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ namespace Braintree\Result;
3
+
4
+ use Braintree\RiskData;
5
+ use Braintree\Util;
6
+ use Braintree\UsBankAccount;
7
+
8
+ /**
9
+ * Braintree US Bank Account Verification Result
10
+ *
11
+ * This object is returned as part of an Error Result; it provides
12
+ * access to the credit card verification data from the gateway
13
+ *
14
+ *
15
+ * @package Braintree
16
+ * @subpackage Result
17
+ *
18
+ * @property-read string $id
19
+ * @property-read string $status
20
+ * @property-read string $verificationMethod
21
+ * @property-read \DateTime $verificationDeterminedAt
22
+ * @property-read Braintree\UsBankAccount $usBankAccount
23
+ *
24
+ */
25
+ class UsBankAccountVerification
26
+ {
27
+ // Status
28
+ const FAILED = 'failed';
29
+ const GATEWAY_REJECTED = 'gateway_rejected';
30
+ const PROCESSOR_DECLINED = 'processor_declined';
31
+ const VERIFIED = 'verified';
32
+ const PENDING = 'pending';
33
+
34
+ const TOKENIZED_CHECK = 'tokenized_check';
35
+ const NETWORK_CHECK = 'network_check';
36
+ const INDEPENDENT_CHECK = 'independent_check';
37
+ const MICRO_TRANSFERS = 'micro_transfers';
38
+
39
+ private $_attributes;
40
+ private $_gatewayRejectionReason;
41
+ private $_status;
42
+
43
+ /**
44
+ * @ignore
45
+ */
46
+ public function __construct($attributes)
47
+ {
48
+ $this->_initializeFromArray($attributes);
49
+
50
+ $usBankAccount = isset($attributes['usBankAccount']) ?
51
+ UsBankAccount::factory($attributes['usBankAccount']) :
52
+ null;
53
+ $this->usBankAccount = $usBankAccount;
54
+ }
55
+
56
+ /**
57
+ * initializes instance properties from the keys/values of an array
58
+ * @ignore
59
+ * @access protected
60
+ * @param <type> $aAttribs array of properties to set - single level
61
+ * @return void
62
+ */
63
+ private function _initializeFromArray($attributes)
64
+ {
65
+ $this->_attributes = $attributes;
66
+ foreach($attributes AS $name => $value) {
67
+ $varName = "_$name";
68
+ $this->$varName = $value;
69
+ }
70
+ }
71
+
72
+ /**
73
+ * @ignore
74
+ */
75
+ public function __get($name)
76
+ {
77
+ $varName = "_$name";
78
+ return isset($this->$varName) ? $this->$varName : null;
79
+ }
80
+
81
+ /**
82
+ * returns a string representation of the customer
83
+ * @return string
84
+ */
85
+ public function __toString()
86
+ {
87
+ return __CLASS__ . '[' .
88
+ Util::attributesToString($this->_attributes) . ']';
89
+ }
90
+
91
+ public static function allStatuses()
92
+ {
93
+ return [
94
+ UsBankAccountVerification::FAILED,
95
+ UsBankAccountVerification::GATEWAY_REJECTED,
96
+ UsBankAccountVerification::PROCESSOR_DECLINED,
97
+ UsBankAccountVerification::VERIFIED,
98
+ UsBankAccountVerification::PENDING,
99
+ ];
100
+ }
101
+
102
+ public static function allVerificationMethods()
103
+ {
104
+ return [
105
+ UsBankAccountVerification::TOKENIZED_CHECK,
106
+ UsBankAccountVerification::NETWORK_CHECK,
107
+ UsBankAccountVerification::INDEPENDENT_CHECK,
108
+ UsBankAccountVerification::MICRO_TRANSFERS,
109
+ ];
110
+ }
111
+ }
112
+ class_alias('Braintree\Result\UsBankAccountVerification', 'Braintree_Result_UsBankAccountVerification');
{lib → vendor/braintree/braintree_php/lib}/Braintree/RiskData.php RENAMED
File without changes
{lib → vendor/braintree/braintree_php/lib}/Braintree/SettlementBatchSummary.php RENAMED
File without changes
{lib → vendor/braintree/braintree_php/lib}/Braintree/SettlementBatchSummaryGateway.php RENAMED
File without changes
{lib → vendor/braintree/braintree_php/lib}/Braintree/SignatureService.php RENAMED
File without changes
{lib → vendor/braintree/braintree_php/lib}/Braintree/Subscription.php RENAMED
@@ -6,7 +6,7 @@ namespace Braintree;
6
  *
7
  * <b>== More information ==</b>
8
  *
9
- * For more detailed information on Subscriptions, see {@link http://www.braintreepayments.com/gateway/subscription-api http://www.braintreepaymentsolutions.com/gateway/subscription-api}
10
  *
11
  * PHP Version 5
12
  *
@@ -63,6 +63,10 @@ class Subscription extends Base
63
  $this->_set('descriptor', new Descriptor($attributes['descriptor']));
64
  }
65
 
 
 
 
 
66
  $statusHistory = [];
67
  if (isset($attributes['statusHistory'])) {
68
  foreach ($attributes['statusHistory'] AS $history) {
6
  *
7
  * <b>== More information ==</b>
8
  *
9
+ * For more detailed information on Subscriptions, see {@link https://developers.braintreepayments.com/reference/response/subscription/php https://developers.braintreepayments.com/reference/response/subscription/php}
10
  *
11
  * PHP Version 5
12
  *
63
  $this->_set('descriptor', new Descriptor($attributes['descriptor']));
64
  }
65
 
66
+ if (isset($attributes['description'])) {
67
+ $this->_set('description', $attributes['description']);
68
+ }
69
+
70
  $statusHistory = [];
71
  if (isset($attributes['statusHistory'])) {
72
  foreach ($attributes['statusHistory'] AS $history) {
{lib → vendor/braintree/braintree_php/lib}/Braintree/Subscription/StatusDetails.php RENAMED
File without changes
{lib → vendor/braintree/braintree_php/lib}/Braintree/SubscriptionGateway.php RENAMED
@@ -8,7 +8,7 @@ use InvalidArgumentException;
8
  *
9
  * <b>== More information ==</b>
10
  *
11
- * For more detailed information on Subscriptions, see {@link http://www.braintreepayments.com/gateway/subscription-api http://www.braintreepaymentsolutions.com/gateway/subscription-api}
12
  *
13
  * PHP Version 5
14
  *
@@ -136,7 +136,11 @@ class SubscriptionGateway
136
  'trialDurationUnit',
137
  'trialPeriod',
138
  ['descriptor' => ['name', 'phone', 'url']],
139
- ['options' => ['doNotInheritAddOnsOrDiscounts', 'startImmediately']],
 
 
 
 
140
  ],
141
  self::_addOnDiscountSignature()
142
  );
@@ -149,7 +153,12 @@ class SubscriptionGateway
149
  'merchantAccountId', 'numberOfBillingCycles', 'paymentMethodToken', 'planId',
150
  'paymentMethodNonce', 'id', 'neverExpires', 'price',
151
  ['descriptor' => ['name', 'phone', 'url']],
152
- ['options' => ['prorateCharges', 'replaceAllAddOnsAndDiscounts', 'revertSubscriptionOnProrationFailure']],
 
 
 
 
 
153
  ],
154
  self::_addOnDiscountSignature()
155
  );
8
  *
9
  * <b>== More information ==</b>
10
  *
11
+ * For more detailed information on Subscriptions, see {@link https://developers.braintreepayments.com/reference/response/subscription/php https://developers.braintreepayments.com/reference/response/subscription/php}
12
  *
13
  * PHP Version 5
14
  *
136
  'trialDurationUnit',
137
  'trialPeriod',
138
  ['descriptor' => ['name', 'phone', 'url']],
139
+ ['options' => [
140
+ 'doNotInheritAddOnsOrDiscounts',
141
+ 'startImmediately',
142
+ ['paypal' => ['description']]
143
+ ]],
144
  ],
145
  self::_addOnDiscountSignature()
146
  );
153
  'merchantAccountId', 'numberOfBillingCycles', 'paymentMethodToken', 'planId',
154
  'paymentMethodNonce', 'id', 'neverExpires', 'price',
155
  ['descriptor' => ['name', 'phone', 'url']],
156
+ ['options' => [
157
+ 'prorateCharges',
158
+ 'replaceAllAddOnsAndDiscounts',
159
+ 'revertSubscriptionOnProrationFailure',
160
+ ['paypal' => ['description']]
161
+ ]],
162
  ],
163
  self::_addOnDiscountSignature()
164
  );
{lib → vendor/braintree/braintree_php/lib}/Braintree/SubscriptionSearch.php RENAMED
File without changes
{lib → vendor/braintree/braintree_php/lib}/Braintree/Test/CreditCardNumbers.php RENAMED
File without changes
{lib → vendor/braintree/braintree_php/lib}/Braintree/Test/MerchantAccount.php RENAMED
File without changes
{lib → vendor/braintree/braintree_php/lib}/Braintree/Test/Nonces.php RENAMED
File without changes
{lib → vendor/braintree/braintree_php/lib}/Braintree/Test/Transaction.php RENAMED
File without changes
{lib → vendor/braintree/braintree_php/lib}/Braintree/Test/TransactionAmounts.php RENAMED
File without changes
{lib → vendor/braintree/braintree_php/lib}/Braintree/Test/VenmoSdk.php RENAMED
File without changes
{lib → vendor/braintree/braintree_php/lib}/Braintree/TestingGateway.php RENAMED
File without changes
{lib → vendor/braintree/braintree_php/lib}/Braintree/TextNode.php RENAMED
File without changes
{lib → vendor/braintree/braintree_php/lib}/Braintree/ThreeDSecureInfo.php RENAMED
File without changes
{lib → vendor/braintree/braintree_php/lib}/Braintree/Transaction.php RENAMED
@@ -301,14 +301,6 @@ class Transaction extends Base
301
  );
302
  }
303
 
304
- if (isset($transactionAttribs['europeBankAccount'])) {
305
- $this->_set('europeBankAccount',
306
- new Transaction\EuropeBankAccountDetails(
307
- $transactionAttribs['europeBankAccount']
308
- )
309
- );
310
- }
311
-
312
  if (isset($transactionAttribs['usBankAccount'])) {
313
  $this->_set('usBankAccount',
314
  new Transaction\UsBankAccountDetails(
@@ -489,6 +481,11 @@ class Transaction extends Base
489
  return $this->disbursementDetails->isValid();
490
  }
491
 
 
 
 
 
 
492
  /**
493
  * factory method: returns an instance of Transaction
494
  * to the requesting method, with populated properties
301
  );
302
  }
303
 
 
 
 
 
 
 
 
 
304
  if (isset($transactionAttribs['usBankAccount'])) {
305
  $this->_set('usBankAccount',
306
  new Transaction\UsBankAccountDetails(
481
  return $this->disbursementDetails->isValid();
482
  }
483
 
484
+ /** @return line items */
485
+ public function lineItems() {
486
+ return Configuration::gateway()->transactionLineItem()->findAll($this->id);
487
+ }
488
+
489
  /**
490
  * factory method: returns an instance of Transaction
491
  * to the requesting method, with populated properties
{lib → vendor/braintree/braintree_php/lib}/Braintree/Transaction/AddressDetails.php RENAMED
File without changes
{lib → vendor/braintree/braintree_php/lib}/Braintree/Transaction/AmexExpressCheckoutCardDetails.php RENAMED
File without changes
{lib → vendor/braintree/braintree_php/lib}/Braintree/Transaction/AndroidPayCardDetails.php RENAMED
File without changes
{lib → vendor/braintree/braintree_php/lib}/Braintree/Transaction/ApplePayCardDetails.php RENAMED
File without changes
{lib → vendor/braintree/braintree_php/lib}/Braintree/Transaction/CoinbaseDetails.php RENAMED
File without changes
{lib → vendor/braintree/braintree_php/lib}/Braintree/Transaction/CreditCardDetails.php RENAMED
@@ -12,6 +12,7 @@ use Braintree\Instance;
12
  *
13
  * @property-read string $bin
14
  * @property-read string $cardType
 
15
  * @property-read string $expirationDate
16
  * @property-read string $expirationMonth
17
  * @property-read string $expirationYear
12
  *
13
  * @property-read string $bin
14
  * @property-read string $cardType
15
+ * @property-read string $cardholderName
16
  * @property-read string $expirationDate
17
  * @property-read string $expirationMonth
18
  * @property-read string $expirationYear
{lib → vendor/braintree/braintree_php/lib}/Braintree/Transaction/CustomerDetails.php RENAMED
File without changes
{lib → vendor/braintree/braintree_php/lib}/Braintree/Transaction/EuropeBankAccountDetails.php RENAMED
File without changes
{lib → vendor/braintree/braintree_php/lib}/Braintree/Transaction/IdealPaymentDetails.php RENAMED
File without changes
vendor/braintree/braintree_php/lib/Braintree/Transaction/LineItem.php ADDED
@@ -0,0 +1,4 @@
 
 
 
 
1
+ <?php
2
+ namespace Braintree\Transaction;
3
+
4
+ \class_exists('Braintree\TransactionLineItem');
{lib → vendor/braintree/braintree_php/lib}/Braintree/Transaction/MasterpassCardDetails.php RENAMED
File without changes
{lib → vendor/braintree/braintree_php/lib}/Braintree/Transaction/PayPalDetails.php RENAMED
File without changes
{lib → vendor/braintree/braintree_php/lib}/Braintree/Transaction/StatusDetails.php RENAMED
@@ -9,11 +9,11 @@ use Braintree\Instance;
9
  *
10
  * @package Braintree
11
  *
12
- * @property-read string $amount
13
- * @property-read string $status
14
- * @property-read string $timestamp
15
- * @property-read string $transactionSource
16
- * @property-read string $user
17
  */
18
  class StatusDetails extends Instance
19
  {
9
  *
10
  * @package Braintree
11
  *
12
+ * @property-read string $amount
13
+ * @property-read string $status
14
+ * @property-read \DateTime $timestamp
15
+ * @property-read string $transactionSource
16
+ * @property-read string $user
17
  */
18
  class StatusDetails extends Instance
19
  {
{lib → vendor/braintree/braintree_php/lib}/Braintree/Transaction/SubscriptionDetails.php RENAMED
File without changes
{lib → vendor/braintree/braintree_php/lib}/Braintree/Transaction/UsBankAccountDetails.php RENAMED
File without changes
{lib → vendor/braintree/braintree_php/lib}/Braintree/Transaction/VenmoAccountDetails.php RENAMED
File without changes
{lib → vendor/braintree/braintree_php/lib}/Braintree/Transaction/VisaCheckoutCardDetails.php RENAMED
File without changes
{lib → vendor/braintree/braintree_php/lib}/Braintree/TransactionGateway.php RENAMED
@@ -10,7 +10,7 @@ use InvalidArgumentException;
10
  *
11
  * <b>== More information ==</b>
12
  *
13
- * For more detailed information on Transactions, see {@link http://www.braintreepayments.com/gateway/transaction-api http://www.braintreepaymentsolutions.com/gateway/transaction-api}
14
  *
15
  * @package Braintree
16
  * @category Resources
@@ -119,6 +119,7 @@ class TransactionGateway
119
  'recurring',
120
  'serviceFeeAmount',
121
  'sharedPaymentMethodToken',
 
122
  'sharedCustomerId',
123
  'sharedShippingAddressId',
124
  'sharedBillingAddressId',
@@ -129,6 +130,9 @@ class TransactionGateway
129
  'transactionSource',
130
  'type',
131
  'venmoSdkPaymentMethodCode',
 
 
 
132
  ['riskData' =>
133
  ['customerBrowser', 'customerIp', 'customer_browser', 'customer_ip']
134
  ],
@@ -169,6 +173,7 @@ class TransactionGateway
169
  'addBillingAddressToPaymentMethod',
170
  'venmoSdkSession',
171
  'storeShippingAddressInVault',
 
172
  'payeeEmail',
173
  'skipAdvancedFraudChecking',
174
  'skipAvs',
@@ -176,12 +181,13 @@ class TransactionGateway
176
  ['threeDSecure' =>
177
  ['required']
178
  ],
179
- # Included for backwards compatiblity. Remove in the next major version
180
  ['three_d_secure' =>
181
  ['required']
182
  ],
183
  ['paypal' =>
184
  [
 
185
  'payeeEmail',
186
  'customField',
187
  'description',
@@ -195,13 +201,22 @@ class TransactionGateway
195
  'currencyAmount',
196
  'currencyIsoCode'
197
  ]
 
 
 
 
 
 
 
198
  ]
199
  ],
200
  ],
201
  ['customFields' => ['_anyKey_']],
202
  ['descriptor' => ['name', 'phone', 'url']],
203
- ['paypalAccount' => ['payeeEmail']],
204
- ['apple_pay_card' => ['number', 'cardholder_name', 'cryptogram', 'expiration_month', 'expiration_year', 'eci_indicator']], #backwards compatibility
 
 
205
  ['applePayCard' => ['number', 'cardholderName', 'cryptogram', 'expirationMonth', 'expirationYear', 'eciIndicator']],
206
  ['industry' =>
207
  ['industryType',
@@ -219,7 +234,8 @@ class TransactionGateway
219
  ]
220
  ]
221
  ]
222
- ]
 
223
  ];
224
  }
225
 
@@ -308,7 +324,7 @@ class TransactionGateway
308
  *
309
  * If <b>query</b> is a string, the search will be a basic search.
310
  * If <b>query</b> is a hash, the search will be an advanced search.
311
- * For more detailed information and examples, see {@link http://www.braintreepayments.com/gateway/transaction-api#searching http://www.braintreepaymentsolutions.com/gateway/transaction-api}
312
  *
313
  * @param mixed $query search query
314
  * @param array $options options such as page number
10
  *
11
  * <b>== More information ==</b>
12
  *
13
+ * For more detailed information on Transactions, see {@link https://developers.braintreepayments.com/reference/response/transaction/php https://developers.braintreepayments.com/reference/response/transaction/php}
14
  *
15
  * @package Braintree
16
  * @category Resources
119
  'recurring',
120
  'serviceFeeAmount',
121
  'sharedPaymentMethodToken',
122
+ 'sharedPaymentMethodNonce',
123
  'sharedCustomerId',
124
  'sharedShippingAddressId',
125
  'sharedBillingAddressId',
130
  'transactionSource',
131
  'type',
132
  'venmoSdkPaymentMethodCode',
133
+ 'shippingAmount',
134
+ 'discountAmount',
135
+ 'shipsFromPostalCode',
136
  ['riskData' =>
137
  ['customerBrowser', 'customerIp', 'customer_browser', 'customer_ip']
138
  ],
173
  'addBillingAddressToPaymentMethod',
174
  'venmoSdkSession',
175
  'storeShippingAddressInVault',
176
+ 'payeeId',
177
  'payeeEmail',
178
  'skipAdvancedFraudChecking',
179
  'skipAvs',
181
  ['threeDSecure' =>
182
  ['required']
183
  ],
184
+ # TODO: Snake case version included for backwards compatiblity. Remove in the next major version
185
  ['three_d_secure' =>
186
  ['required']
187
  ],
188
  ['paypal' =>
189
  [
190
+ 'payeeId',
191
  'payeeEmail',
192
  'customField',
193
  'description',
201
  'currencyAmount',
202
  'currencyIsoCode'
203
  ]
204
+ ],
205
+ ['venmo' =>
206
+ [
207
+ # TODO: Snake case version included for backwards compatiblity. Remove in the next major version
208
+ 'profile_id',
209
+ 'profileId'
210
+ ]
211
  ]
212
  ],
213
  ],
214
  ['customFields' => ['_anyKey_']],
215
  ['descriptor' => ['name', 'phone', 'url']],
216
+ ['paypalAccount' => ['payeeId', 'payeeEmail']],
217
+ # TODO: Snake case version included for backwards compatiblity. Remove in the next major version
218
+ ['apple_pay_card' => ['number', 'cardholder_name', 'cryptogram', 'expiration_month', 'expiration_year', 'eci_indicator']],
219
+
220
  ['applePayCard' => ['number', 'cardholderName', 'cryptogram', 'expirationMonth', 'expirationYear', 'eciIndicator']],
221
  ['industry' =>
222
  ['industryType',
234
  ]
235
  ]
236
  ]
237
+ ],
238
+ ['lineItems' => ['quantity', 'name', 'description', 'kind', 'unitAmount', 'unitTaxAmount', 'totalAmount', 'discountAmount', 'taxAmount', 'unitOfMeasure', 'productCode', 'commodityCode', 'url']],
239
  ];
240
  }
241
 
324
  *
325
  * If <b>query</b> is a string, the search will be a basic search.
326
  * If <b>query</b> is a hash, the search will be an advanced search.
327
+ * For more detailed information and examples, see {@link https://developers.braintreepayments.com/reference/request/transaction/search/php https://developers.braintreepayments.com/reference/request/transaction/search/php}
328
  *
329
  * @param mixed $query search query
330
  * @param array $options options such as page number
vendor/braintree/braintree_php/lib/Braintree/TransactionLineItem.php ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ namespace Braintree;
3
+
4
+ use Braintree\Instance;
5
+
6
+ /**
7
+ * Line item associated with a transaction
8
+ *
9
+ * @package Braintree
10
+ */
11
+
12
+ /**
13
+ * creates an instance of TransactionLineItem
14
+ *
15
+ *
16
+ * @package Braintree
17
+ *
18
+ * @property-read string $quantity
19
+ * @property-read string $name
20
+ * @property-read string $description
21
+ * @property-read string $kind
22
+ * @property-read string $unitAmount
23
+ * @property-read string $unitTaxAmount
24
+ * @property-read string $totalAmount
25
+ * @property-read string $discountAmount
26
+ * @property-read string $unitOfMeasure
27
+ * @property-read string $productCode
28
+ * @property-read string $commodityCode
29
+ * @property-read string $url
30
+ */
31
+ class TransactionLineItem extends Instance
32
+ {
33
+ // LineItem Kinds
34
+ const CREDIT = 'credit';
35
+ const DEBIT = 'debit';
36
+
37
+ protected $_attributes = [];
38
+
39
+ /**
40
+ * @ignore
41
+ */
42
+ public function __construct($attributes)
43
+ {
44
+ parent::__construct($attributes);
45
+ }
46
+
47
+ public static function findAll($transactionId)
48
+ {
49
+ return Configuration::gateway()->transactionLineItem()->findAll($transactionId);
50
+ }
51
+ }
52
+ class_alias('Braintree\TransactionLineItem', 'Braintree_TransactionLineItem');
53
+ class_alias('Braintree\TransactionLineItem', 'Braintree\Transaction\LineItem');
54
+ class_alias('Braintree\TransactionLineItem', 'Braintree_Transaction_LineItem');
vendor/braintree/braintree_php/lib/Braintree/TransactionLineItemGateway.php ADDED
@@ -0,0 +1,67 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ namespace Braintree;
3
+
4
+ use InvalidArgumentException;
5
+
6
+ /**
7
+ * Braintree TransactionLineItemGateway processor
8
+ * Creates and manages transaction line items
9
+ *
10
+ * @package Braintree
11
+ * @category Resources
12
+ */
13
+
14
+ class TransactionLineItemGateway
15
+ {
16
+ private $_gateway;
17
+ private $_config;
18
+ private $_http;
19
+
20
+ public function __construct($gateway)
21
+ {
22
+ $this->_gateway = $gateway;
23
+ $this->_config = $gateway->config;
24
+ $this->_config->assertHasAccessTokenOrKeys();
25
+ $this->_http = new Http($gateway->config);
26
+ }
27
+
28
+ /**
29
+ * @access public
30
+ * @param string id
31
+ * @return Transaction
32
+ */
33
+ public function findAll($id)
34
+ {
35
+ $this->_validateId($id);
36
+ try {
37
+ $path = $this->_config->merchantPath() . '/transactions/' . $id . '/line_items';
38
+ $response = $this->_http->get($path);
39
+
40
+ $lineItems = [];
41
+ if (isset($response['lineItems'])) {
42
+ foreach ($response['lineItems'] AS $lineItem) {
43
+ $lineItems[] = new TransactionLineItem($lineItem);
44
+ }
45
+ }
46
+ return $lineItems;
47
+ } catch (Exception\NotFound $e) {
48
+ throw new Exception\NotFound('transaction line items with id ' . $id . ' not found');
49
+ }
50
+ }
51
+
52
+ /**
53
+ * verifies that a valid transaction id is being used
54
+ * @ignore
55
+ * @param string transaction id
56
+ * @throws InvalidArgumentException
57
+ */
58
+ private function _validateId($id = null) {
59
+ if (empty($id)) {
60
+ throw new InvalidArgumentException('expected transaction id to be set');
61
+ }
62
+ if (!preg_match('/^[0-9a-z]+$/', $id)) {
63
+ throw new InvalidArgumentException($id . ' is an invalid transaction id.');
64
+ }
65
+ }
66
+ }
67
+ class_alias('Braintree\TransactionLineItemGateway', 'Braintree_TransactionLineItemGateway');
{lib → vendor/braintree/braintree_php/lib}/Braintree/TransactionSearch.php RENAMED
File without changes
{lib → vendor/braintree/braintree_php/lib}/Braintree/TransparentRedirect.php RENAMED
File without changes
{lib → vendor/braintree/braintree_php/lib}/Braintree/TransparentRedirectGateway.php RENAMED
File without changes
{lib → vendor/braintree/braintree_php/lib}/Braintree/UnknownPaymentMethod.php RENAMED
File without changes
{lib → vendor/braintree/braintree_php/lib}/Braintree/UsBankAccount.php RENAMED
@@ -28,6 +28,7 @@ namespace Braintree;
28
  * @property-read string $bankName
29
  * @property-read string $achMandate
30
  * @property-read string $default
 
31
  */
32
  class UsBankAccount extends Base
33
  {
@@ -63,6 +64,18 @@ class UsBankAccount extends Base
63
  AchMandate::factory($usBankAccountAttribs['achMandate']) :
64
  null;
65
  $this->_set('achMandate', $achMandate);
 
 
 
 
 
 
 
 
 
 
 
 
66
  }
67
 
68
  /**
@@ -76,6 +89,15 @@ class UsBankAccount extends Base
76
  Util::attributesToString($this->_attributes) . ']';
77
  }
78
 
 
 
 
 
 
 
 
 
 
79
 
80
  // static methods redirecting to gateway
81
 
28
  * @property-read string $bankName
29
  * @property-read string $achMandate
30
  * @property-read string $default
31
+ * @property-read boolean $verified
32
  */
33
  class UsBankAccount extends Base
34
  {
64
  AchMandate::factory($usBankAccountAttribs['achMandate']) :
65
  null;
66
  $this->_set('achMandate', $achMandate);
67
+
68
+ if (isset($usBankAccountAttribs['verifications'])) {
69
+ $verification_records = $usBankAccountAttribs['verifications'];
70
+
71
+ $verifications = array();
72
+ for ($i = 0; $i < count($verification_records); $i++) {
73
+ $verifications[$i] = UsBankAccountVerification::factory($verification_records[$i]);
74
+ }
75
+ $this->_set('verifications', $verifications);
76
+ } else {
77
+ $this->_set('verifications', null);
78
+ }
79
  }
80
 
81
  /**
89
  Util::attributesToString($this->_attributes) . ']';
90
  }
91
 
92
+ /**
93
+ * returns false if default is null or false
94
+ *
95
+ * @return boolean
96
+ */
97
+ public function isDefault()
98
+ {
99
+ return $this->default;
100
+ }
101
 
102
  // static methods redirecting to gateway
103
 
{lib → vendor/braintree/braintree_php/lib}/Braintree/UsBankAccountGateway.php RENAMED
File without changes
vendor/braintree/braintree_php/lib/Braintree/UsBankAccountVerification.php ADDED
@@ -0,0 +1,102 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ namespace Braintree;
3
+
4
+ /**
5
+ * Braintree UsBankAccountVerification module
6
+ *
7
+ * @package Braintree
8
+ * @category Resources
9
+ */
10
+
11
+ /**
12
+ * Manages Braintree UsBankAccountVerifications
13
+ *
14
+ * <b>== More information ==</b>
15
+ *
16
+ *
17
+ * @package Braintree
18
+ * @category Resources
19
+ *
20
+ */
21
+ class UsBankAccountVerification extends Result\UsBankAccountVerification
22
+ {
23
+ /**
24
+ * factory method: returns an instance of UsBankAccountVerification
25
+ * to the requesting method, with populated properties
26
+ *
27
+ * @ignore
28
+ * @return UsBankAccountVerification
29
+ */
30
+ public static function factory($attributes)
31
+ {
32
+ $instance = new self($attributes);
33
+ $instance->_initialize($attributes);
34
+ return $instance;
35
+ }
36
+
37
+ /* instance methods */
38
+
39
+ /**
40
+ * sets instance properties from an array of values
41
+ *
42
+ * @access protected
43
+ * @param array $usBankAccountVerificationAttribs array of usBankAccountVerification data
44
+ * @return void
45
+ */
46
+ protected function _initialize($usBankAccountVerificationAttribs)
47
+ {
48
+ // set the attributes
49
+ $this->_attributes = $usBankAccountVerificationAttribs;
50
+ }
51
+
52
+ /**
53
+ * create a printable representation of the object as:
54
+ * ClassName[property=value, property=value]
55
+ * @return string
56
+ */
57
+ public function __toString()
58
+ {
59
+ return __CLASS__ . '[' . Util::attributesToString($this->_attributes) . ']';
60
+ }
61
+
62
+
63
+ // static methods redirecting to gateway
64
+
65
+ /**
66
+ * finds a US bank account verification
67
+ *
68
+ * @access public
69
+ * @param string $token unique id
70
+ * @return UsBankAccountVerification
71
+ */
72
+ public static function find($token)
73
+ {
74
+ return Configuration::gateway()->usBankAccountVerification()->find($token);
75
+ }
76
+
77
+ /**
78
+ * Returns a ResourceCollection of US bank account verifications matching the search query.
79
+ *
80
+ * @access public
81
+ * @param mixed $query search query
82
+ * @return ResourceCollection
83
+ */
84
+ public static function search($query)
85
+ {
86
+ return Configuration::gateway()->usBankAccountVerification()->search($query);
87
+ }
88
+
89
+ /**
90
+ * Returns a ResourceCollection of US bank account verifications matching the search query.
91
+ *
92
+ * @access public
93
+ * @param string $token unique id
94
+ * @param array $amounts micro transfer amounts
95
+ * @return ResourceCollection
96
+ */
97
+ public static function confirmMicroTransferAmounts($token, $amounts)
98
+ {
99
+ return Configuration::gateway()->usBankAccountVerification()->confirmMicroTransferAmounts($token, $amounts);
100
+ }
101
+ }
102
+ class_alias('Braintree\UsBankAccountVerification', 'Braintree_UsBankAccountVerification');
vendor/braintree/braintree_php/lib/Braintree/UsBankAccountVerificationGateway.php ADDED
@@ -0,0 +1,129 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ namespace Braintree;
3
+
4
+ use InvalidArgumentException;
5
+
6
+ /**
7
+ * Braintree UsBankAccountVerificationGateway module
8
+ *
9
+ * @package Braintree
10
+ * @category Resources
11
+ */
12
+
13
+ /**
14
+ * Manages Braintree UsBankAccountVerifications
15
+ *
16
+ * <b>== More information ==</b>
17
+ *
18
+ *
19
+ * @package Braintree
20
+ * @category Resources
21
+ */
22
+ class UsBankAccountVerificationGateway
23
+ {
24
+ private $_gateway;
25
+ private $_config;
26
+ private $_http;
27
+
28
+ public function __construct($gateway)
29
+ {
30
+ $this->_gateway = $gateway;
31
+ $this->_config = $gateway->config;
32
+ $this->_config->assertHasAccessTokenOrKeys();
33
+ $this->_http = new Http($gateway->config);
34
+ }
35
+
36
+ /**
37
+ * find a usBankAccountVerification by token
38
+ *
39
+ * @access public
40
+ * @param string $token unique id
41
+ * @return UsBankAccountVerification
42
+ * @throws Exception\NotFound
43
+ */
44
+ public function find($token)
45
+ {
46
+ try {
47
+ $path = $this->_config->merchantPath() . '/us_bank_account_verifications/' . $token;
48
+ $response = $this->_http->get($path);
49
+ return UsBankAccountVerification::factory($response['usBankAccountVerification']);
50
+ } catch (Exception\NotFound $e) {
51
+ throw new Exception\NotFound(
52
+ 'US bank account with token ' . $token . ' not found'
53
+ );
54
+ }
55
+ }
56
+
57
+ public function search($query)
58
+ {
59
+ $criteria = [];
60
+ foreach ($query as $term) {
61
+ $criteria[$term->name] = $term->toparam();
62
+ }
63
+
64
+ $path = $this->_config->merchantPath() . '/us_bank_account_verifications/advanced_search_ids';
65
+ $response = $this->_http->post($path, ['search' => $criteria]);
66
+ $pager = [
67
+ 'object' => $this,
68
+ 'method' => 'fetch',
69
+ 'methodArgs' => [$query]
70
+ ];
71
+
72
+ return new ResourceCollection($response, $pager);
73
+ }
74
+
75
+ /**
76
+ * complete micro transfer verification by confirming the transfer amounts
77
+ *
78
+ * @access public
79
+ * @param string $token unique id
80
+ * @param array $amounts amounts deposited in micro transfer
81
+ * @return UsBankAccountVerification
82
+ * @throws Exception\Unexpected
83
+ */
84
+ public function confirmMicroTransferAmounts($token, $amounts)
85
+ {
86
+ try {
87
+ $path = $this->_config->merchantPath() . '/us_bank_account_verifications/' . $token . '/confirm_micro_transfer_amounts';
88
+ $response = $this->_http->put($path, [
89
+ "us_bank_account_verification" => ["deposit_amounts" => $amounts]
90
+ ]);
91
+ return $this->_verifyGatewayResponse($response);
92
+ } catch (Exception\Unexpected $e) {
93
+ throw new Exception\Unexpected(
94
+ 'Unexpected exception.'
95
+ );
96
+ }
97
+ }
98
+
99
+ /**
100
+ * generic method for validating incoming gateway responses
101
+ *
102
+ * creates a new UsBankAccountVerification object and encapsulates
103
+ * it inside a Result\Successful object, or
104
+ * encapsulates a Errors object inside a Result\Error
105
+ * alternatively, throws an Unexpected exception if the response is invalid.
106
+ *
107
+ * @ignore
108
+ * @param array $response gateway response values
109
+ * @return Result\Successful|Result\Error
110
+ * @throws Exception\Unexpected
111
+ */
112
+ private function _verifyGatewayResponse($response)
113
+ {
114
+ if (isset($response['apiErrorResponse'])) {
115
+ return new Result\Error($response['apiErrorResponse']);
116
+ } else if (isset($response['usBankAccountVerification'])) {
117
+ // return a populated instance of UsBankAccountVerification
118
+ return new Result\Successful(
119
+ UsBankAccountVerification::factory($response['usBankAccountVerification'])
120
+ );
121
+ } else {
122
+ throw new Exception\Unexpected(
123
+ 'Expected US bank account or apiErrorResponse'
124
+ );
125
+ }
126
+ }
127
+ }
128
+
129
+ class_alias('Braintree\UsBankAccountVerificationGateway', 'Braintree_UsBankAccountVerificationGateway');
vendor/braintree/braintree_php/lib/Braintree/UsBankAccountVerificationSearch.php ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ namespace Braintree;
3
+
4
+ class UsBankAccountVerificationSearch
5
+ {
6
+ public static function accountHolderName() {
7
+ return new TextNode('account_holder_name');
8
+ }
9
+
10
+ public static function customerEmail() {
11
+ return new TextNode('customer_email');
12
+ }
13
+
14
+ public static function customerId() {
15
+ return new TextNode('customer_id');
16
+ }
17
+
18
+ public static function id() {
19
+ return new TextNode('id');
20
+ }
21
+
22
+ public static function paymentMethodToken(){
23
+ return new TextNode('payment_method_token');
24
+ }
25
+
26
+ public static function routingNumber() {
27
+ return new TextNode('routiner_number');
28
+ }
29
+
30
+ public static function ids() {
31
+ return new MultipleValueNode('ids');
32
+ }
33
+
34
+ public static function status()
35
+ {
36
+ return new MultipleValueNode(
37
+ "status",
38
+ Result\UsBankAccountVerification::allStatuses()
39
+ );
40
+ }
41
+
42
+ public static function verificationMethod()
43
+ {
44
+ return new MultipleValueNode(
45
+ "verification_method",
46
+ Result\UsBankAccountVerification::allVerificationMethods()
47
+ );
48
+ }
49
+
50
+ public static function createdAt() {
51
+ return new RangeNode("created_at");
52
+ }
53
+
54
+ public static function accountType()
55
+ {
56
+ return new EqualityNode("account_type");
57
+ }
58
+
59
+ public static function accountNumber()
60
+ {
61
+ return new EndsWithNode("account_number");
62
+ }
63
+ }
64
+ class_alias('Braintree\UsBankAccountVerificationSearch', 'Braintree_UsBankAccountVerificationSearch');
{lib → vendor/braintree/braintree_php/lib}/Braintree/Util.php RENAMED
@@ -167,6 +167,8 @@ class Util
167
  'Braintree_PayPalAccount' => 'paypalAccount',
168
  'Braintree\PayPalAccountGateway' => 'paypalAccount',
169
  'Braintree_PayPalAccountGateway' => 'paypalAccount',
 
 
170
  ];
171
 
172
  return $classNamesToResponseKeys[$name];
@@ -208,12 +210,11 @@ class Util
208
  */
209
  public static function delimiterToCamelCase($string, $delimiter = '[\-\_]')
210
  {
211
- // php doesn't garbage collect functions created by create_function()
212
- // so use a static variable to avoid adding a new function to memory
213
- // every time this function is called.
214
  static $callback = null;
215
  if ($callback === null) {
216
- $callback = create_function('$matches', 'return strtoupper($matches[1]);');
 
 
217
  }
218
 
219
  return preg_replace_callback('/' . $delimiter . '(\w)/', $callback, $string);
167
  'Braintree_PayPalAccount' => 'paypalAccount',
168
  'Braintree\PayPalAccountGateway' => 'paypalAccount',
169
  'Braintree_PayPalAccountGateway' => 'paypalAccount',
170
+ 'Braintree\UsBankAccountVerification' => 'usBankAccountVerification',
171
+ 'Braintree_UsBankAccountVerification' => 'usBankAccountVerification',
172
  ];
173
 
174
  return $classNamesToResponseKeys[$name];
210
  */
211
  public static function delimiterToCamelCase($string, $delimiter = '[\-\_]')
212
  {
 
 
 
213
  static $callback = null;
214
  if ($callback === null) {
215
+ $callback = function ($matches) {
216
+ return strtoupper($matches[1]);
217
+ };
218
  }
219
 
220
  return preg_replace_callback('/' . $delimiter . '(\w)/', $callback, $string);
{lib → vendor/braintree/braintree_php/lib}/Braintree/VenmoAccount.php RENAMED
File without changes
{lib → vendor/braintree/braintree_php/lib}/Braintree/Version.php RENAMED
@@ -11,7 +11,7 @@ class Version
11
  * class constants
12
  */
13
  const MAJOR = 3;
14
- const MINOR = 25;
15
  const TINY = 0;
16
 
17
  /**
11
  * class constants
12
  */
13
  const MAJOR = 3;
14
+ const MINOR = 34;
15
  const TINY = 0;
16
 
17
  /**
{lib → vendor/braintree/braintree_php/lib}/Braintree/VisaCheckoutCard.php RENAMED
@@ -7,7 +7,7 @@ namespace Braintree;
7
  *
8
  * <b>== More information ==</b>
9
  *
10
- * For more detailed information on CreditCard verifications, see {@link http://www.braintreepayments.com/gateway/credit-card-verification-api http://www.braintreepaymentsolutions.com/gateway/credit-card-verification-api}
11
  *
12
  * @package Braintree
13
  * @category Resources
7
  *
8
  * <b>== More information ==</b>
9
  *
10
+ * For more detailed information on CreditCard verifications, see {@link https://developers.braintreepayments.com/reference/response/credit-card-verification/php https://developers.braintreepayments.com/reference/response/credit-card-verification/php}
11
  *
12
  * @package Braintree
13
  * @category Resources
{lib → vendor/braintree/braintree_php/lib}/Braintree/WebhookNotification.php RENAMED
@@ -23,12 +23,14 @@ class WebhookNotification extends Base
23
  const PARTNER_MERCHANT_CONNECTED = 'partner_merchant_connected';
24
  const PARTNER_MERCHANT_DISCONNECTED = 'partner_merchant_disconnected';
25
  const PARTNER_MERCHANT_DECLINED = 'partner_merchant_declined';
 
26
  const CHECK = 'check';
27
  const ACCOUNT_UPDATER_DAILY_REPORT = 'account_updater_daily_report';
28
  const CONNECTED_MERCHANT_STATUS_TRANSITIONED = 'connected_merchant_status_transitioned';
29
  const CONNECTED_MERCHANT_PAYPAL_STATUS_CHANGED = 'connected_merchant_paypal_status_changed';
30
  const IDEAL_PAYMENT_COMPLETE = 'ideal_payment_complete';
31
  const IDEAL_PAYMENT_FAILED = 'ideal_payment_failed';
 
32
 
33
  public static function parse($signature, $payload) {
34
  return Configuration::gateway()->webhookNotification()->parse($signature, $payload);
@@ -49,6 +51,10 @@ class WebhookNotification extends Base
49
  {
50
  $this->_attributes = $attributes;
51
 
 
 
 
 
52
  if (isset($attributes['subject']['apiErrorResponse'])) {
53
  $wrapperNode = $attributes['subject']['apiErrorResponse'];
54
  } else {
@@ -75,6 +81,10 @@ class WebhookNotification extends Base
75
  $this->_set('partnerMerchant', PartnerMerchant::factory($wrapperNode['partnerMerchant']));
76
  }
77
 
 
 
 
 
78
  if (isset($wrapperNode['connectedMerchantStatusTransitioned'])) {
79
  $this->_set('connectedMerchantStatusTransitioned', ConnectedMerchantStatusTransitioned::factory($wrapperNode['connectedMerchantStatusTransitioned']));
80
  }
@@ -95,6 +105,10 @@ class WebhookNotification extends Base
95
  $this->_set('idealPayment', IdealPayment::factory($wrapperNode['idealPayment']));
96
  }
97
 
 
 
 
 
98
  if (isset($wrapperNode['errors'])) {
99
  $this->_set('errors', new Error\ValidationErrorCollection($wrapperNode['errors']));
100
  $this->_set('message', $wrapperNode['message']);
23
  const PARTNER_MERCHANT_CONNECTED = 'partner_merchant_connected';
24
  const PARTNER_MERCHANT_DISCONNECTED = 'partner_merchant_disconnected';
25
  const PARTNER_MERCHANT_DECLINED = 'partner_merchant_declined';
26
+ const OAUTH_ACCESS_REVOKED = 'oauth_access_revoked';
27
  const CHECK = 'check';
28
  const ACCOUNT_UPDATER_DAILY_REPORT = 'account_updater_daily_report';
29
  const CONNECTED_MERCHANT_STATUS_TRANSITIONED = 'connected_merchant_status_transitioned';
30
  const CONNECTED_MERCHANT_PAYPAL_STATUS_CHANGED = 'connected_merchant_paypal_status_changed';
31
  const IDEAL_PAYMENT_COMPLETE = 'ideal_payment_complete';
32
  const IDEAL_PAYMENT_FAILED = 'ideal_payment_failed';
33
+ const GRANTED_PAYMENT_INSTRUMENT_UPDATE = 'granted_payment_instrument_update';
34
 
35
  public static function parse($signature, $payload) {
36
  return Configuration::gateway()->webhookNotification()->parse($signature, $payload);
51
  {
52
  $this->_attributes = $attributes;
53
 
54
+ if (!isset($attributes['sourceMerchantId'])) {
55
+ $this->_set('sourceMerchantId', null);
56
+ }
57
+
58
  if (isset($attributes['subject']['apiErrorResponse'])) {
59
  $wrapperNode = $attributes['subject']['apiErrorResponse'];
60
  } else {
81
  $this->_set('partnerMerchant', PartnerMerchant::factory($wrapperNode['partnerMerchant']));
82
  }
83
 
84
+ if (isset($wrapperNode['oauthApplicationRevocation'])) {
85
+ $this->_set('oauthAccessRevocation', OAuthAccessRevocation::factory($wrapperNode['oauthApplicationRevocation']));
86
+ }
87
+
88
  if (isset($wrapperNode['connectedMerchantStatusTransitioned'])) {
89
  $this->_set('connectedMerchantStatusTransitioned', ConnectedMerchantStatusTransitioned::factory($wrapperNode['connectedMerchantStatusTransitioned']));
90
  }
105
  $this->_set('idealPayment', IdealPayment::factory($wrapperNode['idealPayment']));
106
  }
107
 
108
+ if (isset($wrapperNode['grantedPaymentInstrumentUpdate'])) {
109
+ $this->_set('grantedPaymentInstrumentUpdate', GrantedPaymentInstrumentUpdate::factory($wrapperNode['grantedPaymentInstrumentUpdate']));
110
+ }
111
+
112
  if (isset($wrapperNode['errors'])) {
113
  $this->_set('errors', new Error\ValidationErrorCollection($wrapperNode['errors']));
114
  $this->_set('message', $wrapperNode['message']);
{lib → vendor/braintree/braintree_php/lib}/Braintree/WebhookNotificationGateway.php RENAMED
@@ -12,6 +12,14 @@ class WebhookNotificationGateway
12
 
13
  public function parse($signature, $payload)
14
  {
 
 
 
 
 
 
 
 
15
  if (preg_match("/[^A-Za-z0-9+=\/\n]/", $payload) === 1) {
16
  throw new Exception\InvalidSignature("payload contains illegal characters");
17
  }
@@ -28,14 +36,14 @@ class WebhookNotificationGateway
28
  if (!preg_match('/^[a-f0-9]{20,32}$/', $challenge)) {
29
  throw new Exception\InvalidChallenge("challenge contains non-hex characters");
30
  }
31
- $publicKey = $this->config->publicKey();
32
- $digest = Digest::hexDigestSha1($this->config->privateKey(), $challenge);
33
  return "{$publicKey}|{$digest}";
34
  }
35
 
36
  private function _payloadMatches($signature, $payload)
37
  {
38
- $payloadSignature = Digest::hexDigestSha1($this->config->privateKey(), $payload);
39
  return Digest::secureCompare($signature, $payloadSignature);
40
  }
41
 
@@ -57,7 +65,7 @@ class WebhookNotificationGateway
57
  foreach ($signaturePairs as $pair)
58
  {
59
  $components = preg_split("/\|/", $pair);
60
- if ($components[0] == $this->config->publicKey()) {
61
  return $components[1];
62
  }
63
  }
12
 
13
  public function parse($signature, $payload)
14
  {
15
+ if (is_null($signature)) {
16
+ throw new Exception\InvalidSignature("signature cannot be null");
17
+ }
18
+
19
+ if (is_null($payload)) {
20
+ throw new Exception\InvalidSignature("payload cannot be null");
21
+ }
22
+
23
  if (preg_match("/[^A-Za-z0-9+=\/\n]/", $payload) === 1) {
24
  throw new Exception\InvalidSignature("payload contains illegal characters");
25
  }
36
  if (!preg_match('/^[a-f0-9]{20,32}$/', $challenge)) {
37
  throw new Exception\InvalidChallenge("challenge contains non-hex characters");
38
  }
39
+ $publicKey = $this->config->getPublicKey();
40
+ $digest = Digest::hexDigestSha1($this->config->getPrivateKey(), $challenge);
41
  return "{$publicKey}|{$digest}";
42
  }
43
 
44
  private function _payloadMatches($signature, $payload)
45
  {
46
+ $payloadSignature = Digest::hexDigestSha1($this->config->getPrivateKey(), $payload);
47
  return Digest::secureCompare($signature, $payloadSignature);
48
  }
49
 
65
  foreach ($signaturePairs as $pair)
66
  {
67
  $components = preg_split("/\|/", $pair);
68
+ if ($components[0] == $this->config->getPublicKey()) {
69
  return $components[1];
70
  }
71
  }
vendor/braintree/braintree_php/lib/Braintree/WebhookTesting.php ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ namespace Braintree;
3
+
4
+ class WebhookTesting
5
+ {
6
+ public static function sampleNotification($kind, $id, $sourceMerchantId = null)
7
+ {
8
+ return Configuration::gateway()->webhookTesting()->sampleNotification($kind, $id, $sourceMerchantId);
9
+ }
10
+ }
11
+ class_alias('Braintree\WebhookTesting', 'Braintree_WebhookTesting');
lib/Braintree/WebhookTesting.php → vendor/braintree/braintree_php/lib/Braintree/WebhookTestingGateway.php RENAMED
@@ -1,12 +1,20 @@
1
  <?php
2
  namespace Braintree;
3
 
4
- class WebhookTesting
5
  {
6
- public static function sampleNotification($kind, $id)
 
7
  {
8
- $payload = base64_encode(self::_sampleXml($kind, $id)) . "\n";
9
- $signature = Configuration::publicKey() . "|" . Digest::hexDigestSha1(Configuration::privateKey(), $payload);
 
 
 
 
 
 
 
10
 
11
  return [
12
  'bt_signature' => $signature,
@@ -14,7 +22,7 @@ class WebhookTesting
14
  ];
15
  }
16
 
17
- private static function _sampleXml($kind, $id)
18
  {
19
  switch ($kind) {
20
  case WebhookNotification::SUB_MERCHANT_ACCOUNT_APPROVED:
@@ -47,6 +55,9 @@ class WebhookTesting
47
  case WebhookNotification::PARTNER_MERCHANT_DECLINED:
48
  $subjectXml = self::_partnerMerchantDeclinedSampleXml($id);
49
  break;
 
 
 
50
  case WebhookNotification::CONNECTED_MERCHANT_STATUS_TRANSITIONED:
51
  $subjectXml = self::_connectedMerchantStatusTransitionedSampleXml($id);
52
  break;
@@ -77,15 +88,25 @@ class WebhookTesting
77
  case WebhookNotification::IDEAL_PAYMENT_FAILED:
78
  $subjectXml = self::_idealPaymentFailedSampleXml($id);
79
  break;
 
 
 
80
  default:
81
  $subjectXml = self::_subscriptionSampleXml($id);
82
  break;
83
  }
84
  $timestamp = self::_timestamp();
 
 
 
 
 
 
85
  return "
86
  <notification>
87
  <timestamp type=\"datetime\">{$timestamp}</timestamp>
88
  <kind>{$kind}</kind>
 
89
  <subject>{$subjectXml}</subject>
90
  </notification>
91
  ";
@@ -244,6 +265,8 @@ class WebhookTesting
244
  return "
245
  <dispute>
246
  <amount>250.00</amount>
 
 
247
  <currency-iso-code>USD</currency-iso-code>
248
  <received-date type=\"date\">2014-03-01</received-date>
249
  <reply-by-date type=\"date\">2014-03-21</reply-by-date>
@@ -265,6 +288,8 @@ class WebhookTesting
265
  return "
266
  <dispute>
267
  <amount>250.00</amount>
 
 
268
  <currency-iso-code>USD</currency-iso-code>
269
  <received-date type=\"date\">2014-03-01</received-date>
270
  <reply-by-date type=\"date\">2014-03-21</reply-by-date>
@@ -287,6 +312,8 @@ class WebhookTesting
287
  return "
288
  <dispute>
289
  <amount>250.00</amount>
 
 
290
  <currency-iso-code>USD</currency-iso-code>
291
  <received-date type=\"date\">2014-03-01</received-date>
292
  <reply-by-date type=\"date\">2014-03-21</reply-by-date>
@@ -378,6 +405,16 @@ class WebhookTesting
378
  ";
379
  }
380
 
 
 
 
 
 
 
 
 
 
 
381
  private static function _accountUpdaterDailyReportSampleXml($id)
382
  {
383
  return "
@@ -444,6 +481,26 @@ class WebhookTesting
444
  ";
445
  }
446
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
447
  private static function _timestamp()
448
  {
449
  $originalZone = date_default_timezone_get();
@@ -454,4 +511,4 @@ class WebhookTesting
454
  return $timestamp;
455
  }
456
  }
457
- class_alias('Braintree\WebhookTesting', 'Braintree_WebhookTesting');
1
  <?php
2
  namespace Braintree;
3
 
4
+ class WebhookTestingGateway
5
  {
6
+
7
+ public function __construct($gateway)
8
  {
9
+ $this->config = $gateway->config;
10
+ $this->config->assertHasAccessTokenOrKeys();
11
+ }
12
+
13
+ public function sampleNotification($kind, $id, $sourceMerchantId = null)
14
+ {
15
+ $xml = self::_sampleXml($kind, $id, $sourceMerchantId);
16
+ $payload = base64_encode($xml) . "\n";
17
+ $signature = $this->config->getPublicKey() . "|" . Digest::hexDigestSha1($this->config->getPrivateKey(), $payload);
18
 
19
  return [
20
  'bt_signature' => $signature,
22
  ];
23
  }
24
 
25
+ private static function _sampleXml($kind, $id, $sourceMerchantId)
26
  {
27
  switch ($kind) {
28
  case WebhookNotification::SUB_MERCHANT_ACCOUNT_APPROVED:
55
  case WebhookNotification::PARTNER_MERCHANT_DECLINED:
56
  $subjectXml = self::_partnerMerchantDeclinedSampleXml($id);
57
  break;
58
+ case WebhookNotification::OAUTH_ACCESS_REVOKED:
59
+ $subjectXml = self::_oauthAccessRevocationSampleXml($id);
60
+ break;
61
  case WebhookNotification::CONNECTED_MERCHANT_STATUS_TRANSITIONED:
62
  $subjectXml = self::_connectedMerchantStatusTransitionedSampleXml($id);
63
  break;
88
  case WebhookNotification::IDEAL_PAYMENT_FAILED:
89
  $subjectXml = self::_idealPaymentFailedSampleXml($id);
90
  break;
91
+ case WebhookNotification::GRANTED_PAYMENT_INSTRUMENT_UPDATE:
92
+ $subjectXml = self::_grantedPaymentInstrumentUpdateSampleXml();
93
+ break;
94
  default:
95
  $subjectXml = self::_subscriptionSampleXml($id);
96
  break;
97
  }
98
  $timestamp = self::_timestamp();
99
+
100
+ $sourceMerchantIdXml = '';
101
+ if (!is_null($sourceMerchantId)) {
102
+ $sourceMerchantIdXml = "<source-merchant-id>{$sourceMerchantId}</source-merchant-id>";
103
+ }
104
+
105
  return "
106
  <notification>
107
  <timestamp type=\"datetime\">{$timestamp}</timestamp>
108
  <kind>{$kind}</kind>
109
+ {$sourceMerchantIdXml}
110
  <subject>{$subjectXml}</subject>
111
  </notification>
112
  ";
265
  return "
266
  <dispute>
267
  <amount>250.00</amount>
268
+ <amount-disputed>250.0</amount-disputed>
269
+ <amount-won>245.00</amount-won>
270
  <currency-iso-code>USD</currency-iso-code>
271
  <received-date type=\"date\">2014-03-01</received-date>
272
  <reply-by-date type=\"date\">2014-03-21</reply-by-date>
288
  return "
289
  <dispute>
290
  <amount>250.00</amount>
291
+ <amount-disputed>250.0</amount-disputed>
292
+ <amount-won>245.00</amount-won>
293
  <currency-iso-code>USD</currency-iso-code>
294
  <received-date type=\"date\">2014-03-01</received-date>
295
  <reply-by-date type=\"date\">2014-03-21</reply-by-date>
312
  return "
313
  <dispute>
314
  <amount>250.00</amount>
315
+ <amount-disputed>250.0</amount-disputed>
316
+ <amount-won>245.00</amount-won>
317
  <currency-iso-code>USD</currency-iso-code>
318
  <received-date type=\"date\">2014-03-01</received-date>
319
  <reply-by-date type=\"date\">2014-03-21</reply-by-date>
405
  ";
406
  }
407
 
408
+ private static function _oauthAccessRevocationSampleXml($id)
409
+ {
410
+ return "
411
+ <oauth-application-revocation>
412
+ <merchant-id>{$id}</merchant-id>
413
+ <oauth-application-client-id>oauth_application_client_id</oauth-application-client-id>
414
+ </oauth-application-revocation>
415
+ ";
416
+ }
417
+
418
  private static function _accountUpdaterDailyReportSampleXml($id)
419
  {
420
  return "
481
  ";
482
  }
483
 
484
+ private static function _grantedPaymentInstrumentUpdateSampleXml()
485
+ {
486
+ return "
487
+ <granted-payment-instrument-update>
488
+ <grant-owner-merchant-id>vczo7jqrpwrsi2px</grant-owner-merchant-id>
489
+ <grant-recipient-merchant-id>cf0i8wgarszuy6hc</grant-recipient-merchant-id>
490
+ <payment-method-nonce>
491
+ <nonce>ee257d98-de40-47e8-96b3-a6954ea7a9a4</nonce>
492
+ <consumed type='boolean'>false</consumed>
493
+ <locked type='boolean'>false</locked>
494
+ </payment-method-nonce>
495
+ <token>abc123z</token>
496
+ <updated-fields type='array'>
497
+ <item>expiration-month</item>
498
+ <item>expiration-year</item>
499
+ </updated-fields>
500
+ </granted-payment-instrument-update>
501
+ ";
502
+ }
503
+
504
  private static function _timestamp()
505
  {
506
  $originalZone = date_default_timezone_get();
511
  return $timestamp;
512
  }
513
  }
514
+ class_alias('Braintree\WebhookTestingGateway', 'Braintree_WebhookTestingGateway');
{lib → vendor/braintree/braintree_php/lib}/Braintree/Xml.php RENAMED
File without changes
{lib → vendor/braintree/braintree_php/lib}/Braintree/Xml/Generator.php RENAMED
File without changes
{lib → vendor/braintree/braintree_php/lib}/Braintree/Xml/Parser.php RENAMED
File without changes
{lib → vendor/braintree/braintree_php/lib}/autoload.php RENAMED
File without changes
vendor/braintree/braintree_php/lib/ssl/api_braintreegateway_com.ca.crt ADDED
@@ -0,0 +1,241 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ -----BEGIN CERTIFICATE-----
2
+ MIIE0zCCA7ugAwIBAgIQGNrRniZ96LtKIVjNzGs7SjANBgkqhkiG9w0BAQUFADCB
3
+ yjELMAkGA1UEBhMCVVMxFzAVBgNVBAoTDlZlcmlTaWduLCBJbmMuMR8wHQYDVQQL
4
+ ExZWZXJpU2lnbiBUcnVzdCBOZXR3b3JrMTowOAYDVQQLEzEoYykgMjAwNiBWZXJp
5
+ U2lnbiwgSW5jLiAtIEZvciBhdXRob3JpemVkIHVzZSBvbmx5MUUwQwYDVQQDEzxW
6
+ ZXJpU2lnbiBDbGFzcyAzIFB1YmxpYyBQcmltYXJ5IENlcnRpZmljYXRpb24gQXV0
7
+ aG9yaXR5IC0gRzUwHhcNMDYxMTA4MDAwMDAwWhcNMzYwNzE2MjM1OTU5WjCByjEL
8
+ MAkGA1UEBhMCVVMxFzAVBgNVBAoTDlZlcmlTaWduLCBJbmMuMR8wHQYDVQQLExZW
9
+ ZXJpU2lnbiBUcnVzdCBOZXR3b3JrMTowOAYDVQQLEzEoYykgMjAwNiBWZXJpU2ln
10
+ biwgSW5jLiAtIEZvciBhdXRob3JpemVkIHVzZSBvbmx5MUUwQwYDVQQDEzxWZXJp
11
+ U2lnbiBDbGFzcyAzIFB1YmxpYyBQcmltYXJ5IENlcnRpZmljYXRpb24gQXV0aG9y
12
+ aXR5IC0gRzUwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCvJAgIKXo1
13
+ nmAMqudLO07cfLw8RRy7K+D+KQL5VwijZIUVJ/XxrcgxiV0i6CqqpkKzj/i5Vbex
14
+ t0uz/o9+B1fs70PbZmIVYc9gDaTY3vjgw2IIPVQT60nKWVSFJuUrjxuf6/WhkcIz
15
+ SdhDY2pSS9KP6HBRTdGJaXvHcPaz3BJ023tdS1bTlr8Vd6Gw9KIl8q8ckmcY5fQG
16
+ BO+QueQA5N06tRn/Arr0PO7gi+s3i+z016zy9vA9r911kTMZHRxAy3QkGSGT2RT+
17
+ rCpSx4/VBEnkjWNHiDxpg8v+R70rfk/Fla4OndTRQ8Bnc+MUCH7lP59zuDMKz10/
18
+ NIeWiu5T6CUVAgMBAAGjgbIwga8wDwYDVR0TAQH/BAUwAwEB/zAOBgNVHQ8BAf8E
19
+ BAMCAQYwbQYIKwYBBQUHAQwEYTBfoV2gWzBZMFcwVRYJaW1hZ2UvZ2lmMCEwHzAH
20
+ BgUrDgMCGgQUj+XTGoasjY5rw8+AatRIGCx7GS4wJRYjaHR0cDovL2xvZ28udmVy
21
+ aXNpZ24uY29tL3ZzbG9nby5naWYwHQYDVR0OBBYEFH/TZafC3ey78DAJ80M5+gKv
22
+ MzEzMA0GCSqGSIb3DQEBBQUAA4IBAQCTJEowX2LP2BqYLz3q3JktvXf2pXkiOOzE
23
+ p6B4Eq1iDkVwZMXnl2YtmAl+X6/WzChl8gGqCBpH3vn5fJJaCGkgDdk+bW48DW7Y
24
+ 5gaRQBi5+MHt39tBquCWIMnNZBU4gcmU7qKEKQsTb47bDN0lAtukixlE0kF6BWlK
25
+ WE9gyn6CagsCqiUXObXbf+eEZSqVir2G3l6BFoMtEMze/aiCKm0oHw0LxOXnGiYZ
26
+ 4fQRbxC1lfznQgUy286dUV4otp6F01vvpX1FQHKOtw5rDgb7MzVIcbidJ4vEZV8N
27
+ hnacRHr2lVz2XTIIM6RUthg/aFzyQkqFOFSDX9HoLPKsEdao7WNq
28
+ -----END CERTIFICATE-----
29
+ -----BEGIN CERTIFICATE-----
30
+ MIIDuDCCAqCgAwIBAgIQDPCOXAgWpa1Cf/DrJxhZ0DANBgkqhkiG9w0BAQUFADBI
31
+ MQswCQYDVQQGEwJVUzEgMB4GA1UEChMXU2VjdXJlVHJ1c3QgQ29ycG9yYXRpb24x
32
+ FzAVBgNVBAMTDlNlY3VyZVRydXN0IENBMB4XDTA2MTEwNzE5MzExOFoXDTI5MTIz
33
+ MTE5NDA1NVowSDELMAkGA1UEBhMCVVMxIDAeBgNVBAoTF1NlY3VyZVRydXN0IENv
34
+ cnBvcmF0aW9uMRcwFQYDVQQDEw5TZWN1cmVUcnVzdCBDQTCCASIwDQYJKoZIhvcN
35
+ AQEBBQADggEPADCCAQoCggEBAKukgeWVzfX2FI7CT8rU4niVWJxB4Q2ZQCQXOZEz
36
+ Zum+4YOvYlyJ0fwkW2Gz4BERQRwdbvC4u/jep4G6pkjGnx29vo6pQT64lO0pGtSO
37
+ 0gMdA+9tDWccV9cGrcrI9f4Or2YlSASWC12juhbDCE/RRvgUXPLIXgGZbf2IzIao
38
+ wW8xQmxSPmjL8xk037uHGFaAJsTQ3MBv396gwpEWoGQRS0S8Hvbn+mPeZqx2pHGj
39
+ 7DaUaHp3pLHnDi+BeuK1cobvomuL8A/b01k/unK8RCSc43Oz969XL0Imnal0ugBS
40
+ 8kvNU3xHCzaFDmapCJcWNFfBZveA4+1wVMeT4C4oFVmHursCAwEAAaOBnTCBmjAT
41
+ BgkrBgEEAYI3FAIEBh4EAEMAQTALBgNVHQ8EBAMCAYYwDwYDVR0TAQH/BAUwAwEB
42
+ /zAdBgNVHQ4EFgQUQjK2FvoE/f5dS3rD/fdMQB1aQ68wNAYDVR0fBC0wKzApoCeg
43
+ JYYjaHR0cDovL2NybC5zZWN1cmV0cnVzdC5jb20vU1RDQS5jcmwwEAYJKwYBBAGC
44
+ NxUBBAMCAQAwDQYJKoZIhvcNAQEFBQADggEBADDtT0rhWDpSclu1pqNlGKa7UTt3
45
+ 6Z3q059c4EVlew3KW+JwULKUBRSuSceNQQcSc5R+DCMh/bwQf2AQWnL1mA6s7Ll/
46
+ 3XpvXdMc9P+IBWlCqQVxyLesJugutIxq/3HcuLHfmbx8IVQr5Fiiu1cprp6poxkm
47
+ D5kuCLDv/WnPmRoJjeOnnyvJNjR7JLN4TJUXpAYmHrZkUjZfYGfZnMUFdAvnZyPS
48
+ CPyI6a6Lf+Ew9Dd+/cYy2i2eRDAwbO4H3tI0/NL/QPZL9GZGBlSm8jIKYyYwa5vR
49
+ 3ItHuuG51WLQoqD0ZwV4KWMabwTW+MZMo5qxN7SN5ShLHZ4swrhovO0C7jE=
50
+ -----END CERTIFICATE-----
51
+ -----BEGIN CERTIFICATE-----
52
+ MIIDxTCCAq2gAwIBAgIBADANBgkqhkiG9w0BAQsFADCBgzELMAkGA1UEBhMCVVMx
53
+ EDAOBgNVBAgTB0FyaXpvbmExEzARBgNVBAcTClNjb3R0c2RhbGUxGjAYBgNVBAoT
54
+ EUdvRGFkZHkuY29tLCBJbmMuMTEwLwYDVQQDEyhHbyBEYWRkeSBSb290IENlcnRp
55
+ ZmljYXRlIEF1dGhvcml0eSAtIEcyMB4XDTA5MDkwMTAwMDAwMFoXDTM3MTIzMTIz
56
+ NTk1OVowgYMxCzAJBgNVBAYTAlVTMRAwDgYDVQQIEwdBcml6b25hMRMwEQYDVQQH
57
+ EwpTY290dHNkYWxlMRowGAYDVQQKExFHb0RhZGR5LmNvbSwgSW5jLjExMC8GA1UE
58
+ AxMoR28gRGFkZHkgUm9vdCBDZXJ0aWZpY2F0ZSBBdXRob3JpdHkgLSBHMjCCASIw
59
+ DQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAL9xYgjx+lk09xvJGKP3gElY6SKD
60
+ E6bFIEMBO4Tx5oVJnyfq9oQbTqC023CYxzIBsQU+B07u9PpPL1kwIuerGVZr4oAH
61
+ /PMWdYA5UXvl+TW2dE6pjYIT5LY/qQOD+qK+ihVqf94Lw7YZFAXK6sOoBJQ7Rnwy
62
+ DfMAZiLIjWltNowRGLfTshxgtDj6AozO091GB94KPutdfMh8+7ArU6SSYmlRJQVh
63
+ GkSBjCypQ5Yj36w6gZoOKcUcqeldHraenjAKOc7xiID7S13MMuyFYkMlNAJWJwGR
64
+ tDtwKj9useiciAF9n9T521NtYJ2/LOdYq7hfRvzOxBsDPAnrSTFcaUaz4EcCAwEA
65
+ AaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAOBgNVHQ8BAf8EBAMCAQYwHQYDVR0OBBYE
66
+ FDqahQcQZyi27/a9BUFuIMGU2g/eMA0GCSqGSIb3DQEBCwUAA4IBAQCZ21151fmX
67
+ WWcDYfF+OwYxdS2hII5PZYe096acvNjpL9DbWu7PdIxztDhC2gV7+AJ1uP2lsdeu
68
+ 9tfeE8tTEH6KRtGX+rcuKxGrkLAngPnon1rpN5+r5N9ss4UXnT3ZJE95kTXWXwTr
69
+ gIOrmgIttRD02JDHBHNA7XIloKmf7J6raBKZV8aPEjoJpL1E/QYVN8Gb5DKj7Tjo
70
+ 2GTzLH4U/ALqn83/B2gX2yKQOC16jdFU8WnjXzPKej17CuPKf1855eJ1usV2GDPO
71
+ LPAvTK33sefOT6jEm0pUBsV/fdUID+Ic/n4XuKxe9tQWskMJDE32p2u0mYRlynqI
72
+ 4uJEvlz36hz1
73
+ -----END CERTIFICATE-----
74
+ -----BEGIN CERTIFICATE-----
75
+ MIIDtzCCAp+gAwIBAgIQDOfg5RfYRv6P5WD8G/AwOTANBgkqhkiG9w0BAQUFADBl
76
+ MQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3
77
+ d3cuZGlnaWNlcnQuY29tMSQwIgYDVQQDExtEaWdpQ2VydCBBc3N1cmVkIElEIFJv
78
+ b3QgQ0EwHhcNMDYxMTEwMDAwMDAwWhcNMzExMTEwMDAwMDAwWjBlMQswCQYDVQQG
79
+ EwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3d3cuZGlnaWNl
80
+ cnQuY29tMSQwIgYDVQQDExtEaWdpQ2VydCBBc3N1cmVkIElEIFJvb3QgQ0EwggEi
81
+ MA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCtDhXO5EOAXLGH87dg+XESpa7c
82
+ JpSIqvTO9SA5KFhgDPiA2qkVlTJhPLWxKISKityfCgyDF3qPkKyK53lTXDGEKvYP
83
+ mDI2dsze3Tyoou9q+yHyUmHfnyDXH+Kx2f4YZNISW1/5WBg1vEfNoTb5a3/UsDg+
84
+ wRvDjDPZ2C8Y/igPs6eD1sNuRMBhNZYW/lmci3Zt1/GiSw0r/wty2p5g0I6QNcZ4
85
+ VYcgoc/lbQrISXwxmDNsIumH0DJaoroTghHtORedmTpyoeb6pNnVFzF1roV9Iq4/
86
+ AUaG9ih5yLHa5FcXxH4cDrC0kqZWs72yl+2qp/C3xag/lRbQ/6GW6whfGHdPAgMB
87
+ AAGjYzBhMA4GA1UdDwEB/wQEAwIBhjAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQW
88
+ BBRF66Kv9JLLgjEtUYunpyGd823IDzAfBgNVHSMEGDAWgBRF66Kv9JLLgjEtUYun
89
+ pyGd823IDzANBgkqhkiG9w0BAQUFAAOCAQEAog683+Lt8ONyc3pklL/3cmbYMuRC
90
+ dWKuh+vy1dneVrOfzM4UKLkNl2BcEkxY5NM9g0lFWJc1aRqoR+pWxnmrEthngYTf
91
+ fwk8lOa4JiwgvT2zKIn3X/8i4peEH+ll74fg38FnSbNd67IJKusm7Xi+fT8r87cm
92
+ NW1fiQG2SVufAQWbqz0lwcy2f8Lxb4bG+mRo64EtlOtCt/qMHt1i8b5QZ7dsvfPx
93
+ H2sMNgcWfzd8qVttevESRmCD1ycEvkvOl77DZypoEd+A5wwzZr8TDRRu838fYxAe
94
+ +o0bJW1sj6W3YQGx0qMmoRBxna3iw/nDmVG3KwcIzi7mULKn+gpFL6Lw8g==
95
+ -----END CERTIFICATE-----
96
+ -----BEGIN CERTIFICATE-----
97
+ MIIDrzCCApegAwIBAgIQCDvgVpBCRrGhdWrJWZHHSjANBgkqhkiG9w0BAQUFADBh
98
+ MQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3
99
+ d3cuZGlnaWNlcnQuY29tMSAwHgYDVQQDExdEaWdpQ2VydCBHbG9iYWwgUm9vdCBD
100
+ QTAeFw0wNjExMTAwMDAwMDBaFw0zMTExMTAwMDAwMDBaMGExCzAJBgNVBAYTAlVT
101
+ MRUwEwYDVQQKEwxEaWdpQ2VydCBJbmMxGTAXBgNVBAsTEHd3dy5kaWdpY2VydC5j
102
+ b20xIDAeBgNVBAMTF0RpZ2lDZXJ0IEdsb2JhbCBSb290IENBMIIBIjANBgkqhkiG
103
+ 9w0BAQEFAAOCAQ8AMIIBCgKCAQEA4jvhEXLeqKTTo1eqUKKPC3eQyaKl7hLOllsB
104
+ CSDMAZOnTjC3U/dDxGkAV53ijSLdhwZAAIEJzs4bg7/fzTtxRuLWZscFs3YnFo97
105
+ nh6Vfe63SKMI2tavegw5BmV/Sl0fvBf4q77uKNd0f3p4mVmFaG5cIzJLv07A6Fpt
106
+ 43C/dxC//AH2hdmoRBBYMql1GNXRor5H4idq9Joz+EkIYIvUX7Q6hL+hqkpMfT7P
107
+ T19sdl6gSzeRntwi5m3OFBqOasv+zbMUZBfHWymeMr/y7vrTC0LUq7dBMtoM1O/4
108
+ gdW7jVg/tRvoSSiicNoxBN33shbyTApOB6jtSj1etX+jkMOvJwIDAQABo2MwYTAO
109
+ BgNVHQ8BAf8EBAMCAYYwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUA95QNVbR
110
+ TLtm8KPiGxvDl7I90VUwHwYDVR0jBBgwFoAUA95QNVbRTLtm8KPiGxvDl7I90VUw
111
+ DQYJKoZIhvcNAQEFBQADggEBAMucN6pIExIK+t1EnE9SsPTfrgT1eXkIoyQY/Esr
112
+ hMAtudXH/vTBH1jLuG2cenTnmCmrEbXjcKChzUyImZOMkXDiqw8cvpOp/2PV5Adg
113
+ 06O/nVsJ8dWO41P0jmP6P6fbtGbfYmbW0W5BjfIttep3Sp+dWOIrWcBAI+0tKIJF
114
+ PnlUkiaY4IBIqDfv8NZ5YBberOgOzW6sRBc4L0na4UU+Krk2U886UAb3LujEV0ls
115
+ YSEY1QSteDwsOoBrp+uvFRTp2InBuThs4pFsiv9kuXclVzDAGySj4dzp30d8tbQk
116
+ CAUw7C29C79Fv1C5qfPrmAESrciIxpg0X40KPMbp1ZWVbd4=
117
+ -----END CERTIFICATE-----
118
+ -----BEGIN CERTIFICATE-----
119
+ MIIDxTCCAq2gAwIBAgIQAqxcJmoLQJuPC3nyrkYldzANBgkqhkiG9w0BAQUFADBs
120
+ MQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3
121
+ d3cuZGlnaWNlcnQuY29tMSswKQYDVQQDEyJEaWdpQ2VydCBIaWdoIEFzc3VyYW5j
122
+ ZSBFViBSb290IENBMB4XDTA2MTExMDAwMDAwMFoXDTMxMTExMDAwMDAwMFowbDEL
123
+ MAkGA1UEBhMCVVMxFTATBgNVBAoTDERpZ2lDZXJ0IEluYzEZMBcGA1UECxMQd3d3
124
+ LmRpZ2ljZXJ0LmNvbTErMCkGA1UEAxMiRGlnaUNlcnQgSGlnaCBBc3N1cmFuY2Ug
125
+ RVYgUm9vdCBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMbM5XPm
126
+ +9S75S0tMqbf5YE/yc0lSbZxKsPVlDRnogocsF9ppkCxxLeyj9CYpKlBWTrT3JTW
127
+ PNt0OKRKzE0lgvdKpVMSOO7zSW1xkX5jtqumX8OkhPhPYlG++MXs2ziS4wblCJEM
128
+ xChBVfvLWokVfnHoNb9Ncgk9vjo4UFt3MRuNs8ckRZqnrG0AFFoEt7oT61EKmEFB
129
+ Ik5lYYeBQVCmeVyJ3hlKV9Uu5l0cUyx+mM0aBhakaHPQNAQTXKFx01p8VdteZOE3
130
+ hzBWBOURtCmAEvF5OYiiAhF8J2a3iLd48soKqDirCmTCv2ZdlYTBoSUeh10aUAsg
131
+ EsxBu24LUTi4S8sCAwEAAaNjMGEwDgYDVR0PAQH/BAQDAgGGMA8GA1UdEwEB/wQF
132
+ MAMBAf8wHQYDVR0OBBYEFLE+w2kD+L9HAdSYJhoIAu9jZCvDMB8GA1UdIwQYMBaA
133
+ FLE+w2kD+L9HAdSYJhoIAu9jZCvDMA0GCSqGSIb3DQEBBQUAA4IBAQAcGgaX3Nec
134
+ nzyIZgYIVyHbIUf4KmeqvxgydkAQV8GK83rZEWWONfqe/EW1ntlMMUu4kehDLI6z
135
+ eM7b41N5cdblIZQB2lWHmiRk9opmzN6cN82oNLFpmyPInngiK3BD41VHMWEZ71jF
136
+ hS9OMPagMRYjyOfiZRYzy78aG6A9+MpeizGLYAiJLQwGXFK3xPkKmNEVX58Svnw2
137
+ Yzi9RKR/5CYrCsSXaQ3pjOLAEFe4yHYSkVXySGnYvCoCWw9E1CAx2/S6cCZdkGCe
138
+ vEsXCS+0yx5DaMkHJ8HSXPfqIbloEpw8nL+e/IBcm2PN7EeqJSdnoDfzAIJ9VNep
139
+ +OkuE6N36B9K
140
+ -----END CERTIFICATE-----
141
+ -----BEGIN CERTIFICATE-----
142
+ MIIFaDCCA1CgAwIBAgIBATANBgkqhkiG9w0BAQUFADBFMQswCQYDVQQGEwJVUzEW
143
+ MBQGA1UEChMNR2VvVHJ1c3QgSW5jLjEeMBwGA1UEAxMVR2VvVHJ1c3QgVW5pdmVy
144
+ c2FsIENBMB4XDTA0MDMwNDA1MDAwMFoXDTI5MDMwNDA1MDAwMFowRTELMAkGA1UE
145
+ BhMCVVMxFjAUBgNVBAoTDUdlb1RydXN0IEluYy4xHjAcBgNVBAMTFUdlb1RydXN0
146
+ IFVuaXZlcnNhbCBDQTCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBAKYV
147
+ VaCjxuAfjJ0hUNfBvitbtaSeodlyWL0AG0y/YckUHUWCq8YdgNY96xCcOq9tJPi8
148
+ cQGeBvV8Xx7BDlXKg5pZMK4ZyzBIle0iN430SppyZj6tlcDgFgDgEB8rMQ7XlFTT
149
+ QjOgNB0eRXbdT8oYN+yFFXoZCPzVx5zw8qkuEKmS5j1YPakWaDwvdSEYfyh3peFh
150
+ F7em6fgemdtzbvQKoiFs7tqqhZJmr/Z6a4LauiIINQ/PQvE1+mrufislzDoR5G2v
151
+ c7J2Ha3QsnhnGqQ5HFELZ1aD/ThdDc7d8Lsrlh/eezJS/R27tQahsiFepdaVaH/w
152
+ mZ7cRQg+59IJDTWU3YBOU5fXtQlEIGQWFwMCTFMNaN7VqnJNk22CDtucvc+081xd
153
+ VHppCZbW2xHBjXWotM85yM48vCR85mLK4b19p71XZQvk/iXttmkQ3CgaRr0BHdCX
154
+ teGYO8A3ZNY9lO4L4fUorgtWv3GLIylBjobFS1J72HGrH4oVpjuDWtdYAVHGTEHZ
155
+ f9hBZ3KiKN9gg6meyHv8U3NyWfWTehd2Ds735VzZC1U0oqpbtWpU5xPKV+yXbfRe
156
+ Bi9Fi1jUIxaS5BZuKGNZMN9QAZxjiRqf2xeUgnA3wySemkfWWspOqGmJch+RbNt+
157
+ nhutxx9z3SxPGWX9f5NAEC7S8O08ni4oPmkmM8V7AgMBAAGjYzBhMA8GA1UdEwEB
158
+ /wQFMAMBAf8wHQYDVR0OBBYEFNq7LqqwDLiIJlF0XG0D08DYj3rWMB8GA1UdIwQY
159
+ MBaAFNq7LqqwDLiIJlF0XG0D08DYj3rWMA4GA1UdDwEB/wQEAwIBhjANBgkqhkiG
160
+ 9w0BAQUFAAOCAgEAMXjmx7XfuJRAyXHEqDXsRh3ChfMoWIawC/yOsjmPRFWrZIRc
161
+ aanQmjg8+uUfNeVE44B5lGiku8SfPeE0zTBGi1QrlaXv9z+ZhP015s8xxtxqv6fX
162
+ IwjhmF7DWgh2qaavdy+3YL1ERmrvl/9zlcGO6JP7/TG37FcREUWbMPEaiDnBTzyn
163
+ ANXH/KttgCJwpQzgXQQpAvvLoJHRfNbDflDVnVi+QTjruXU8FdmbyUqDWcDaU/0z
164
+ uzYYm4UPFd3uLax2k7nZAY1IEKj79TiG8dsKxr2EoyNB3tZ3b4XUhRxQ4K5RirqN
165
+ Pnbiucon8l+f725ZDQbYKxek0nxru18UGkiPGkzns0ccjkxFKyDuSN/n3QmOGKja
166
+ QI2SJhFTYXNd673nxE0pN2HrrDktZy4W1vUAg4WhzH92xH3kt0tm7wNFYGm2DFKW
167
+ koRepqO1pD4r2czYG0eq8kTaT/kD6PAUyz/zg97QwVTjt+gKN02LIFkDMBmhLMi9
168
+ ER/frslKxfMnZmaGrGiR/9nmUxwPi1xpZQomyB40w11Re9epnAahNt3ViZS82eQt
169
+ DF4JbAiXfKM9fJP/P6EUp8+1Xevb2xzEdt+Iub1FBZUbrvxGakyvSOPOrg/Sfuvm
170
+ bJxPgWp6ZKy7PtXny3YuxadIwVyQD8vIP/rmMuGNG2+k5o7Y+SlIis5z/iw=
171
+ -----END CERTIFICATE-----
172
+ -----BEGIN CERTIFICATE-----
173
+ MIIDVDCCAjygAwIBAgIDAjRWMA0GCSqGSIb3DQEBBQUAMEIxCzAJBgNVBAYTAlVT
174
+ MRYwFAYDVQQKEw1HZW9UcnVzdCBJbmMuMRswGQYDVQQDExJHZW9UcnVzdCBHbG9i
175
+ YWwgQ0EwHhcNMDIwNTIxMDQwMDAwWhcNMjIwNTIxMDQwMDAwWjBCMQswCQYDVQQG
176
+ EwJVUzEWMBQGA1UEChMNR2VvVHJ1c3QgSW5jLjEbMBkGA1UEAxMSR2VvVHJ1c3Qg
177
+ R2xvYmFsIENBMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA2swYYzD9
178
+ 9BcjGlZ+W988bDjkcbd4kdS8odhM+KhDtgPpTSEHCIjaWC9mOSm9BXiLnTjoBbdq
179
+ fnGk5sRgprDvgOSJKA+eJdbtg/OtppHHmMlCGDUUna2YRpIuT8rxh0PBFpVXLVDv
180
+ iS2Aelet8u5fa9IAjbkU+BQVNdnARqN7csiRv8lVK83Qlz6cJmTM386DGXHKTubU
181
+ 1XupGc1V3sjs0l44U+VcT4wt/lAjNvxm5suOpDkZALeVAjmRCw7+OC7RHQWa9k0+
182
+ bw8HHa8sHo9gOeL6NlMTOdReJivbPagUvTLrGAMoUgRx5aszPeE4uwc2hGKceeoW
183
+ MPRfwCvocWvk+QIDAQABo1MwUTAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQWBBTA
184
+ ephojYn7qwVkDBF9qn1luMrMTjAfBgNVHSMEGDAWgBTAephojYn7qwVkDBF9qn1l
185
+ uMrMTjANBgkqhkiG9w0BAQUFAAOCAQEANeMpauUvXVSOKVCUn5kaFOSPeCpilKIn
186
+ Z57QzxpeR+nBsqTP3UEaBU6bS+5Kb1VSsyShNwrrZHYqLizz/Tt1kL/6cdjHPTfS
187
+ tQWVYrmm3ok9Nns4d0iXrKYgjy6myQzCsplFAMfOEVEiIuCl6rYVSAlk6l5PdPcF
188
+ PseKUgzbFbS9bZvlxrFUaKnjaZC2mqUPuLk/IH2uSrW4nOQdtqvmlKXBx4Ot2/Un
189
+ hw4EbNX/3aBd7YdStysVAq45pmp06drE57xNNB6pXE0zX5IJL4hmXXeXxx12E6nV
190
+ 5fEWCRE11azbJHFwLJhWC9kXtNHjUStedejV0NxPNO3CBWaAocvmMw==
191
+ -----END CERTIFICATE-----
192
+ -----BEGIN CERTIFICATE-----
193
+ MIIEuTCCA6GgAwIBAgIQQBrEZCGzEyEDDrvkEhrFHTANBgkqhkiG9w0BAQsFADCB
194
+ vTELMAkGA1UEBhMCVVMxFzAVBgNVBAoTDlZlcmlTaWduLCBJbmMuMR8wHQYDVQQL
195
+ ExZWZXJpU2lnbiBUcnVzdCBOZXR3b3JrMTowOAYDVQQLEzEoYykgMjAwOCBWZXJp
196
+ U2lnbiwgSW5jLiAtIEZvciBhdXRob3JpemVkIHVzZSBvbmx5MTgwNgYDVQQDEy9W
197
+ ZXJpU2lnbiBVbml2ZXJzYWwgUm9vdCBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTAe
198
+ Fw0wODA0MDIwMDAwMDBaFw0zNzEyMDEyMzU5NTlaMIG9MQswCQYDVQQGEwJVUzEX
199
+ MBUGA1UEChMOVmVyaVNpZ24sIEluYy4xHzAdBgNVBAsTFlZlcmlTaWduIFRydXN0
200
+ IE5ldHdvcmsxOjA4BgNVBAsTMShjKSAyMDA4IFZlcmlTaWduLCBJbmMuIC0gRm9y
201
+ IGF1dGhvcml6ZWQgdXNlIG9ubHkxODA2BgNVBAMTL1ZlcmlTaWduIFVuaXZlcnNh
202
+ bCBSb290IENlcnRpZmljYXRpb24gQXV0aG9yaXR5MIIBIjANBgkqhkiG9w0BAQEF
203
+ AAOCAQ8AMIIBCgKCAQEAx2E3XrEBNNti1xWb/1hajCMj1mCOkdeQmIN65lgZOIzF
204
+ 9uVkhbSicfvtvbnazU0AtMgtc6XHaXGVHzk8skQHnOgO+k1KxCHfKWGPMiJhgsWH
205
+ H26MfF8WIFFE0XBPV+rjHOPMee5Y2A7Cs0WTwCznmhcrewA3ekEzeOEz4vMQGn+H
206
+ LL729fdC4uW/h2KJXwBL38Xd5HVEMkE6HnFuacsLdUYI0crSK5XQz/u5QGtkjFdN
207
+ /BMReYTtXlT2NJ8IAfMQJQYXStrxHXpma5hgZqTZ79IugvHw7wnqRMkVauIDbjPT
208
+ rJ9VAMf2CGqUuV/c4DPxhGD5WycRtPwW8rtWaoAljQIDAQABo4GyMIGvMA8GA1Ud
209
+ EwEB/wQFMAMBAf8wDgYDVR0PAQH/BAQDAgEGMG0GCCsGAQUFBwEMBGEwX6FdoFsw
210
+ WTBXMFUWCWltYWdlL2dpZjAhMB8wBwYFKw4DAhoEFI/l0xqGrI2Oa8PPgGrUSBgs
211
+ exkuMCUWI2h0dHA6Ly9sb2dvLnZlcmlzaWduLmNvbS92c2xvZ28uZ2lmMB0GA1Ud
212
+ DgQWBBS2d/ppSEefUxLVwuoHMnYH0ZcHGTANBgkqhkiG9w0BAQsFAAOCAQEASvj4
213
+ sAPmLGd75JR3Y8xuTPl9Dg3cyLk1uXBPY/ok+myDjEedO2Pzmvl2MpWRsXe8rJq+
214
+ seQxIcaBlVZaDrHC1LGmWazxY8u4TB1ZkErvkBYoH1quEPuBUDgMbMzxPcP1Y+Oz
215
+ 4yHJJDnp/RVmRvQbEdBNc6N9Rvk97ahfYtTxP/jgdFcrGJ2BtMQo2pSXpXDrrB2+
216
+ BxHw1dvd5Yzw1TKwg+ZX4o+/vqGqvz0dtdQ46tewXDpPaj+PwGZsY6rp2aQW9IHR
217
+ lRQOfc2VNNnSj3BzgXucfr2YYdhFh5iQxeuGMMY1v/D/w1WIg0vvBZIGcfK4mJO3
218
+ 7M2CYfE45k+XmCpajQ==
219
+ -----END CERTIFICATE-----
220
+ -----BEGIN CERTIFICATE-----
221
+ MIIDjjCCAnagAwIBAgIQAzrx5qcRqaC7KGSxHQn65TANBgkqhkiG9w0BAQsFADBh
222
+ MQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3
223
+ d3cuZGlnaWNlcnQuY29tMSAwHgYDVQQDExdEaWdpQ2VydCBHbG9iYWwgUm9vdCBH
224
+ MjAeFw0xMzA4MDExMjAwMDBaFw0zODAxMTUxMjAwMDBaMGExCzAJBgNVBAYTAlVT
225
+ MRUwEwYDVQQKEwxEaWdpQ2VydCBJbmMxGTAXBgNVBAsTEHd3dy5kaWdpY2VydC5j
226
+ b20xIDAeBgNVBAMTF0RpZ2lDZXJ0IEdsb2JhbCBSb290IEcyMIIBIjANBgkqhkiG
227
+ 9w0BAQEFAAOCAQ8AMIIBCgKCAQEAuzfNNNx7a8myaJCtSnX/RrohCgiN9RlUyfuI
228
+ 2/Ou8jqJkTx65qsGGmvPrC3oXgkkRLpimn7Wo6h+4FR1IAWsULecYxpsMNzaHxmx
229
+ 1x7e/dfgy5SDN67sH0NO3Xss0r0upS/kqbitOtSZpLYl6ZtrAGCSYP9PIUkY92eQ
230
+ q2EGnI/yuum06ZIya7XzV+hdG82MHauVBJVJ8zUtluNJbd134/tJS7SsVQepj5Wz
231
+ tCO7TG1F8PapspUwtP1MVYwnSlcUfIKdzXOS0xZKBgyMUNGPHgm+F6HmIcr9g+UQ
232
+ vIOlCsRnKPZzFBQ9RnbDhxSJITRNrw9FDKZJobq7nMWxM4MphQIDAQABo0IwQDAP
233
+ BgNVHRMBAf8EBTADAQH/MA4GA1UdDwEB/wQEAwIBhjAdBgNVHQ4EFgQUTiJUIBiV
234
+ 5uNu5g/6+rkS7QYXjzkwDQYJKoZIhvcNAQELBQADggEBAGBnKJRvDkhj6zHd6mcY
235
+ 1Yl9PMWLSn/pvtsrF9+wX3N3KjITOYFnQoQj8kVnNeyIv/iPsGEMNKSuIEyExtv4
236
+ NeF22d+mQrvHRAiGfzZ0JFrabA0UWTW98kndth/Jsw1HKj2ZL7tcu7XUIOGZX1NG
237
+ Fdtom/DzMNU+MeKNhJ7jitralj41E6Vf8PlwUHBHQRFXGU7Aj64GxJUTFy8bJZ91
238
+ 8rGOmaFvE7FBcf6IKshPECBV1/MUReXgRPTqh5Uykw7+U0b6LJ3/iyK5S9kJRaTe
239
+ pLiaWN0bfVKfjllDiIGknibVb63dDcY3fe0Dkhvld1927jyNxF1WW6LZZm6zNTfl
240
+ MrY=
241
+ -----END CERTIFICATE-----
vendor/braintree/braintree_php/phpunit.xml.dist ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <phpunit backupGlobals="false"
3
+ backupStaticAttributes="false"
4
+ bootstrap="./vendor/autoload.php"
5
+ convertErrorsToExceptions="true"
6
+ convertNoticesToExceptions="true"
7
+ convertWarningsToExceptions="true"
8
+ processIsolation="false"
9
+ stopOnFailure="false"
10
+ syntaxCheck="false">
11
+
12
+ <php>
13
+ <ini name="error_reporting" value="32767"/>
14
+ </php>
15
+
16
+ <testsuites>
17
+ <testsuite name="unit">
18
+ <directory>./tests/unit</directory>
19
+ </testsuite>
20
+ <testsuite name="integration">
21
+ <directory>./tests/integration</directory>
22
+ </testsuite>
23
+ </testsuites>
24
+ </phpunit>
vendor/composer/ClassLoader.php ADDED
@@ -0,0 +1,445 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /*
4
+ * This file is part of Composer.
5
+ *
6
+ * (c) Nils Adermann <naderman@naderman.de>
7
+ * Jordi Boggiano <j.boggiano@seld.be>
8
+ *
9
+ * For the full copyright and license information, please view the LICENSE
10
+ * file that was distributed with this source code.
11
+ */
12
+
13
+ namespace Composer\Autoload;
14
+
15
+ /**
16
+ * ClassLoader implements a PSR-0, PSR-4 and classmap class loader.
17
+ *
18
+ * $loader = new \Composer\Autoload\ClassLoader();
19
+ *
20
+ * // register classes with namespaces
21
+ * $loader->add('Symfony\Component', __DIR__.'/component');
22
+ * $loader->add('Symfony', __DIR__.'/framework');
23
+ *
24
+ * // activate the autoloader
25
+ * $loader->register();
26
+ *
27
+ * // to enable searching the include path (eg. for PEAR packages)
28
+ * $loader->setUseIncludePath(true);
29
+ *
30
+ * In this example, if you try to use a class in the Symfony\Component
31
+ * namespace or one of its children (Symfony\Component\Console for instance),
32
+ * the autoloader will first look for the class under the component/
33
+ * directory, and it will then fallback to the framework/ directory if not
34
+ * found before giving up.
35
+ *
36
+ * This class is loosely based on the Symfony UniversalClassLoader.
37
+ *
38
+ * @author Fabien Potencier <fabien@symfony.com>
39
+ * @author Jordi Boggiano <j.boggiano@seld.be>
40
+ * @see http://www.php-fig.org/psr/psr-0/
41
+ * @see http://www.php-fig.org/psr/psr-4/
42
+ */
43
+ class ClassLoader
44
+ {
45
+ // PSR-4
46
+ private $prefixLengthsPsr4 = array();
47
+ private $prefixDirsPsr4 = array();
48
+ private $fallbackDirsPsr4 = array();
49
+
50
+ // PSR-0
51
+ private $prefixesPsr0 = array();
52
+ private $fallbackDirsPsr0 = array();
53
+
54
+ private $useIncludePath = false;
55
+ private $classMap = array();
56
+ private $classMapAuthoritative = false;
57
+ private $missingClasses = array();
58
+ private $apcuPrefix;
59
+
60
+ public function getPrefixes()
61
+ {
62
+ if (!empty($this->prefixesPsr0)) {
63
+ return call_user_func_array('array_merge', $this->prefixesPsr0);
64
+ }
65
+
66
+ return array();
67
+ }
68
+
69
+ public function getPrefixesPsr4()
70
+ {
71
+ return $this->prefixDirsPsr4;
72
+ }
73
+
74
+ public function getFallbackDirs()
75
+ {
76
+ return $this->fallbackDirsPsr0;
77
+ }
78
+
79
+ public function getFallbackDirsPsr4()
80
+ {
81
+ return $this->fallbackDirsPsr4;
82
+ }
83
+
84
+ public function getClassMap()
85
+ {
86
+ return $this->classMap;
87
+ }
88
+
89
+ /**
90
+ * @param array $classMap Class to filename map
91
+ */
92
+ public function addClassMap(array $classMap)
93
+ {
94
+ if ($this->classMap) {
95
+ $this->classMap = array_merge($this->classMap, $classMap);
96
+ } else {
97
+ $this->classMap = $classMap;
98
+ }
99
+ }
100
+
101
+ /**
102
+ * Registers a set of PSR-0 directories for a given prefix, either
103
+ * appending or prepending to the ones previously set for this prefix.
104
+ *
105
+ * @param string $prefix The prefix
106
+ * @param array|string $paths The PSR-0 root directories
107
+ * @param bool $prepend Whether to prepend the directories
108
+ */
109
+ public function add($prefix, $paths, $prepend = false)
110
+ {
111
+ if (!$prefix) {
112
+ if ($prepend) {
113
+ $this->fallbackDirsPsr0 = array_merge(
114
+ (array) $paths,
115
+ $this->fallbackDirsPsr0
116
+ );
117
+ } else {
118
+ $this->fallbackDirsPsr0 = array_merge(
119
+ $this->fallbackDirsPsr0,
120
+ (array) $paths
121
+ );
122
+ }
123
+
124
+ return;
125
+ }
126
+
127
+ $first = $prefix[0];
128
+ if (!isset($this->prefixesPsr0[$first][$prefix])) {
129
+ $this->prefixesPsr0[$first][$prefix] = (array) $paths;
130
+
131
+ return;
132
+ }
133
+ if ($prepend) {
134
+ $this->prefixesPsr0[$first][$prefix] = array_merge(
135
+ (array) $paths,
136
+ $this->prefixesPsr0[$first][$prefix]
137
+ );
138
+ } else {
139
+ $this->prefixesPsr0[$first][$prefix] = array_merge(
140
+ $this->prefixesPsr0[$first][$prefix],
141
+ (array) $paths
142
+ );
143
+ }
144
+ }
145
+
146
+ /**
147
+ * Registers a set of PSR-4 directories for a given namespace, either
148
+ * appending or prepending to the ones previously set for this namespace.
149
+ *
150
+ * @param string $prefix The prefix/namespace, with trailing '\\'
151
+ * @param array|string $paths The PSR-4 base directories
152
+ * @param bool $prepend Whether to prepend the directories
153
+ *
154
+ * @throws \InvalidArgumentException
155
+ */
156
+ public function addPsr4($prefix, $paths, $prepend = false)
157
+ {
158
+ if (!$prefix) {
159
+ // Register directories for the root namespace.
160
+ if ($prepend) {
161
+ $this->fallbackDirsPsr4 = array_merge(
162
+ (array) $paths,
163
+ $this->fallbackDirsPsr4
164
+ );
165
+ } else {
166
+ $this->fallbackDirsPsr4 = array_merge(
167
+ $this->fallbackDirsPsr4,
168
+ (array) $paths
169
+ );
170
+ }
171
+ } elseif (!isset($this->prefixDirsPsr4[$prefix])) {
172
+ // Register directories for a new namespace.
173
+ $length = strlen($prefix);
174
+ if ('\\' !== $prefix[$length - 1]) {
175
+ throw new \InvalidArgumentException("A non-empty PSR-4 prefix must end with a namespace separator.");
176
+ }
177
+ $this->prefixLengthsPsr4[$prefix[0]][$prefix] = $length;
178
+ $this->prefixDirsPsr4[$prefix] = (array) $paths;
179
+ } elseif ($prepend) {
180
+ // Prepend directories for an already registered namespace.
181
+ $this->prefixDirsPsr4[$prefix] = array_merge(
182
+ (array) $paths,
183
+ $this->prefixDirsPsr4[$prefix]
184
+ );
185
+ } else {
186
+ // Append directories for an already registered namespace.
187
+ $this->prefixDirsPsr4[$prefix] = array_merge(
188
+ $this->prefixDirsPsr4[$prefix],
189
+ (array) $paths
190
+ );
191
+ }
192
+ }
193
+
194
+ /**
195
+ * Registers a set of PSR-0 directories for a given prefix,
196
+ * replacing any others previously set for this prefix.
197
+ *
198
+ * @param string $prefix The prefix
199
+ * @param array|string $paths The PSR-0 base directories
200
+ */
201
+ public function set($prefix, $paths)
202
+ {
203
+ if (!$prefix) {
204
+ $this->fallbackDirsPsr0 = (array) $paths;
205
+ } else {
206
+ $this->prefixesPsr0[$prefix[0]][$prefix] = (array) $paths;
207
+ }
208
+ }
209
+
210
+ /**
211
+ * Registers a set of PSR-4 directories for a given namespace,
212
+ * replacing any others previously set for this namespace.
213
+ *
214
+ * @param string $prefix The prefix/namespace, with trailing '\\'
215
+ * @param array|string $paths The PSR-4 base directories
216
+ *
217
+ * @throws \InvalidArgumentException
218
+ */
219
+ public function setPsr4($prefix, $paths)
220
+ {
221
+ if (!$prefix) {
222
+ $this->fallbackDirsPsr4 = (array) $paths;
223
+ } else {
224
+ $length = strlen($prefix);
225
+ if ('\\' !== $prefix[$length - 1]) {
226
+ throw new \InvalidArgumentException("A non-empty PSR-4 prefix must end with a namespace separator.");
227
+ }
228
+ $this->prefixLengthsPsr4[$prefix[0]][$prefix] = $length;
229
+ $this->prefixDirsPsr4[$prefix] = (array) $paths;
230
+ }
231
+ }
232
+
233
+ /**
234
+ * Turns on searching the include path for class files.
235
+ *
236
+ * @param bool $useIncludePath
237
+ */
238
+ public function setUseIncludePath($useIncludePath)
239
+ {
240
+ $this->useIncludePath = $useIncludePath;
241
+ }
242
+
243
+ /**
244
+ * Can be used to check if the autoloader uses the include path to check
245
+ * for classes.
246
+ *
247
+ * @return bool
248
+ */
249
+ public function getUseIncludePath()
250
+ {
251
+ return $this->useIncludePath;
252
+ }
253
+
254
+ /**
255
+ * Turns off searching the prefix and fallback directories for classes
256
+ * that have not been registered with the class map.
257
+ *
258
+ * @param bool $classMapAuthoritative
259
+ */
260
+ public function setClassMapAuthoritative($classMapAuthoritative)
261
+ {
262
+ $this->classMapAuthoritative = $classMapAuthoritative;
263
+ }
264
+
265
+ /**
266
+ * Should class lookup fail if not found in the current class map?
267
+ *
268
+ * @return bool
269
+ */
270
+ public function isClassMapAuthoritative()
271
+ {
272
+ return $this->classMapAuthoritative;
273
+ }
274
+
275
+ /**
276
+ * APCu prefix to use to cache found/not-found classes, if the extension is enabled.
277
+ *
278
+ * @param string|null $apcuPrefix
279
+ */
280
+ public function setApcuPrefix($apcuPrefix)
281
+ {
282
+ $this->apcuPrefix = function_exists('apcu_fetch') && ini_get('apc.enabled') ? $apcuPrefix : null;
283
+ }
284
+
285
+ /**
286
+ * The APCu prefix in use, or null if APCu caching is not enabled.
287
+ *
288
+ * @return string|null
289
+ */
290
+ public function getApcuPrefix()
291
+ {
292
+ return $this->apcuPrefix;
293
+ }
294
+
295
+ /**
296
+ * Registers this instance as an autoloader.
297
+ *
298
+ * @param bool $prepend Whether to prepend the autoloader or not
299
+ */
300
+ public function register($prepend = false)
301
+ {
302
+ spl_autoload_register(array($this, 'loadClass'), true, $prepend);
303
+ }
304
+
305
+ /**
306
+ * Unregisters this instance as an autoloader.
307
+ */
308
+ public function unregister()
309
+ {
310
+ spl_autoload_unregister(array($this, 'loadClass'));
311
+ }
312
+
313
+ /**
314
+ * Loads the given class or interface.
315
+ *
316
+ * @param string $class The name of the class
317
+ * @return bool|null True if loaded, null otherwise
318
+ */
319
+ public function loadClass($class)
320
+ {
321
+ if ($file = $this->findFile($class)) {
322
+ includeFile($file);
323
+
324
+ return true;
325
+ }
326
+ }
327
+
328
+ /**
329
+ * Finds the path to the file where the class is defined.
330
+ *
331
+ * @param string $class The name of the class
332
+ *
333
+ * @return string|false The path if found, false otherwise
334
+ */
335
+ public function findFile($class)
336
+ {
337
+ // class map lookup
338
+ if (isset($this->classMap[$class])) {
339
+ return $this->classMap[$class];
340
+ }
341
+ if ($this->classMapAuthoritative || isset($this->missingClasses[$class])) {
342
+ return false;
343
+ }
344
+ if (null !== $this->apcuPrefix) {
345
+ $file = apcu_fetch($this->apcuPrefix.$class, $hit);
346
+ if ($hit) {
347
+ return $file;
348
+ }
349
+ }
350
+
351
+ $file = $this->findFileWithExtension($class, '.php');
352
+
353
+ // Search for Hack files if we are running on HHVM
354
+ if (false === $file && defined('HHVM_VERSION')) {
355
+ $file = $this->findFileWithExtension($class, '.hh');
356
+ }
357
+
358
+ if (null !== $this->apcuPrefix) {
359
+ apcu_add($this->apcuPrefix.$class, $file);
360
+ }
361
+
362
+ if (false === $file) {
363
+ // Remember that this class does not exist.
364
+ $this->missingClasses[$class] = true;
365
+ }
366
+
367
+ return $file;
368
+ }
369
+
370
+ private function findFileWithExtension($class, $ext)
371
+ {
372
+ // PSR-4 lookup
373
+ $logicalPathPsr4 = strtr($class, '\\', DIRECTORY_SEPARATOR) . $ext;
374
+
375
+ $first = $class[0];
376
+ if (isset($this->prefixLengthsPsr4[$first])) {
377
+ $subPath = $class;
378
+ while (false !== $lastPos = strrpos($subPath, '\\')) {
379
+ $subPath = substr($subPath, 0, $lastPos);
380
+ $search = $subPath.'\\';
381
+ if (isset($this->prefixDirsPsr4[$search])) {
382
+ $pathEnd = DIRECTORY_SEPARATOR . substr($logicalPathPsr4, $lastPos + 1);
383
+ foreach ($this->prefixDirsPsr4[$search] as $dir) {
384
+ if (file_exists($file = $dir . $pathEnd)) {
385
+ return $file;
386
+ }
387
+ }
388
+ }
389
+ }
390
+ }
391
+
392
+ // PSR-4 fallback dirs
393
+ foreach ($this->fallbackDirsPsr4 as $dir) {
394
+ if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr4)) {
395
+ return $file;
396
+ }
397
+ }
398
+
399
+ // PSR-0 lookup
400
+ if (false !== $pos = strrpos($class, '\\')) {
401
+ // namespaced class name
402
+ $logicalPathPsr0 = substr($logicalPathPsr4, 0, $pos + 1)
403
+ . strtr(substr($logicalPathPsr4, $pos + 1), '_', DIRECTORY_SEPARATOR);
404
+ } else {
405
+ // PEAR-like class name
406
+ $logicalPathPsr0 = strtr($class, '_', DIRECTORY_SEPARATOR) . $ext;
407
+ }
408
+
409
+ if (isset($this->prefixesPsr0[$first])) {
410
+ foreach ($this->prefixesPsr0[$first] as $prefix => $dirs) {
411
+ if (0 === strpos($class, $prefix)) {
412
+ foreach ($dirs as $dir) {
413
+ if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr0)) {
414
+ return $file;
415
+ }
416
+ }
417
+ }
418
+ }
419
+ }
420
+
421
+ // PSR-0 fallback dirs
422
+ foreach ($this->fallbackDirsPsr0 as $dir) {
423
+ if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr0)) {
424
+ return $file;
425
+ }
426
+ }
427
+
428
+ // PSR-0 include paths.
429
+ if ($this->useIncludePath && $file = stream_resolve_include_path($logicalPathPsr0)) {
430
+ return $file;
431
+ }
432
+
433
+ return false;
434
+ }
435
+ }
436
+
437
+ /**
438
+ * Scope isolated include.
439
+ *
440
+ * Prevents access to $this/self from included files.
441
+ */
442
+ function includeFile($file)
443
+ {
444
+ include $file;
445
+ }
vendor/composer/LICENSE ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ Copyright (c) Nils Adermann, Jordi Boggiano
3
+
4
+ Permission is hereby granted, free of charge, to any person obtaining a copy
5
+ of this software and associated documentation files (the "Software"), to deal
6
+ in the Software without restriction, including without limitation the rights
7
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8
+ copies of the Software, and to permit persons to whom the Software is furnished
9
+ to do so, subject to the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be included in all
12
+ copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
20
+ THE SOFTWARE.
21
+
vendor/composer/autoload_classmap.php ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ // autoload_classmap.php @generated by Composer
4
+
5
+ $vendorDir = dirname(dirname(__FILE__));
6
+ $baseDir = dirname($vendorDir);
7
+
8
+ return array(
9
+ );
vendor/composer/autoload_namespaces.php ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ // autoload_namespaces.php @generated by Composer
4
+
5
+ $vendorDir = dirname(dirname(__FILE__));
6
+ $baseDir = dirname($vendorDir);
7
+
8
+ return array(
9
+ 'Braintree' => array($vendorDir . '/braintree/braintree_php/lib'),
10
+ );
vendor/composer/autoload_psr4.php ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ // autoload_psr4.php @generated by Composer
4
+
5
+ $vendorDir = dirname(dirname(__FILE__));
6
+ $baseDir = dirname($vendorDir);
7
+
8
+ return array(
9
+ 'Braintree\\' => array($vendorDir . '/braintree/braintree_php/lib/Braintree'),
10
+ );
vendor/composer/autoload_real.php ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ // autoload_real.php @generated by Composer
4
+
5
+ class ComposerAutoloaderInitd968a3ef969d8cb7fb8dfff28d337837
6
+ {
7
+ private static $loader;
8
+
9
+ public static function loadClassLoader($class)
10
+ {
11
+ if ('Composer\Autoload\ClassLoader' === $class) {
12
+ require __DIR__ . '/ClassLoader.php';
13
+ }
14
+ }
15
+
16
+ public static function getLoader()
17
+ {
18
+ if (null !== self::$loader) {
19
+ return self::$loader;
20
+ }
21
+
22
+ spl_autoload_register(array('ComposerAutoloaderInitd968a3ef969d8cb7fb8dfff28d337837', 'loadClassLoader'), true, true);
23
+ self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
+ spl_autoload_unregister(array('ComposerAutoloaderInitd968a3ef969d8cb7fb8dfff28d337837', 'loadClassLoader'));
25
+
26
+ $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
27
+ if ($useStaticLoader) {
28
+ require_once __DIR__ . '/autoload_static.php';
29
+
30
+ call_user_func(\Composer\Autoload\ComposerStaticInitd968a3ef969d8cb7fb8dfff28d337837::getInitializer($loader));
31
+ } else {
32
+ $map = require __DIR__ . '/autoload_namespaces.php';
33
+ foreach ($map as $namespace => $path) {
34
+ $loader->set($namespace, $path);
35
+ }
36
+
37
+ $map = require __DIR__ . '/autoload_psr4.php';
38
+ foreach ($map as $namespace => $path) {
39
+ $loader->setPsr4($namespace, $path);
40
+ }
41
+
42
+ $classMap = require __DIR__ . '/autoload_classmap.php';
43
+ if ($classMap) {
44
+ $loader->addClassMap($classMap);
45
+ }
46
+ }
47
+
48
+ $loader->register(true);
49
+
50
+ return $loader;
51
+ }
52
+ }
vendor/composer/autoload_static.php ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ // autoload_static.php @generated by Composer
4
+
5
+ namespace Composer\Autoload;
6
+
7
+ class ComposerStaticInitd968a3ef969d8cb7fb8dfff28d337837
8
+ {
9
+ public static $prefixLengthsPsr4 = array (
10
+ 'B' =>
11
+ array (
12
+ 'Braintree\\' => 10,
13
+ ),
14
+ );
15
+
16
+ public static $prefixDirsPsr4 = array (
17
+ 'Braintree\\' =>
18
+ array (
19
+ 0 => __DIR__ . '/..' . '/braintree/braintree_php/lib/Braintree',
20
+ ),
21
+ );
22
+
23
+ public static $prefixesPsr0 = array (
24
+ 'B' =>
25
+ array (
26
+ 'Braintree' =>
27
+ array (
28
+ 0 => __DIR__ . '/..' . '/braintree/braintree_php/lib',
29
+ ),
30
+ ),
31
+ );
32
+
33
+ public static function getInitializer(ClassLoader $loader)
34
+ {
35
+ return \Closure::bind(function () use ($loader) {
36
+ $loader->prefixLengthsPsr4 = ComposerStaticInitd968a3ef969d8cb7fb8dfff28d337837::$prefixLengthsPsr4;
37
+ $loader->prefixDirsPsr4 = ComposerStaticInitd968a3ef969d8cb7fb8dfff28d337837::$prefixDirsPsr4;
38
+ $loader->prefixesPsr0 = ComposerStaticInitd968a3ef969d8cb7fb8dfff28d337837::$prefixesPsr0;
39
+
40
+ }, null, ClassLoader::class);
41
+ }
42
+ }
vendor/composer/installed.json ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "name": "braintree/braintree_php",
4
+ "version": "3.34.0",
5
+ "version_normalized": "3.34.0.0",
6
+ "source": {
7
+ "type": "git",
8
+ "url": "https://github.com/braintree/braintree_php.git",
9
+ "reference": "fd55c466d0d0088c67705d7ba0b3876d9767bfda"
10
+ },
11
+ "dist": {
12
+ "type": "zip",
13
+ "url": "https://api.github.com/repos/braintree/braintree_php/zipball/fd55c466d0d0088c67705d7ba0b3876d9767bfda",
14
+ "reference": "fd55c466d0d0088c67705d7ba0b3876d9767bfda",
15
+ "shasum": ""
16
+ },
17
+ "require": {
18
+ "ext-curl": "*",
19
+ "ext-dom": "*",
20
+ "ext-hash": "*",
21
+ "ext-openssl": "*",
22
+ "ext-xmlwriter": "*",
23
+ "php": ">=5.4.0"
24
+ },
25
+ "require-dev": {
26
+ "phpunit/phpunit": "3.7.*"
27
+ },
28
+ "time": "2018-05-21T18:14:47+00:00",
29
+ "type": "library",
30
+ "installation-source": "dist",
31
+ "autoload": {
32
+ "psr-0": {
33
+ "Braintree": "lib/"
34
+ },
35
+ "psr-4": {
36
+ "Braintree\\": "lib/Braintree"
37
+ }
38
+ },
39
+ "notification-url": "https://packagist.org/downloads/",
40
+ "license": [
41
+ "MIT"
42
+ ],
43
+ "authors": [
44
+ {
45
+ "name": "Braintree",
46
+ "homepage": "https://www.braintreepayments.com"
47
+ }
48
+ ],
49
+ "description": "Braintree PHP Client Library"
50
+ }
51
+ ]
woocommerce-gateway-paypal-powered-by-braintree.php CHANGED
@@ -5,10 +5,12 @@
5
  * Description: Receive credit card or PayPal payments using Paypal Powered by Braintree. A server with cURL, SSL support, and a valid SSL certificate is required (for security reasons) for this gateway to function. Requires PHP 5.4+
6
  * Author: WooCommerce
7
  * Author URI: http://woocommerce.com/
8
- * Version: 2.1.2
 
 
9
  *
10
  * WC requires at least: 2.5.5
11
- * WC tested up to: 3.4.0
12
  *
13
  * Copyright (c) 2016-2018, Automattic, Inc.
14
  *
@@ -118,7 +120,7 @@ class WC_PayPal_Braintree_Loader {
118
  }
119
 
120
  // autoload the Braintree SDK
121
- require_once( plugin_dir_path( __FILE__ ) . 'lib/autoload.php' );
122
 
123
  // Required framework classes class
124
  require_once( plugin_dir_path( __FILE__ ) . 'lib/skyverge/woocommerce/class-sv-wc-plugin.php' );
5
  * Description: Receive credit card or PayPal payments using Paypal Powered by Braintree. A server with cURL, SSL support, and a valid SSL certificate is required (for security reasons) for this gateway to function. Requires PHP 5.4+
6
  * Author: WooCommerce
7
  * Author URI: http://woocommerce.com/
8
+ * Version: 2.1.3
9
+ * Text Domain: woocommerce-gateway-paypal-powered-by-braintree
10
+ * Domain Path: /i18n/languages/
11
  *
12
  * WC requires at least: 2.5.5
13
+ * WC tested up to: 3.4.4
14
  *
15
  * Copyright (c) 2016-2018, Automattic, Inc.
16
  *
120
  }
121
 
122
  // autoload the Braintree SDK
123
+ require_once( plugin_dir_path( __FILE__ ) . 'vendor/autoload.php' );
124
 
125
  // Required framework classes class
126
  require_once( plugin_dir_path( __FILE__ ) . 'lib/skyverge/woocommerce/class-sv-wc-plugin.php' );