Philipp Stracker
d41b967e90
♻️ Reuse existing error handling logic
2024-09-12 15:14:33 +02:00
Philipp Stracker
c011e05ed8
♻️ Extract order-creation to own method
2024-09-12 15:14:29 +02:00
Philipp Stracker
9c86bc23e1
♻️ Move code into try-catch block
2024-09-12 15:14:25 +02:00
Philipp Stracker
a3d4a3e04f
🥅 Add generic error handling
2024-09-12 15:14:19 +02:00
Philipp Stracker
02701ca0f5
✨ Add ProcessPaymentTrait to AxoGateway
...
We’ll use this Trait later for error handling; the trait requires the SessionHandler instance.
2024-09-12 15:14:12 +02:00
Philipp Stracker
fbcc19ef4d
♻️ New getter for form-selector
...
To avoid typos and better document usage.
2024-09-11 18:55:03 +02:00
Philipp Stracker
6e1a6280de
🐛 Quick-fix to re-render missing Card component
...
Fix the clean-up process during email change, to generate a fresh Card component when needed.
2024-09-11 18:51:34 +02:00
Niklas Gutberlet
43e9d4c85f
Merge pull request #2554 from woocommerce/PCP-3562-fastlane-prefill-phone-number-inside-card-field-components
...
Fastlane prefill phone number inside card field components (3562)
2024-09-11 17:07:47 +02:00
Daniel Dudzic
c24b753c38
AXO: Remove restriction for the Force shipping to the customer billing address shipping config
2024-09-10 19:12:14 +02:00
Philipp Stracker
5237ebc0ed
Merge pull request #2544 from woocommerce/PCP-3575-fastlane-transaction-id-not-clickable
...
Only hide the Fastlane payment gateway on the WooCommerce Settings Payments tab(3575)
2024-09-06 18:38:09 +02:00
Philipp Stracker
2e088add15
🔀 Merge branch 'trunk'
...
# Conflicts:
# modules/ppcp-axo/src/AxoModule.php
2024-09-06 16:59:24 +02:00
Philipp Stracker
80649227c1
Merge pull request #2552 from woocommerce/PCP-3616-fastlane-extend-list-of-incompatible-plugins
...
Extend the list of Fastlane incompatible plugins(3616)
2024-09-06 16:48:38 +02:00
Philipp Stracker
c6a25a65fc
🔀 Merge branch 'trunk'
2024-09-06 16:48:27 +02:00
Philipp Stracker
2cb026604c
Merge branch 'PCP-1773-php74'
...
# Conflicts:
# composer.lock
2024-09-04 15:47:37 +02:00
Philipp Stracker
ad2181fd09
✨ Add logic to update prefill-values
2024-09-04 15:11:46 +02:00
Philipp Stracker
5e08e415f0
♻️ Consolidate logic to initialize Fastlane UI
2024-09-04 15:11:03 +02:00
Philipp Stracker
c72c97f821
♻️ Rename a function
2024-09-04 15:06:50 +02:00
Narek Zakarian
8514f3a49c
Fix the coding styles
2024-09-03 16:35:58 +04:00
Philipp Stracker
9910164044
⚡ ️ Only re-render the component when phone changed
2024-09-03 14:07:52 +02:00
Philipp Stracker
ed98033d10
💬 Minor changes in comment & variable name
2024-09-03 13:21:25 +02:00
Narek Zakarian
a803467b96
Fix the coding styles
2024-09-03 15:19:38 +04:00
Philipp Stracker
1398c4ac97
🐛 Refactor code to address some edge cases
...
When user selects a different gateway, enters a phone number, and then switches back to Fastlane: The existing phone number is correctly synced to Fastlane on initial component render.
2024-09-03 13:16:43 +02:00
Narek Zakarian
cc06b0101a
Fix the coding styles
2024-09-03 15:05:58 +04:00
Narek Zakarian
1efb3a0087
Refactor the configuration to include full names
2024-09-03 15:05:23 +04:00
Alex P.
f538ea2ef2
Require PHP 7.4+
2024-09-03 09:07:12 +03:00
Philipp Stracker
a4c2569a87
✨ Sanitize number, only sync valid US numbers
...
Invalid phone numbers do not trigger a Fastlane refresh
2024-09-02 18:27:29 +02:00
Philipp Stracker
b0359c9de8
♻️ Minor code cleanup
...
- Define all properties on class level (instead of implicit declaration in constructor)
- Use the new `isRyanFlow` check
- Use the new `this.refreshFastlaneComponent()` method
2024-09-02 16:42:04 +02:00
Philipp Stracker
901774b8cc
✨ Add phone-observer for Gary
...
Push the phone number from the Woo checkout form to the Fastlane component.
2024-09-02 16:40:14 +02:00
Narek Zakarian
c3c9beb722
Extend list of fastlane incompatible plugins.
2024-09-02 16:24:01 +04:00
Philipp Stracker
7509f914ab
Merge branch 'trunk'
...
# Conflicts:
# modules/ppcp-admin-notices/src/AdminNotices.php
# modules/ppcp-local-alternative-payment-methods/src/LocalAlternativePaymentMethodsModule.php
# modules/ppcp-paylater-configurator/src/PayLaterConfiguratorModule.php
# modules/ppcp-wc-gateway/src/WCGatewayModule.php
2024-08-30 15:16:20 +02:00
Narek Zakarian
ac31cfe476
Fix the coding styles
2024-08-28 17:32:59 +04:00
Narek Zakarian
3f1b998118
Only remove the gateway on the WooCommerce Settings Payments tab.
...
Additionally introduce the function to check if is WooCommerce Settings Payments tab screen (/wp-admin/admin.php?page=wc-settings&tab=checkout).
2024-08-28 16:52:17 +04:00
Emili Castells Guasch
f3bf4322c5
Fix phpcs
2024-08-28 12:33:03 +02:00
Moritz Meißelbach
c76fcb91ba
Remove (apparently) dead getKey methods
2024-08-23 15:04:28 +02:00
Moritz Meißelbach
4d9f23e315
Merge branch 'refs/heads/trunk' into modularity-module-migration
...
# Conflicts:
# composer.lock
# modules/ppcp-axo/src/AxoModule.php
# modules/ppcp-blocks/src/BlocksModule.php
# modules/ppcp-compat/src/CompatModule.php
# modules/ppcp-googlepay/src/GooglepayModule.php
# modules/ppcp-order-tracking/src/OrderTrackingModule.php
# modules/ppcp-wc-subscriptions/src/WcSubscriptionsModule.php
2024-08-23 14:25:36 +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
Philipp Stracker
3879c417aa
💬 Add “ppcp.axo.” prefix to meta value
2024-08-12 18:03:32 +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
Emili Castells Guasch
b42e9436ae
Add id token cache key for each user
2024-08-06 15:30:50 +02:00
Daniel Dudzic
fe8101699f
Fix the PayPal enabled settings key
2024-08-02 12:30:39 +02:00
Danny Dudzic
70fe162cd2
Merge pull request #2434 from woocommerce/PCP-3075-fastlane-gateway-displayed-when-enable-pay-pal-features-for-your-store-is-not-checked
...
AXO: Ensure Fastlane scripts do not load when PayPal is disabled (3075)
2024-08-01 23:09:57 +02:00
Danny Dudzic
0e401e25af
Merge pull request #2424 from woocommerce/PCP-3156-fastlane-strip-empty-spaces-from-email-to-trigger-profile-lookup
...
AXO: Add whitespace stripping on submission (3156)
2024-08-01 23:09:29 +02:00
Daniel Dudzic
61865a3b7a
Merge branch 'fastlane' of github.com:woocommerce/woocommerce-paypal-payments into PCP-3489-fastlane-display-notice-when-advanced-card-processing-gateway-is-disabled
2024-08-01 22:58:28 +02:00
Daniel Dudzic
f98bd052ed
Merge branch 'fastlane' of github.com:woocommerce/woocommerce-paypal-payments into PCP-3474-fastlane-create-notice-about-potentially-incompatible-plugins
2024-08-01 22:46:29 +02:00
Daniel Dudzic
59e6dea5c7
Merge branch 'fastlane' of github.com:woocommerce/woocommerce-paypal-payments into PCP-3392-do-not-render-fastlane-when-shipping-destination-is-set-to-force-shipping-to-the-customer-billing-address
2024-08-01 22:31:39 +02:00
Daniel Dudzic
6c4c31fbf0
AXO: Fix the main notice key in the display manager
2024-08-01 22:25:46 +02:00
Daniel Dudzic
70f5b60aee
Merge branch 'fastlane' of github.com:woocommerce/woocommerce-paypal-payments into PCP-3474-fastlane-create-notice-about-potentially-incompatible-plugins
2024-08-01 22:11:21 +02:00
Daniel Dudzic
5b1fa0795f
Merge branch 'fastlane' of github.com:woocommerce/woocommerce-paypal-payments into PCP-3489-fastlane-display-notice-when-advanced-card-processing-gateway-is-disabled
2024-08-01 22:03:13 +02:00
Danny Dudzic
148b9e656d
Merge pull request #2484 from woocommerce/PCP-3490-frontend-logger-endpoint-called-when-fastlane-is-active-but-logging-is-deactivated
...
AXO: Refactor the debug script in order to remove unnecessary logger calls (3490)
2024-08-01 19:22:30 +02:00