Commit graph

477 commits

Author SHA1 Message Date
RT3
40694b251a
Format for URLs changed for Pay Later disclaimers
Added IT / ES, changed URL formats.
2022-02-16 11:53:04 -06:00
RT3
bc8cbd7dec
Adding Italy and Spain to messages
Messaging and buttons will be available in late March.
2022-02-16 11:31:34 -06:00
dinamiko
ccff0fa586 Fix merge conflicts 2022-02-10 09:34:42 +01:00
dinamiko
0947031c3f Ensure email exist otherwise do not return payer object 2022-02-07 16:25:29 +01:00
dinamiko
4c71240684 Merge branch 'trunk' into pcp-370-onboarding 2022-02-07 10:23:31 +01:00
dinamiko
7b132f9d92 Get payer info from checkout form (WIP) 2022-02-04 17:11:40 +01:00
dinamiko
f9157ff1ba Clear previous message before display current 2022-02-02 11:40:54 +01:00
Alex P
2e50e59940 Remove progressive onboarding state 2022-01-31 18:16:25 +02:00
dinamiko
238fa31cf7 Display multiple details 2022-01-31 15:04:28 +01:00
dinamiko
b98f59b4ed Add error details for order creation 2022-01-31 12:17:23 +01:00
dinamiko
b923df9d52 Revert dcc enabled check 2022-01-21 15:25:17 +01:00
Emili Castells
0fee10931a
Merge pull request #423 from woocommerce/PCP-434-allow-guest-users-to-purchase-su
Add customer id for guest users purchasing subscriptions
2022-01-20 11:18:14 +01:00
dinamiko
2f78bab9ca Only display buttons in checkout if guest with subscription 2022-01-17 14:35:25 +01:00
Alex P
314ba44bb9 Use realpath for __FILE__ when creating url
on some sites __FILE__ contains .. which breaks url creation
2022-01-14 16:35:13 +02:00
Alex P
5591b2806d Fix double slash in asset urls 2022-01-14 16:33:59 +02:00
dinamiko
e6adf38edd Fix merge conflicts 2022-01-11 10:31:47 +01:00
Emili Castells
45a4463e75
Merge pull request #418 from woocommerce/pcp-196-use-wc-translation
Use translation from WC for "Place order" / "Pay for order" buttons
2022-01-10 13:17:47 +01:00
Alex P
5216e155b4 Fix save card label "for" 2022-01-06 15:08:13 +02:00
dinamiko
a8ccd02e77 Revert vault enabled check in render wrapper 2022-01-05 14:31:12 +01:00
dinamiko
96d154a856 Refactoring 2022-01-05 14:12:37 +01:00
dinamiko
08d3dea790 Check if pay for order contains subscription 2022-01-04 11:01:34 +01:00
dinamiko
6d0c821b19 Check if pay for order contains subscription 2022-01-04 10:43:18 +01:00
dinamiko
d69f1b5a9c Add guest customer id (WIP) 2021-12-24 12:37:06 +01:00
dinamiko
ece3ef95d3 Display payment gateways for guest users when subscription in the cart 2021-12-22 16:00:29 +01:00
Alex P
b93d0acfcc Use translation from WC for "Place order" / "Pay for order" 2021-12-21 17:56:27 +02:00
Emili Castells
d5823c1254
Merge pull request #398 from woocommerce/pcp-400-show-funding-source
Show "Venmo" instead of "PayPal" when using its' button
2021-12-14 16:03:01 +01:00
Emili Castells
7109f969f6
Merge pull request #401 from woocommerce/PCP-424-reopened-error-messages-are-not-cleared
Clear error messages on approve
2021-12-13 12:07:31 +01:00
dinamiko
cf88d4ffbc Clear error messages on approve 2021-12-13 10:50:14 +01:00
Alex P
f4a32a01e7 Show "Venmo" instead of "PayPal" when using its' button 2021-12-09 17:29:48 +02:00
Alex P
2e5b0065f9 Fix payer name properties access 2021-12-08 18:42:09 +02:00
Emili Castells
b65200645a
Merge pull request #386 from woocommerce/pcp-367-default-3ds-contingency
Change default 3ds contingency
2021-12-01 11:57:31 +01:00
dinamiko
aa61ab56ca Improve required card holder name error message 2021-11-30 14:23:21 +01:00
dinamiko
26147791ab Remove getting shipping address as fallback for card holder name 2021-11-30 12:34:19 +01:00
dinamiko
cf3ba3f55c Fix phpcs errors 2021-11-30 11:11:02 +01:00
Alex P
ffe32070d0 Extract shop currency, country to services 2021-11-30 10:40:38 +02:00
dinamiko
b3b1237247 Merge branch 'trunk' into PCP-359-customer-details-not-available-i 2021-11-26 15:30:26 +01:00
dinamiko
19b5c2e437 Check shipping name if billing does not exist 2021-11-25 11:59:22 +01:00
dinamiko
162a0886b7 Use innerHTML to clear element inner content 2021-11-25 10:36:56 +01:00
dinamiko
0ac3dae104 Fix error handler clear messages 2021-11-24 17:13:31 +01:00
dinamiko
31f2e65bff Fix typo in element id 2021-11-24 16:10:24 +01:00
dinamiko
1e646fa954 Ensure cardholder name when submit card fields 2021-11-24 16:09:36 +01:00
Emili Castells
035cbe5957
Merge pull request #361 from woocommerce/pcp-125-fix-duplicated-button
Fix duplicated button and saved cards in Pay Now
2021-11-23 11:07:21 +01:00
Alex P
ff6f821fdf Add type 2021-11-19 12:44:06 +02:00
dinamiko
199d40e2d5 Do not display save credit card if subscription in the cart 2021-11-19 11:06:16 +01:00
Alex P
ebe1e84907 Fix and refactor PayNow checkout UI too
Inherit PayNowBootstrap from CheckoutBootstap, they are almost the same
2021-11-12 18:27:47 +02:00
Alex P
9c7859bf35 Use MutationObserver to detect order button visibility changes
Such as for the old PayPal plugin,
which shows it on click + with some animation,
or Conditional WooCommerce Checkout Field,
which shows the button after loading some data
2021-11-12 18:26:42 +02:00
Alex P
3dc9b48e1b Hide button with !important to override !important from some themes 2021-11-11 18:00:31 +02:00
Alex P
c97dc9530b Add float: right to dcc order button like in WC styles 2021-11-11 17:58:08 +02:00
Alex P
b9ae2483ad Add CSS class to dcc order button 2021-11-11 17:57:23 +02:00
Alex P
9ad48d5f13 Optimize checkout elements hiding
Remove duplicated calls like hidden -> show() -> hide() during some updates
and make code more clear
2021-11-11 15:20:21 +02:00