Emili Castells Guasch
3fc48935a1
Update code comments
2025-07-07 12:06:31 +02:00
Emili Castells Guasch
35db339221
Add onClick and paymentMethodId to set correct payment method
2025-07-04 17:05:27 +02:00
Emili Castells Guasch
5d592c0173
Remove console logs
2025-07-04 16:57:26 +02:00
Emili Castells Guasch
3e1cdc9288
Remove onClick function parameter
2025-07-04 16:33:31 +02:00
Emili Castells Guasch
df7077faf6
Add onClick from component to google pay click handler
2025-07-04 15:24:08 +02:00
Philipp Stracker
3ace72fdf2
🔊 Improve 3DS logging
2025-04-23 18:25:27 +02:00
Philipp Stracker
c798172fd2
🔊 Add one additional log to confirm 3DS process
2025-04-23 14:57:27 +02:00
Philipp Stracker
581607223c
🎨 Make the JS code more readable
2025-03-04 17:55:57 +01:00
Philipp Stracker
60ab51a2f8
🎨 Slightly simplify JS return value
2025-03-04 17:14:07 +01:00
Philipp Stracker
ff40717c69
🎨 Add missing semicolon
2025-03-04 14:38:50 +01:00
Philipp Stracker
c1a3ff4814
🔥 Clean up GooglepoayButton
2025-03-04 14:38:37 +01:00
Philipp Stracker
b85d1a5806
👔 Add initial 3DS status parsing logic
2025-03-03 18:59:50 +01:00
Philipp Stracker
3e2a1f347f
♻️ Make the final server-side approval conditional
...
With 3DS the final approval should only fire when the 3DS process was successful. Note that we still need to implement a check to confirm the verification via API
2025-03-03 17:25:55 +01:00
Philipp Stracker
7b579bfc9b
♻️ Simplify the payment flow before order approval
2025-03-03 16:51:26 +01:00
carmenmaymo
ca76d33aa3
Use capture for 3ds in google
2025-03-03 15:34:45 +01:00
Philipp Stracker
12b5fe8082
♻️ Embed a function that’s only locally used
2025-02-26 18:09:20 +01:00
Philipp Stracker
5a5074df8c
♻️ Flatten processPayment to functon body
...
This makes the flow easier to understand and debug
2025-02-26 18:01:39 +01:00
Philipp Stracker
672641ba82
♻️ Simplify control flow by removing a Promise
2025-02-26 17:59:35 +01:00
Philipp Stracker
d6e66fd55c
♻️ Extract createOrder into the main function body
2025-02-26 17:55:57 +01:00
Philipp Stracker
c4a269780f
♻️ Rearrange code
2025-02-26 17:53:25 +01:00
Philipp Stracker
d3ddc625d8
♻️ Start to simplify processPayment logic
2025-02-26 17:52:44 +01:00
Philipp Stracker
63dfb167fb
🐛 Wire up the broken processPayment logic
...
While removing the PAYMENT_AUTHORIZATION intent, we also removed the processPayment call from the Google Pay button handler. This change restores the correct payment processing flow
2025-02-26 17:23:16 +01:00
Philipp Stracker
57e91432c7
🎨 Improve code readability
2025-02-26 16:53:07 +01:00
Philipp Stracker
83d6998cd5
🔊 Improve logging for “initiatePaymentRequest”
2025-02-26 16:36:35 +01:00
Philipp Stracker
7035e1edbc
🎨 Correctly annotate promise return values
2025-02-26 16:34:28 +01:00
Philipp Stracker
4c10d84d24
👔 Remove the PAYMENT_AUTHORIZATION intent
...
This changes the layout of the GooglePay sheet to unlock more test-cards in sandbox mode. It’s the first step in enabling 3DS testing
2025-02-26 16:05:00 +01:00
Daniel Dudzic
f51c41d222
Merge branch 'trunk' of github.com:woocommerce/woocommerce-paypal-payments into PCP-3827-implement-block-button-styles-for-google-pay-button
2024-11-07 01:16:51 +01:00
Daniel Dudzic
b117ff9b7c
Add ButtonOptions support for the Google Pay button
2024-11-07 01:00:53 +01:00
Philipp Stracker
e95321cf82
🐛 Fix incorrect validation rule
2024-10-09 14:04:21 +02:00
Philipp Stracker
f41fa4f951
✨ Streamline button configuraton validation logic
2024-10-08 18:47:32 +02:00
Philipp Stracker
368ad49d16
🎨 Minor changes in comment linebreaks
2024-09-18 17:33:27 +02:00
Philipp Stracker
a665529b78
🔀 Merge branch 'trunk'
...
# Conflicts:
# modules/ppcp-googlepay/resources/js/GooglepayButton.js
2024-09-06 15:35:27 +02:00
Philipp Stracker
b3a05ae3d8
🐛 Fix bug with defaultShippingId
2024-09-04 12:02:23 +02:00
Philipp Stracker
a467533ba6
🐛 Sync WC shipping details with Google Pay
...
This change keeps the checkout & cart forms in-sync with the Google Pay form, to ensure the form submits the same details that the user can see inside Google Pay
2024-08-26 17:10:51 +02:00
Philipp Stracker
b4cd6bb121
🐛 Fix critical Google Pay error
2024-08-23 11:52:00 +02:00
Philipp Stracker
fe39793e9a
🔀 Merge branch 'trunk'
...
# Conflicts:
# modules/ppcp-googlepay/resources/js/GooglepayButton.js
2024-08-22 12:04:13 +02:00
Philipp Stracker
97379628d4
✨ Send payer details with order approval request
...
First step to integrate payer details in the payment flow without final confirmation.
2024-08-20 15:37:26 +02:00
Philipp Stracker
c48c94e09d
✨ New CheckoutBootstrap for GooglePay
...
This new module uses previously stored payer details to populate the checkout form on the classic checkout page.
2024-08-20 14:19:41 +02:00
Philipp Stracker
63b5055903
💡 Document payment workflow
2024-08-20 14:16:57 +02:00
Philipp Stracker
cf83d2ba6e
🐛 Fix critical typo
2024-08-16 18:54:55 +02:00
Philipp Stracker
c007d7909c
✨ Option to only set missing billing details
2024-08-16 18:45:49 +02:00
Philipp Stracker
63e9c8bf27
✨ New ConsoleLogger group
method
...
Groups subsequent console.log output, for cleaner console output
2024-08-16 18:15:59 +02:00
Philipp Stracker
00e2959700
✨ Get payee details without shipping callback
2024-08-16 18:14:35 +02:00
Philipp Stracker
ac98600b8f
🔥 Simplify code, remove console output
2024-08-13 20:23:51 +02:00
Philipp Stracker
f2301a4674
🐛 Fix price calculation on pages with cart
...
This covers: Mini-Cart, Classic Cart, Block Cart, Classic Checkout, Block Checkout, Pay-Now page
2024-08-13 20:02:49 +02:00
Philipp Stracker
8f191c2d49
🐛 Fix the price calculation on product page
2024-08-13 19:36:37 +02:00
Philipp Stracker
179c1d6831
🔥 Minor clean-up
2024-08-13 19:34:13 +02:00
Philipp Stracker
7946150f5b
✨ New TransactionInfo DTO
2024-08-13 18:41:42 +02:00
Philipp Stracker
6b5421a2b1
🐛 Include shipping costs in Google Pay dialog
2024-08-13 15:41:10 +02:00
Philipp Stracker
b37d8cf838
💡 Improve some code comments
2024-08-12 18:52:02 +02:00