Commit graph

1514 commits

Author SHA1 Message Date
Alex P
0c17c6b1de Allow to choose one of 3 card billing data handling modes
also handle it in one place, no need to mess with payer parsing and JS
2022-07-20 17:28:55 +03:00
dinamiko
eb4fc639fc Fix psalm 2022-07-20 12:16:33 +02:00
dinamiko
e1cd7d5ad1 Add update status note for capture denied 2022-07-20 11:37:28 +02:00
Emili Castells
d9a6a89f2c
Merge pull request #737 from woocommerce/dependabot/npm_and_yarn/modules/ppcp-webhooks/terser-5.14.2
Bump terser from 5.9.0 to 5.14.2 in /modules/ppcp-webhooks
2022-07-20 10:41:50 +02:00
dependabot[bot]
64ad36073b
Bump terser from 5.9.0 to 5.14.2 in /modules/ppcp-vaulting
Bumps [terser](https://github.com/terser/terser) from 5.9.0 to 5.14.2.
- [Release notes](https://github.com/terser/terser/releases)
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/terser/terser/commits)

---
updated-dependencies:
- dependency-name: terser
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-20 08:11:16 +00:00
dependabot[bot]
d9a7369d19
Bump terser from 5.9.0 to 5.14.2 in /modules/ppcp-webhooks
Bumps [terser](https://github.com/terser/terser) from 5.9.0 to 5.14.2.
- [Release notes](https://github.com/terser/terser/releases)
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/terser/terser/commits)

---
updated-dependencies:
- dependency-name: terser
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-20 08:10:57 +00:00
Emili Castells
f9dd12db06
Merge pull request #735 from woocommerce/dependabot/npm_and_yarn/modules/ppcp-button/terser-5.14.2
Bump terser from 5.9.0 to 5.14.2 in /modules/ppcp-button
2022-07-20 10:08:22 +02:00
dependabot[bot]
b83f1fe3a4
Bump terser from 5.9.0 to 5.14.2 in /modules/ppcp-wc-gateway
Bumps [terser](https://github.com/terser/terser) from 5.9.0 to 5.14.2.
- [Release notes](https://github.com/terser/terser/releases)
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/terser/terser/commits)

---
updated-dependencies:
- dependency-name: terser
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-20 07:53:12 +00:00
dependabot[bot]
e2e01220e8
Bump terser from 5.9.0 to 5.14.2 in /modules/ppcp-button
Bumps [terser](https://github.com/terser/terser) from 5.9.0 to 5.14.2.
- [Release notes](https://github.com/terser/terser/releases)
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/terser/terser/commits)

---
updated-dependencies:
- dependency-name: terser
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-20 07:51:24 +00:00
Alex P
1b1091051d Render separately only if needed
to avoid breaking things. e.g. horizontal layout
2022-07-19 20:52:04 +03:00
Alex P
dc0bc3ba0a Render all buttons separately to allow hiding sources in paypal gateway 2022-07-19 14:04:19 +03:00
dinamiko
51001c388e Change button text in oxxo gateway 2022-07-19 12:56:59 +02:00
Alex P
429260ca34 Do not disable card funding source if card gateway enabled 2022-07-19 11:14:53 +03:00
Alex P
c11635343d Remove dcc continuation leftovers 2022-07-19 09:29:12 +03:00
Alex P
619e9d2552 Change address handling for card button
Make the name field to always appear and send at least one address
2022-07-19 09:24:19 +03:00
Alex P
d4e8bd453c Add card button gateway 2022-07-19 09:20:26 +03:00
Alex P
0ff11054f8 Refactor button renderer settings handling 2022-07-18 16:27:06 +03:00
Alex P
8c77258828 Add option for sending billing data 2022-07-18 16:24:53 +03:00
dinamiko
2943c0d8aa Render oxxo voucher link into on-hold email notification 2022-07-18 14:31:46 +02:00
dinamiko
e4b15c78d1 Delete payment capture denied handler 2022-07-18 12:29:30 +02:00
dinamiko
1ce9a5750b Delete payment capture denied handler 2022-07-18 12:08:25 +02:00
dinamiko
2b8281e0f4 Introduce payment capture denied webhook (WIP) 2022-07-18 12:03:52 +02:00
dinamiko
abf61a14b8 Do not process payment for oxxo in return url endpoint 2022-07-15 16:33:49 +02:00
dinamiko
d1c4850c4d Do not render custom oxxo button in checkout 2022-07-15 16:05:13 +02:00
dinamiko
752d327188 Fix phpcs 2022-07-15 12:38:38 +02:00
dinamiko
b655d3a710 Fix phpcs 2022-07-15 12:27:04 +02:00
dinamiko
5a1ee6f00e Get payer action from gateway response and use it for opening the modal 2022-07-15 12:17:06 +02:00
dinamiko
859c99aa49 Get payer action from gateway response and use it for opening the modal 2022-07-15 12:13:38 +02:00
dinamiko
400d834e52 Do not render oxxo payer action button in thank you page for now 2022-07-14 12:51:43 +02:00
dinamiko
7985999192 Resize and center oxxo modal window 2022-07-14 12:40:04 +02:00
dinamiko
07da639f9d Add oxxo button to show hide gateway visibility 2022-07-14 12:27:53 +02:00
dinamiko
ece598921c Run checkout js validation before calling PayPal 2022-07-14 10:38:27 +02:00
dinamiko
09ef106a80 Refactor to create PayPal order first 2022-07-13 16:11:33 +02:00
Alex P
fb0bd85da6 Extract saved payment check scheduling 2022-07-13 15:20:39 +03:00
Alex P
5bdc4b78c1 Extract generate_ppcp_html 2022-07-13 15:20:26 +03:00
Alex P
1a5eb500a5 Cleanup gateways, move process_payment 2022-07-13 09:51:23 +03:00
Alex P
0ce3af03c3 Extract error message 2022-07-12 21:19:21 +03:00
dinamiko
d248a278be Do not complete payment on CHECKOUT.ORDER.APPROVED handler 2022-07-12 15:19:24 +02:00
dinamiko
f7d8315577 Fix phpcs 2022-07-12 14:50:04 +02:00
Alex P
81c786150d Remove attempt to use non-existing .issues property
I think it never worked, and the API docs do not mention it (only the single .issue property),
and either way this usage here does not seem helpful, issue/description still contains the same unfriendly text as in the exception message already
2022-07-12 15:46:34 +03:00
dinamiko
52c3cc72a8 Open payer action in modal window 2022-07-12 14:44:08 +02:00
Alex P
966e3169e4 Refactor gateway error/success handling 2022-07-12 15:37:36 +03:00
dinamiko
e1ff5c240b Fix merge conflicts 2022-07-11 12:54:43 +02:00
dinamiko
cbe10b5f6e Fix merge issues 2022-07-11 12:30:29 +02:00
dinamiko
5f90aaae20 Merge trunk 2022-07-11 11:51:04 +02:00
dinamiko
d699ba61bf Check gateway enabled to load pui js 2022-07-11 09:34:40 +02:00
Alex P
e73ebbadb6 Fix phpcs warnings 2022-07-11 09:19:27 +03:00
Narek Zakarian
1336180fd9 fix PHPcs problems 2022-07-08 19:52:22 +04:00
Narek Zakarian
642398d682 Merge remote-tracking branch 'origin/trunk' into PCP-581-capture-virtual-only-orders-problem-for-subscriptions
# Conflicts:
#	modules/ppcp-subscription/src/RenewalHandler.php
2022-07-08 19:47:45 +04:00
Narek Zakarian
ac983072b2 Merge remote-tracking branch 'origin/trunk' into PCP-581-capture-virtual-only-orders-problem-for-subscriptions 2022-07-08 19:41:58 +04:00