Commit graph

943 commits

Author SHA1 Message Date
Alex P
e55e2d9c81 Merge branch 'trunk' into pcp-697-separate-gateway 2022-07-26 15:28:27 +03:00
Alex P
9215ac24a4 Show notice if card button gateway without paypal gateway 2022-07-26 15:28:15 +03:00
Alex P
c2d0a3aa69 Add an option to hide card button gateway if not needed 2022-07-26 10:58:21 +03:00
Alex P
ab69f40220 Make Enable checkbox text more consistent 2022-07-26 10:31:53 +03:00
Alex P
55b2adf2aa Show billing data mode in card button gateway settings 2022-07-25 15:47:38 +03:00
Alex P
73dc768955 Merge branch 'trunk' into pcp-697-separate-gateway 2022-07-25 11:08:43 +03:00
dinamiko
55d57b59ce Ensure order-pay exists on query vars 2022-07-22 12:18:17 +02:00
dinamiko
bad4ed3a64 Check order currency on pay for order 2022-07-22 11:24:10 +02:00
dinamiko
5a80c45a8d Do not allow bith date older than 100 years 2022-07-22 10:23:12 +02:00
dinamiko
c802d5dea8 Make string translatable 2022-07-21 16:31:13 +02:00
dinamiko
7d7f1f55d5 Make string translatable and return json error when oxxo endpoint fail 2022-07-21 15:30:30 +02:00
dinamiko
1acd986083 Merge branch 'trunk' into PCP-726-add-oxxo-apm-alternative-payment 2022-07-21 15:16:39 +02:00
dinamiko
67a4e53f05 Merge branch 'trunk' into PCP-799-pui-feature-request-add-option-for-a-phone-number-field-next-to-the-birth-date-field 2022-07-21 14:33:14 +02:00
Alex P
b7199dbbbf Fix phpcs warning 2022-07-21 15:25:30 +03:00
dinamiko
8b45076412 Add phone field to pui when is removed from checkout 2022-07-21 14:15:25 +02:00
dinamiko
4de7321d30 Fix wrong locale for PUI experience context 2022-07-21 11:45:39 +02:00
dinamiko
de842543cd Fix psalm 2022-07-21 10:21:45 +02:00
Alex P
ec8ba15092 Fix dcc gateway 2022-07-21 11:15:39 +03:00
dinamiko
ea79ec36d5 Add oxxo payer action link to both admin and customer order 2022-07-21 10:09:53 +02:00
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
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
dinamiko
51001c388e Change button text in oxxo gateway 2022-07-19 12:56:59 +02:00
Alex P
c11635343d Remove dcc continuation leftovers 2022-07-19 09:29:12 +03:00
Alex P
d4e8bd453c Add card button gateway 2022-07-19 09:20:26 +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
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
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