Commit graph

6343 commits

Author SHA1 Message Date
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
3b92eaac81
Store shipping cost in the DTO 2024-08-13 19:31:51 +02:00
Philipp Stracker
611ab4c5a7
New TransactionInfo DTO 2024-08-13 18:53:39 +02:00
Philipp Stracker
7946150f5b
New TransactionInfo DTO 2024-08-13 18:41:42 +02:00
Emili Castells Guasch
10172907df Handle errors from PayPal response 2024-08-13 16:14:15 +02:00
Philipp Stracker
6b5421a2b1
🐛 Include shipping costs in Google Pay dialog 2024-08-13 15:41:10 +02:00
Philipp Stracker
b380350a75
Include numeric shipping cost in ShippingOptions 2024-08-13 15:10:42 +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
George Burduli
89a5943a3f
Fix incorrect condition 2024-08-13 11:08:50 +04:00
Diego Curbelo
0b7a91fa35
Merge remote-tracking branch 'origin/release/2.8.3' into trunk 2024-08-12 19:06:34 -03:00
Diego Curbelo
f59bdf2882
woorelease: Product version bump update 2024-08-12 18:51:48 -03: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
Emili Castells Guasch
86acc00f85 Hide bancontact from PayPal buttons 2024-08-12 17:19:40 +02:00
Emili Castells Guasch
1628f86d4c Merge branch 'trunk' into PCP-3317-implement-ap-ms-via-orders-api 2024-08-12 16:08:01 +02:00
Emili Castells Guasch
76c723029d Show bancontact payment gateway only if match eligibility 2024-08-12 16:06:44 +02:00
Emili Castells Guasch
ce25dee734 Add bancontact component 2024-08-12 11:54:14 +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 Guasch
60885b2ad9 Add bancontact block checkout boilerplate 2024-08-09 18:27:00 +02:00
Emili Castells Guasch
633ae1aed0 Add process payment for bancontact gateway (WIP) 2024-08-09 17:21:38 +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
Emili Castells
2f35c65307
Merge pull request #2502 from woocommerce/PCP-3520-saved-pay-pal-account-isnt-displayed-on-checkout
Saved PayPal account isn't displayed on checkout (3520)
2024-08-09 16:30:45 +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
Emili Castells Guasch
a65d4fb2dc Add wc payment gateway boilerplate 2024-08-08 14:24:47 +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
Emili Castells Guasch
7b22040710 Add module boilerplate 2024-08-08 12:43:29 +02:00
Emili Castells Guasch
c70fb24bdb Merge branch 'trunk' into PCP-3317-implement-ap-ms-via-orders-api 2024-08-08 11:58:33 +02:00