Kirill Braslavsky
60e392c78f
fix code style in the TransactionUrlProvider
2021-02-22 13:15:56 +02:00
Kirill Braslavsky
6cadb842c1
remove not used interface
2021-02-22 11:28:20 +02:00
Kirill Braslavsky
90a0e28f63
add transaction url base to credit card gateway
2021-02-19 18:35:12 +02:00
Kirill Braslavsky
834dec750c
fix class property name
2021-02-19 18:26:28 +02:00
Kirill Braslavsky
c70e4dc87e
remove unused import
2021-02-19 17:21:27 +02:00
Kirill Braslavsky
85cc031427
fix missing class dependency
2021-02-19 17:19:57 +02:00
Kirill Braslavsky
ec4c0a113a
provide base transaction url for paypal gateway
2021-02-19 17:15:04 +02:00
Kirill Braslavsky
9a4ac73a17
add TransactionUrlProvider service
2021-02-19 16:55:36 +02:00
Kirill Braslavsky
aeb4402be8
remove not used import
2021-02-19 16:14:40 +02:00
Kirill Braslavsky
da7b28c367
add order field for payment type sandbox or live
2021-02-19 16:02:59 +02:00
Kirill Braslavsky
6c17c7463f
remove useless condition part
2021-02-19 14:14:26 +02:00
Kirill Braslavsky
7bd17838fb
save transaction id to WC order
2021-02-19 13:54:41 +02:00
Kirill Braslavsky
026889b43e
remove spinner on click, on cancel and on error
2021-02-18 12:16:44 +02:00
dinamiko
b9c2550f3b
Add save card to hosted fields
2021-02-16 17:06:50 +01:00
dinamiko
a280a19ec1
Allow PayPal gateway for saved credit cards
2021-02-16 11:52:39 +01:00
dinamiko
6bfb8b2c2a
Enable subscriptions plugin support, add settings for vaulting
2021-02-15 13:54:42 +01:00
Kirill Braslavsky
f121605e41
don't call button renderer on checkout immediately
...
Don't render PayPal button immediately when initiating checkout. Instead, call `render` on `updated_checkout` event only. This event always triggered by WooCommerce after the checkout is loaded. So, this change prevents PayPal buttons from being rendered twice.
See https://github.com/woocommerce/woocommerce/blob/master/assets/js/frontend/checkout.js for more details.
2021-02-10 18:26:41 +02:00
Kirill Braslavsky
9815e8300d
handle error after submitting card form
2021-02-10 13:03:16 +02:00
Jorge A. Torres
11aa5daca9
Add REST routes related to onboarding
...
Adds various routes under `/wc-paypal/v1/onboarding` including `/status` (onboarding status), `/set-credentials` (manually set merchant ID/email and keys) and `/get-params` (information useful for presenting the user with an onboarding button).
2021-02-04 16:26:16 -05:00
Jorge A. Torres
b8870415af
Rework onboarding rendering and JS code
...
- Add `ppcp_onboarding` object and separate sandbox/production callbacks.
- Prevent errors when loading `onboarding.js` outside of the settings screen.
- Workaround PayPal’s partner.js shortcomings.
2021-02-04 13:57:24 -05:00
Jorge A. Torres
ef8fbf6b6a
Make Settings::persist()
returns the result of update_option()
2021-02-04 13:57:24 -05:00
Jorge A. Torres
202502a2f9
Allow overriding redirect URL after merchant ID is populated during the onboarding flow
...
- Adds action `woocommerce_paypal_payments_onboarding_before_redirect`
- Adds filter `woocommerce_paypal_payments_onboarding_redirect_url`
2021-02-04 13:57:24 -05:00
Jorge A. Torres
08d0489fbc
Make partner_config_override/return_url
and partner_config_override/return_url_description
filterable
2021-02-04 13:57:24 -05:00
Emili Castells
9434d8f293
Merge pull request #103 from woocommerce/PCP-63
...
Pcp 63
2021-02-01 11:15:12 +01:00
dinamiko
c2678a4d35
Fix phpcs errors
2021-02-01 11:06:58 +01:00
dinamiko
2344c203a8
Fix typo in message headings
2021-01-29 10:33:11 +01:00
dinamiko
8c514a8f9d
Display pay later link for germany
2021-01-28 10:10:47 +01:00
dinamiko
0ee6cfc035
Replace credit with pay later
2021-01-27 11:21:17 +01:00
Emili Castells
faf7e86e51
Merge branch 'trunk' into PCP-81-de-now-has-12-month-installments
2021-01-22 12:21:59 +01:00
Emili Castells
78db8e6677
Merge pull request #105 from woocommerce/PCP-78-uk-buy-now-pay-later
...
UK buy now pay later
2021-01-22 12:20:26 +01:00
dinamiko
09fdd98369
Replace PayPal Credit
to Pay Later
in payment settings page
2021-01-21 11:11:23 +01:00
dinamiko
1d17335a99
Fix phpcs errors
2021-01-20 09:48:47 +01:00
dinamiko
3ae8dfe589
Enable credit messaging for France
2021-01-19 12:24:49 +01:00
dinamiko
426989118f
Enable credit messaging for Germany
2021-01-19 12:13:15 +01:00
carmenmaymo
f826c25f64
fix tests and cs
2021-01-19 09:50:07 +01:00
dinamiko
3ab4d0ece4
Update title and description for single product and cart page
2021-01-18 17:23:53 +01:00
dinamiko
1f39afc6e6
Introduce pay in 3 for UK
2021-01-18 17:04:09 +01:00
carmenmaymo
0669708ad9
unset phone if empty
2021-01-18 16:13:08 +01:00
Emili Castells
7451470f09
Merge pull request #92 from woocommerce/PCP-59-gb-country-has-acdc-blocked
...
Use disable funding credit instead of card
2021-01-13 09:36:18 +01:00
Emili Castells
6fad09efb3
Merge pull request #94 from woocommerce/PCP-60-high-volume-of-failed-calls-to--v
...
Do not reschedule webhook registration on creation failure
2021-01-13 09:35:56 +01:00
dinamiko
aa91751450
Allow set target on spinner
2021-01-11 11:42:45 +01:00
dinamiko
9bf0248153
Ensure terms and conditions page is selected before validate
2021-01-07 12:37:16 +01:00
dinamiko
8562fb7f58
Add spinner to pay now bootsptrap
2021-01-05 17:12:26 +01:00
dinamiko
fc05378dbb
Load buttons component on pay now page
2021-01-05 11:35:47 +01:00
dinamiko
9b90048778
Do not reschedule webhook registration on creation failure
2020-12-15 14:55:46 +01:00
dinamiko
4123a75054
Use disable funding credit instead of card
...
PCP-59
2020-12-04 09:58:08 +01:00
dinamiko
947fda2473
Put declined payment message as the exception message
2020-11-23 16:25:43 +01:00
dinamiko
adc00a7351
Fix typo in translation
2020-11-20 15:41:32 +01:00
dinamiko
c5a107d02b
Throw error when hosted fields transaction declined and display an error message to the customer
2020-11-20 15:40:01 +01:00
dinamiko
bc86c8341f
Fix phpcs errors
2020-11-19 15:34:25 +01:00