Commit graph

4678 commits

Author SHA1 Message Date
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
Muhammad Ahmed
eb2250b0e6
Update PaymentsStatusHandlingTrait.php
Improve error handling in `PaymentsStatusHandlingTrait` to avoid null reference errors

- Added safety checks for purchase_units, payments, captures, and authorizations
- Ensured that methods are only called when necessary data exists
- Skipped processing if data is missing, preventing potential fatal errors without logging
- Enhanced code robustness for production environment
2024-08-20 16:46:48 +05:00
Emili Castells Guasch
3dc3026c29 Add refunds support for bancontact gateway and fix tests 2024-08-20 12:43:25 +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 Guasch
fee2b0ff0f Throw api exception if wrong response code 2024-08-20 11:42:29 +02:00
Emili Castells Guasch
27fd033393 Fix show payment based on country 2024-08-20 11:24:10 +02:00
Emili Castells Guasch
0127512535 Fix show payment based on country 2024-08-20 11:08:03 +02:00
Emili Castells Guasch
4879425e1d Show or hide bancontact in checkout page based on country and currency 2024-08-19 15:47:38 +02:00
Emili Castells Guasch
83424f1110 Merge branch 'trunk' into PCP-3317-implement-ap-ms-via-orders-api 2024-08-19 12:17:30 +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
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
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
9002688f69
Add SVGs to git 2024-08-13 11:50:36 +04:00
George Burduli
42c2e4c927
Remove redundant PNGs 2024-08-13 11:47:22 +04:00
George Burduli
95487b69e1
Update Apple Pay icon with SVG 2024-08-13 11:45:53 +04:00
George Burduli
9fbc28506f
Update Google Pay icon with SVG 2024-08-13 11:41:32 +04:00
George Burduli
89a5943a3f
Fix incorrect condition 2024-08-13 11:08:50 +04: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
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