Commit graph

1224 commits

Author SHA1 Message Date
David Remer
14e31e3a0d make sure a order has captures before trying to refund them 2020-09-29 13:26:22 +03:00
David Remer
f236ad67ae check if refund reason exists 2020-09-29 13:21:01 +03:00
David Remer
2f474cc8ae add disconnect button 2020-09-29 12:48:02 +03:00
David Remer
15580be431 resolve merge conflict 2020-09-29 12:22:24 +03:00
Rasmy Nguyen
92276f9aa9
Merge pull request #46 from woocommerce/issue-34-disable-dcc-when-gateway-disabled
Disable both gateways when gateway setting 'enabled' is false
2020-09-29 07:46:02 +00:00
David Remer
8c6cb68b0c extract logic for disabling both gateways into a helper function 2020-09-29 10:17:59 +03:00
David Remer
7caa0d3dbf change target to apply block() 2020-09-29 10:11:27 +03:00
David Remer
82be811271 validate if credit card can be used in a country 2020-09-29 09:59:22 +03:00
David Remer
07f08a2d34 make sure sandbox and production data is present before setting client_id in settingslistener 2020-09-28 15:41:10 +03:00
David Remer
be331f9191 Merge branch 'master' of github.com:woocommerce/paypal-for-woocommerce 2020-09-28 14:55:05 +03:00
David Remer
44e72816b9 check if #ppcp-hide-dcc exists before attempting to remove it 2020-09-28 14:54:52 +03:00
David Remer
cc1365d5e9 disable gateways when gateway setting 'enabled' is false 2020-09-28 14:10:39 +03:00
David Remer
4322386c85 activate spinner when credit card button is clicked 2020-09-28 14:05:02 +03:00
David Remer
fed6df2578 map master_card to mastercard 2020-09-28 12:13:19 +03:00
David Remer
d6abaafadb enable refunds through gateway 2020-09-28 11:47:24 +03:00
Rasmy Nguyen
5951d796b0
Merge pull request #26 from woocommerce/issue-19-dcc-logos
Adds spacing to visible logos in checkout, and removes logos and related HTML from order confirmation page.
2020-09-28 06:33:30 +00:00
David Remer
091077d0ee codestyle 2020-09-25 12:34:39 +03:00
David Remer
5c590c9816 fix stylesheet 2020-09-25 12:27:42 +03:00
David Remer
e8a3b3d28c remove reset functionality from Settings container 2020-09-25 12:01:33 +03:00
David Remer
074a6ea139 remove the toggle for a credentials set once those are set. 2020-09-25 11:58:30 +03:00
David Remer
e5a569e0a0 seperate state detection by production/sandbox 2020-09-25 11:38:22 +03:00
David Remer
3733576dff fully onboarded needs all credentials being present 2020-09-25 11:24:05 +03:00
David Remer
2cb16565cd redirect when merchant_email has been stored from GET parameters. 2020-09-25 10:10:03 +03:00
David Remer
d7cd055a28 connect the referral endpoints always to the connect.woocommerce instance 2020-09-25 10:09:35 +03:00
David Remer
28863a2b4e make sure client_id and client_secret are properly stored. 2020-09-25 09:56:43 +03:00
David Remer
de4dc878ef store credentials also in the sandbox-prod-credential buckets when returning from paypal 2020-09-25 09:38:01 +03:00
David Remer
9327b19b7d add new fields for production and sandbox credentials.
Change toggle functionality. Load connect-to-sandbox-button and connect-to-production-button in case credentials are missing
2020-09-25 09:19:43 +03:00
David Remer
8d682afc6c add new setting fields to differentiate between live/sandbox credentials 2020-09-25 07:17:48 +03:00
David Remer
a00f6e3ae8 Assign CSS properties correctly to chrome 2020-09-24 14:15:59 +03:00
David Remer
8a3ae89d40 codestyle fix 2020-09-24 13:43:28 +03:00
David Remer
b41e760df6 fix button toggle, which was prevented from the general checkbox change handler 2020-09-24 13:40:43 +03:00
David Remer
6d8b6bf693 prevent 'do you want to leave'-alert when redirect occurs through paypal module. 2020-09-24 12:50:35 +03:00
David Remer
3281043bc2 do not show enable button on start screen 2020-09-24 12:49:57 +03:00
David Remer
16ad8c9cd1 resolve merge conflict 2020-09-24 10:54:28 +03:00
David Remer
bc2f12e343
Merge branch 'master' into issue-19-dcc-logos 2020-09-24 10:49:37 +03:00
David Remer
5907d03ced move merchant email into toggle 2020-09-24 10:46:31 +03:00
David Remer
2679afd819 keep email input always editable without the need of reset 2020-09-24 10:44:39 +03:00
David Remer
1b3061f59a save merchant email when merchant comes back from onboarding 2020-09-24 10:42:38 +03:00
David Remer
9f45ca618f remove some setting fields from start screen 2020-09-24 10:42:20 +03:00
David Remer
09a5f0e466 enable loginseller endpoint to switch between sandbox and live 2020-09-24 10:29:09 +03:00
David Remer
6f870ec7a5 render sandbox and live connect button and toggle between those depending on sandbox checkbox 2020-09-24 09:58:28 +03:00
David Remer
b70819847b load onboarding script on start screen 2020-09-24 09:57:55 +03:00
David Remer
920b428ac7 show buttons on start screen 2020-09-24 09:50:06 +03:00
Rasmy Nguyen
b13476de38
Merge pull request #31 from woocommerce/issue-12-invoice-prefix
rename installation prefix to invoice prefix
2020-09-24 06:43:34 +00:00
David Remer
7fd2712aa4 do not send the email when creating referreldata for link 2020-09-24 09:38:20 +03:00
Rasmy Nguyen
d1f1215dc9
Merge pull request #25 from woocommerce/issue-23-hide-credentials
Enable merchant to hide credentials after showing them
2020-09-24 06:24:21 +00:00
David Remer
25fa11b0f8 extract sandbox host into its own container key.
With #21, we do not know anymore if we are currently in sandbox or production mode. We seperate the two hosts, so we can later instantiate different Api endpoint objects with different hosts. This enables us to call two different hosts in the same PHP process. In the current scope, just seperating the hosts (and not secrets/keys) should be sufficient.
2020-09-24 08:41:08 +03:00
David Remer
6ee4ca0b2a rename installation prefix to invoice prefix 2020-09-24 08:02:32 +03:00
David Remer
b01f03663e add heading for checkout settings 2020-09-24 07:59:01 +03:00
David Remer
e161a42082 add padding to the button of the logos 2020-09-24 07:53:01 +03:00