Commit graph

4417 commits

Author SHA1 Message Date
Philipp Stracker
734951adcb
♻️ Minor cleanup 2024-08-21 14:21:45 +02:00
Philipp Stracker
eba92e6b81
Detect logged in customer in checkout module 2024-08-21 13:52:11 +02:00
Philipp Stracker
9157547993
♻️ Improve PayerData module 2024-08-21 13:51:40 +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
c39a623de9
🔀 Merge branch 'trunk' 2024-08-20 14:31:59 +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
a51748f805
💡 Improve comments in PayerData module 2024-08-20 14:18:30 +02:00
Philipp Stracker
63b5055903
💡 Document payment workflow 2024-08-20 14:16:57 +02:00
Philipp Stracker
451dc842ed
New LocalStorage module for Google Pay 2024-08-20 13:47:00 +02:00
Emili Castells
31afc7263e
Merge pull request #2506 from woocommerce/PCP-3492-static-meta-comment-in-html-source-when-fastlane-is-active
Update static meta value for Fastlane feature detection (3492)
2024-08-20 12:15:42 +02:00
Emili Castells
7806195c7f
Merge pull request #2520 from woocommerce/fastlane
Fastlane
2024-08-19 12:12:41 +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
2944ecc786
🐛 Fix issue with missing button in checkout
When the separate “Google Pay gateway” is disabled, the Google Pay button should be rendered inside the “PayPal gateway” container.
2024-08-13 12:26:44 +02:00
Philipp Stracker
d9a0c6e19a
💡 Add comments to context options 2024-08-13 12:24:32 +02:00
Philipp Stracker
b37d8cf838
💡 Improve some code comments 2024-08-12 18:52:02 +02:00
Philipp Stracker
5a870de4f4
🔥 Remove unused getter 2024-08-12 18:51:37 +02:00
Philipp Stracker
966b76102c
🐛 Fix init errors “No API configuration...”
Caused by calling `reinit()` before the invoking `init()` first. New condition in `reinit()` ensures that the button configuration is present.
2024-08-12 18:50:17 +02:00
Philipp Stracker
3879c417aa
💬 Add “ppcp.axo.” prefix to meta value 2024-08-12 18:03:32 +02:00
Philipp Stracker
843403cbdc
🔊 Console error when button init fails 2024-08-12 17:38:43 +02:00
Philipp Stracker
e80b81da72
🐛 Fix missing button outline in front end 2024-08-11 14:02:17 +02:00
Philipp Stracker
a5d227c6bb
🔀 Merge branch 'trunk'
# Conflicts:
#	modules/ppcp-googlepay/resources/js/GooglepayButton.js
2024-08-11 13:14:51 +02:00
Philipp Stracker
bfeaefd45a
🐛 Fix remaining issue on classic checkout page 2024-08-11 13:11:04 +02:00
Emili Castells
82000a4b49
Merge pull request #2498 from woocommerce/PCP-3522-apple-pay-switching-between-shipping-methods-inside-the-modal-fails-in-classic-checkout
Apple Pay: Fix switching between shipping methods inside the modal (3522)
2024-08-09 16:31:06 +02:00
Philipp Stracker
6aad61f610
🐛 Fetch transaction details on button click
Fixes an issue with multiple payment buttons on one page, like Mini-Cart and Single Product
2024-08-09 16:23:44 +02:00
Emili Castells Guasch
627328df9c Remove cache references 2024-08-09 12:33:05 +02:00
Emili Castells Guasch
dbf303b2f6 Do not cache access tokens for data-user-id-token 2024-08-09 12:08:24 +02:00
Philipp Stracker
7106413f87
🐛 Refresh total price when checkout form changes
Applies the selected shipping costs to the Google Payment button
2024-08-08 21:01:22 +02:00
Philipp Stracker
c382b5cee1
🐛 Fix incorrect event listeners 2024-08-08 20:36:16 +02:00
Philipp Stracker
dada95520e
🐛 Fix incorrect preview update on settings page 2024-08-08 18:52:53 +02:00
Philipp Stracker
4311e94297
🚧 Allow updating transaction details 2024-08-08 17:55:49 +02:00
Philipp Stracker
722289a545
Provide means to update styling of a button
Before this, we needed to create a new button instance to display changes in button style. This allows updating an existing button instance
2024-08-08 17:53:59 +02:00
Niklas Gutberlet
0887a0a5f7
Update AxoGateway.php
approved by Fastlane main developer
2024-08-08 16:00:24 +02:00
Daniel Dudzic
4e3323c58a
Merge branch 'trunk' of github.com:woocommerce/woocommerce-paypal-payments into fastlane 2024-08-08 15:58:26 +02:00
Daniel Dudzic
f52117c196
Apple Pay: Fix shipping method switching inside of the Apple Pay modal in Classic Checkout 2024-08-08 15:38:08 +02:00
Philipp Stracker
3538a69402
️ Only recreate payment button when needed
Check if the button is still in DOM before recreating it
2024-08-08 14:42:01 +02:00
Philipp Stracker
934441fdeb
🐛 Fix initial visibility of payment button 2024-08-08 14:41:09 +02:00
Philipp Stracker
4ca309768e
♻️ Extract the GooglePayPreviewButton to own file
Also note the change in line 43 (new file) where we use `new GooglepayButton` instead of `GooglepayButton.createButton`
2024-08-08 14:09:43 +02:00
Philipp Stracker
844cafd9cb
💡 Use ConsoleLogger for PreviewButtonManager
Also add some comments and additional log output
2024-08-08 14:08:20 +02:00
Philipp Stracker
7729007774
♻️ Unify constructor arguments of PaymentButton
Factory method and constuctor have same arguments in the same order
2024-08-08 14:05:57 +02:00
Philipp Stracker
9ac4300995
🐛 Address some errors in preview (Settings page) 2024-08-08 13:10:26 +02:00
Philipp Stracker
7f3636348b
🐛 Fix button insertion logic in block checkout
The Google Pay button was inserted into the wrong DOM wrapper
2024-08-07 23:07:04 +02:00
Philipp Stracker
e9c557a361
🐛 Fix issue with duplicate button instances
On Block Checkout pages, there were multiple PaymentButton instances for the same context.
2024-08-07 22:36:35 +02:00
Philipp Stracker
95c7d4f7bc
♻️ Simplify PaymentButton creation code 2024-08-07 18:26:02 +02:00
Philipp Stracker
8c811d9f8e
🥅 Improve code stability and documentation 2024-08-07 15:45:28 +02:00
Philipp Stracker
7c8c9429e0
🐛 Fix Google Pay button on non-checkout pages
Reflect changes of PR #2495
2024-08-07 15:19:34 +02:00
Philipp Stracker
e41470b159
🐛 Fix Google Pay button on non-checkout pages 2024-08-07 15:01:27 +02:00
Philipp Stracker
429568fbd9
🔥 Minor cleanup 2024-08-07 14:48:36 +02:00