Commit graph

1646 commits

Author SHA1 Message Date
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
Emili Castells
861d22872c
Merge pull request #724 from woocommerce/PCP-664-1.9.0-test1-feature-capitalizati
[PUI] Feature capitalization not consistent (664)
2022-07-08 14:14:28 +02:00
dinamiko
37c608474b Make pui capitalizacion consistent 2022-07-08 12:01:19 +02:00
dinamiko
31823216e9 Load pui js script only in chekcout page 2022-07-08 11:54:23 +02:00
Emili Castells
b84d6b7f25
Merge pull request #686 from woocommerce/PCP-260-card-type-detection-not-working
Fix credit card detection.
2022-07-08 10:36:13 +02:00
Emili Castells
a746548a65
Merge pull request #691 from woocommerce/PCP-624-pay-later-messaging-displayed-when-variation-is-not-selected
Pay later messaging displayed when variation is not selected
2022-07-08 10:35:22 +02:00
Emili Castells
37458baed5
Merge pull request #692 from woocommerce/PCP-199-pay-later-messaging-only-display-with-smart-buttons
Fix messaging display when the buttons are disabled.
2022-07-08 10:32:48 +02:00
Emili Castells
9dd23f3ccf
Merge pull request #714 from woocommerce/PCP-735-1.9.0-test5---missing-paypal-fee
Missing PayPal fee in WC order details for PUI purchase (735)
2022-07-08 10:31:49 +02:00
Emili Castells
9de45ae393
Merge pull request #711 from woocommerce/PCP-733-1.9.0-test5---pui-gateway-is-dis
PUI gateway is displayed with unsupported store currency (733)
2022-07-08 10:31:04 +02:00
Emili Castells
4c6b7b9659
Merge pull request #719 from woocommerce/pcp-443-fix-vaulted-card-button
Fix vaulted card button on order page
2022-07-08 10:26:53 +02:00
Alex P
2ca64739db Use str value when checking mismatch
Otherwise the check may fail depending on the rounding used when creating the Money objects
2022-07-07 12:36:14 +03:00
Alex P
82adf1933f Refactor money value formatting
Do not duplicate code and send string value for JPY
2022-07-07 12:34:21 +03:00
dinamiko
8da7bbfc87 Fix psalm 2022-07-06 10:50:52 +02:00
dinamiko
faa406fbd8 Introduce payment capture pending webhook (WIP) 2022-07-06 10:35:53 +02:00
Alex P
9ab091b945 Fix shipping preference for vaulted card button 2022-07-05 17:30:12 +03:00
dinamiko
631529adce Set oxxo payment source from wc order 2022-07-05 16:05:23 +02:00
dinamiko
93778b1539 Add payer action to wc order (WIP) 2022-07-05 15:49:59 +02:00
Alex P
fff2570124 Refactor shipping_preference
Extract its determination to a separate class, also remove useless CartRepository and use single PU to avoid confusion.
2022-07-05 14:37:04 +03:00
dinamiko
c27d49d86d Fix psalm 2022-07-05 11:38:14 +02:00