Skip to content

feat(payment): PAYPAL-5793 Update PayPalCommerceCreditPaymentStrategyby providing PaypalUtilsService from paypal-utils package#3162

Merged
bc-nick merged 1 commit intomasterfrom
PAYPAL-5793
Mar 9, 2026
Merged

feat(payment): PAYPAL-5793 Update PayPalCommerceCreditPaymentStrategyby providing PaypalUtilsService from paypal-utils package#3162
bc-nick merged 1 commit intomasterfrom
PAYPAL-5793

Conversation

@bc-nick
Copy link
Contributor

@bc-nick bc-nick commented Mar 3, 2026

What/Why?

Update PayPalCommerceCreditPaymentStrategyby providing PaypalUtilsService from paypal-utils package

Rollout/Rollback

Revert

Testing

pay-later.mov

Note

Medium Risk
Updates PayPal Commerce Credit checkout to use shared paypal-utils SDK loading and integration service, which can affect PayPal SDK initialization and payment submission behavior. Changes are localized but touch core payment-flow wiring and types.

Overview
Refactors PayPalCommerceCreditPaymentStrategy (and its factory/tests) to stop using paypal-commerce-specific SDK/service helpers and instead rely on the shared paypal-utils implementations (PayPalIntegrationService + PayPalSdkScriptLoader) for SDK loading, order creation, and payment submission.

Moves the loading-indicator styling constant into paypal-utils (new paypal-commerce-constants.ts export) and updates PayPal button typings by extending PayPalButtons with optional hasReturned/resume methods.

Written by Cursor Bugbot for commit 078e464. This will update automatically on new commits. Configure here.

… by providing PaypalUtilsService from paypal-utils package
@bc-nick bc-nick marked this pull request as ready for review March 4, 2026 13:30
@bc-nick bc-nick requested a review from a team as a code owner March 4, 2026 13:30
@bc-nick bc-nick merged commit 6a92d07 into master Mar 9, 2026
9 checks passed
@bc-nick bc-nick deleted the PAYPAL-5793 branch March 9, 2026 09:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants