Commit graph

644 commits

Author SHA1 Message Date
David Remer
ddd4f5ba09 downgrade dhii/module-interface to 0.1 2020-09-16 10:18:45 +03:00
David Remer
c09e314baa call partners endpoint when rendering the dcc settings to check whether the pp account is able to process dcc.
In order to do so, it was also necessary to store the merchant id during onboarding. includes a bugfix where the cache invalidation did not work because the cache object was constructed with the wrong prefix key.
2020-09-16 10:00:28 +03:00
David Remer
22c7e3975f remove description from dcc settings as no description is shown in the frontend. 2020-09-14 15:07:48 +03:00
David Remer
084eb2a908 relocate dcc fields to gateway description, use \WC_Payment_Gateway_CC, reutilize theme styles for dcc fields as much as possible 2020-09-14 14:17:39 +03:00
David Remer
e4b6a412ea hide paypal credit on checkout until isEligible 2020-09-14 11:05:14 +03:00
David Remer
7445c91ed7 fix tests 2020-09-14 07:51:45 +03:00
David Remer
6db0a457bf remove CacheInterface and PSR related @throw doc comments 2020-09-14 07:29:20 +03:00
David Remer
bc6be4993a add delete and has method to Cache 2020-09-14 07:28:45 +03:00
David Remer
3803ba935c make sure user is logged in when detecting the buyer-country in debug mode 2020-09-11 15:05:30 +03:00
David Remer
9e2f1f4bf9 codestyle 2020-09-11 14:24:08 +03:00
David Remer
c788341887 change namespace vendor to WooCommerce 2020-09-11 14:11:10 +03:00
David Remer
c5899d915c downgrade plugin to php 7.0 2020-09-11 13:38:02 +03:00
David Remer
5e011b4f95 rename plugin and slug to PayPal Payments for WooCommerce 2020-09-11 10:20:12 +03:00
David Remer
806c211e35 add fallback when get_current_screen returns null. 2020-09-11 10:17:03 +03:00
David Remer
021d1395d0 remove repositories from composer.json 2020-09-11 10:14:25 +03:00
David Remer
d7f1e81967 name WooCoomerce as plugin author 2020-09-11 10:14:00 +03:00
David Remer
4ab723feac focus on the cc number input field, when selecting the credit card gateway 2020-09-11 10:12:42 +03:00
David Remer
49c66ecd00 do not show 'credit' funding source for UK merchants 2020-09-10 10:58:41 +03:00
David Remer
9a127ced6a prevent connect paypal link default only when PAYPAL has not loaded yet 2020-09-08 10:12:32 +03:00
David Remer
a7a74288ed drop shipping when only digital goods 2020-09-04 08:01:06 +03:00
David Remer
7ae4af0886 Merge branch 'drop-shipping-when-only-digital-items' 2020-09-04 07:50:45 +03:00
David Remer
c886d3b57c enable group toggle for new checkout button enabler 2020-09-03 12:28:43 +03:00
David Remer
840b9cd9f0 Merge branch 'pcp-50-settings-in-one-gateway' 2020-09-03 12:10:52 +03:00
David Remer
89b97f0535 load paypal script only when needed. 2020-09-03 11:48:25 +03:00
David Remer
cc4777273a load button component in JS sdk only when needed 2020-09-03 11:40:44 +03:00
David Remer
a4aea53302 update logic on when to return the DisabledSmartButton object 2020-09-03 11:25:02 +03:00
David Remer
d75c29c420 remove outdated dcc_enable overwrite 2020-09-03 11:23:26 +03:00
David Remer
116837eadb add option to enable paypal in checkout 2020-09-03 11:23:11 +03:00
David Remer
aee579f01a better description for dcc enable option 2020-09-03 08:48:50 +03:00
David Remer
c8ecdeb330 add dcc notices depending on state and dcc availability 2020-09-03 08:43:25 +03:00
David Remer
4163af8a47 add dcc requirement to dcc fields 2020-09-03 08:43:03 +03:00
David Remer
2678d33d9c Better description what you enable with the Enable/Disable option on PayPal. 2020-09-03 08:17:45 +03:00
David Remer
85061fa785 when performing a reset, delete all existing settings 2020-09-03 08:10:29 +03:00
David Remer
0adbed30c4 correct text domain in plugin header 2020-09-03 07:19:38 +03:00
David Remer
c647dbdb4e correct text domain in plugin header 2020-09-03 07:19:24 +03:00
David Remer
ce9e9d1308 pcp-48 / set correct title for setting tabs 2020-09-03 07:16:52 +03:00
David Remer
2dc9ebab2c installation instructions 2020-09-03 07:07:16 +03:00
David Remer
61038cc51e capital_C_dangit WooCommerce 2020-09-03 07:05:50 +03:00
David Remer
fcd2abc452 drop shipping in purchase unit when only digital items are in the unit 2020-09-03 07:02:09 +03:00
David Remer
7069925a30 default name of gateway is 'PayPal' 2020-09-03 06:58:47 +03:00
David Remer
98d9292b2b Merge branch 'master' into pcp-50-settings-in-one-gateway 2020-09-02 15:39:56 +03:00
David Remer
3aa82347e5 use new svgs / pcp-38 2020-09-02 15:39:46 +03:00
David Remer
5fc8dde271 codestyle 2020-09-02 14:53:30 +03:00
David Remer
ccda439569 fix tests 2020-09-02 13:54:53 +03:00
David Remer
57a6f8b85c add setting and manage availability of dcc gateway 2020-09-02 13:52:40 +03:00
David Remer
f9e64abe14 do not show general enable checkbox on credit card 2020-09-02 13:02:31 +03:00
David Remer
2eea01effe fix toggle for which options to update and listen to 2020-09-02 13:02:00 +03:00
David Remer
8aef527108 fix some logic in toggling settings 2020-09-02 12:58:06 +03:00
David Remer
430ffe457e fix wording 2020-09-02 12:48:10 +03:00
David Remer
70d866d53e make sure return value is string 2020-09-02 12:47:53 +03:00