Commit graph

126 commits

Author SHA1 Message Date
Philipp Stracker
90d2c77a5a
🚚 Extract Environment class to gateway module 2025-02-03 13:34:30 +01:00
Daniel Hüsken
947f20a2a5
check if axo is enabled or not for buttons 2024-12-12 16:03:32 +01:00
Emili Castells Guasch
a10000a2d4 Get PAYMENT_STORE_KEY from global wc instead of importing 2024-12-05 11:50:43 +01:00
Daniel Hüsken
df6127e601
Check configuration later for not getting translation deprecated message 2024-12-02 11:48:55 +01:00
Daniel Dudzic
378423ef07
Fix PHPCS errors 2024-11-29 16:36:19 +01:00
Daniel Dudzic
ff72a60ad5
Axo: Ensure the Insights script is only loaded when Fastlane is enabled 2024-11-29 16:11:10 +01:00
Daniel Hüsken
d61561f913
add a filter to load the service later and only if it is needed. 2024-11-27 12:18:28 +01:00
Daniel Dudzic
55d98fdeb3
PHPCS fixes 2024-11-19 11:23:38 +01:00
Daniel Dudzic
d84f29a274
Merge branch 'trunk' of github.com:woocommerce/woocommerce-paypal-payments into PCP-3770-fastlane-implement-insights-sdk-for-block-checkout-ver2 2024-11-19 11:23:08 +01:00
Daniel Dudzic
e455561eb8
Fix parameters being passed in the wrong order 2024-11-13 11:24:31 +01:00
Daniel Dudzic
4fe7117fc9
Fix PHPCS errors 2024-11-13 10:50:35 +01:00
Daniel Dudzic
1dfcc13da4
Merge branch 'trunk' of github.com:woocommerce/woocommerce-paypal-payments into PCP-3770-fastlane-implement-insights-sdk-for-block-checkout-ver2 2024-11-13 00:17:20 +01:00
Daniel Dudzic
e25a773b0e
Fix PHPCS errors 2024-11-12 15:10:55 +01:00
Daniel Dudzic
f3c32dbe6c
Merge branch 'trunk' of github.com:woocommerce/woocommerce-paypal-payments into PCP-3783-fastlane-allow-merchants-to-disable-specific-card-types 2024-11-12 15:03:35 +01:00
Philipp Stracker
6bdee78df2
🔥 Delete unused package-lock.json 2024-11-08 15:12:37 +01:00
Alex P.
b67265ac15
Update js deps 2024-11-04 17:15:27 +02:00
Daniel Dudzic
1204edb1ca
Axo: Add PayPal Insights to the Block Checkout and fix the existing Classic Checkout integration 2024-10-29 11:04:41 +01:00
Daniel Dudzic
c89da49e8f
Add PayPalInsightsLoader for Axo Block 2024-10-23 18:45:33 +02:00
Daniel Dudzic
407f526064
Axo: Add support for shipping locations limiting 2024-10-17 23:56:03 +02:00
Daniel Dudzic
46f49574e7
Add PHPCS fixes 2024-10-16 14:26:08 +02:00
Daniel Dudzic
42805c4fb5
Add support for card icons to Axo Block and move the Change Card Link handling to the store. Also migrate the Change Card Link markup management logic to React 2024-10-16 12:51:26 +02:00
Emili Castells
c405a98382
Merge pull request #2672 from woocommerce/PCP-3767-axo-block-fix-the-handling-of-the-missing-card-profile
Axo Block: Display card fields for authenticated cardless profiles (3767)
2024-10-11 14:58:54 +02:00
Daniel Dudzic
efc2b8cf32
Axo Block: Normalize the Watermark margin pre and post email lookup 2024-10-10 20:53:53 +02:00
Daniel Dudzic
0d228d0d76
Axo Block: Always display the Fastlane watermark under the email input in the includeAdditionalInfo mode. Also move the loading spinner to the right. 2024-10-10 20:40:03 +02:00
Daniel Dudzic
733eee08a2
Merge branch 'trunk' of github.com:woocommerce/woocommerce-paypal-payments into PCP-3771-axo-refactor-pay-pal-script-loading-to-prevent-conflicts 2024-10-08 09:17:08 +02:00
Daniel Dudzic
e76c8b257b
Rename the new script loading script 2024-10-08 00:41:30 +02:00
Daniel Dudzic
eba3d12e4e
Update code comments 2024-10-07 15:42:01 +02:00
Daniel Dudzic
a874eca456
Remove log message 2024-10-07 15:35:50 +02:00
Daniel Dudzic
07bedc4460
Add the UnifiedScriptLoader and usePayPalCommerceGateway hook 2024-10-07 10:42:56 +02:00
Emili Castells
e9ef82a4da
Merge pull request #2663 from woocommerce/PCP-3752-fastlane-modal-info-message-overflow-in-the-block-checkout
Axo Block: Fix the Fastlane modal info message text overflow issue (3752)
2024-10-07 10:42:17 +02:00
Emili Castells
8f13457181
Merge pull request #2662 from woocommerce/PCP-3740-fastlane-update-fastlane-block-checkout-description-in-editor
Axo: Remove Axo from the Checkout block in the editor and add an ACDC card preview (3740)
2024-10-07 10:40:32 +02:00
Daniel Dudzic
5e1c2a22d2
Introduce a unified script loader to improve script loading, debugging and prevent conflicts 2024-10-05 02:26:09 +02:00
Daniel Dudzic
769cd3c3f7
Axo Block: Correctly reset setIsEmailLookupCompleted state when a different payment method gets selected 2024-10-04 16:13:05 +02:00
Daniel Dudzic
12fc44eaa7
Axo Block: Make sure the container exists before trying to render the Card component 2024-10-04 15:13:12 +02:00
Daniel Dudzic
af9eca7ef6
Axo Block: Display card fields when the profile is missing a card 2024-10-04 11:34:19 +02:00
Danny Dudzic
1ca98a10bc
Merge pull request #2668 from woocommerce/PCP-3765-add-code-comments-to-the-axo-block-module
Axo Block: Improve code comments and fix minor misc bugs (3765)
2024-10-03 15:50:05 +02:00
Daniel Dudzic
05ea2f1e10
Axo Block: Improve the comment regarding class names 2024-10-03 14:33:54 +02:00
Daniel Dudzic
2436ceb487
Axo Block: Improve code comments and fix minor misc bugs 2024-10-03 14:09:12 +02:00
Alex P.
5f0c59cd8d
Fix lint 2024-10-03 10:12:17 +03:00
Daniel Dudzic
c153401608
Fix PHPCS formatting issues 2024-10-01 15:57:20 +02:00
Daniel Dudzic
7dc3113be0
Axo Block: Fix the Fastlane modal info message text overflow issue 2024-10-01 15:48:27 +02:00
Daniel Dudzic
763f6a431e
Remove Axo from the Checkout block in the editor and add the ACDC card component in the editor view 2024-10-01 15:03:38 +02:00
Daniel Dudzic
70676468b8
Axo Blocks: Migrate console logs to the Axo log function 2024-09-26 12:47:04 +02:00
Daniel Dudzic
e197a86202
Remove redundant console error for the submit button root not existing 2024-09-25 23:24:48 +02:00
Daniel Dudzic
9a041f68f1
Merge branch 'fastlane' of github.com:woocommerce/woocommerce-paypal-payments into axo-blocks-additional-minor-code-cleanup-refactor 2024-09-25 16:17:53 +02:00
Danny Dudzic
3d51663ab9
Merge pull request #2623 from woocommerce/fix-cannot-find-FastlaneCardComponent-container-error
Axo Blocks: Check whether the Card Element container exists before trying to render it
2024-09-25 15:40:11 +02:00
Danny Dudzic
09341f8475
Merge pull request #2624 from woocommerce/add-support-for-advanced-style-settings
Axo Blocks: Add support for Advanced Style Settings
2024-09-25 15:39:16 +02:00
Daniel Dudzic
8b96613339
Localize strings 2024-09-25 00:09:27 +02:00
Daniel Dudzic
9c4385298c
Re-add a code comment 2024-09-24 14:49:55 +02:00
Daniel Dudzic
9b7cb5f401
Further reduce prop drilling and move the phone number to the Redux store 2024-09-24 14:46:12 +02:00