Skip to content

Commit 0921359

Browse files
refactor(payment): PAYPAL-1917 removed PayPalCommerceInlineCheckoutButtonStrategy from core package (#1783)
1 parent f484970 commit 0921359

6 files changed

+0
-1274
lines changed

packages/core/src/checkout-buttons/checkout-button-options.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ import {
1414
PaypalCommerceAlternativeMethodsButtonOptions,
1515
PaypalCommerceButtonInitializeOptions,
1616
PaypalCommerceCreditButtonInitializeOptions,
17-
PaypalCommerceInlineCheckoutButtonInitializeOptions,
1817
PaypalCommerceVenmoButtonInitializeOptions,
1918
} from './strategies/paypal-commerce';
2019

@@ -157,12 +156,6 @@ export interface BaseCheckoutButtonInitializeOptions extends CheckoutButtonOptio
157156
*/
158157
paypalcommercealternativemethods?: PaypalCommerceAlternativeMethodsButtonOptions;
159158

160-
/**
161-
* The options that are required to facilitate PayPal Commerce Inline Checkout. They can be omitted
162-
* unless you need to support PayPal Commerce Inline(Accelerated) Checkout.
163-
*/
164-
paypalcommerceinline?: PaypalCommerceInlineCheckoutButtonInitializeOptions;
165-
166159
/**
167160
* The options that are required to facilitate PayPal Commerce Venmo. They can be omitted
168161
* unless you need to support PayPal Commerce Venmo.

packages/core/src/checkout-buttons/create-checkout-button-registry.ts

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ import {
6363
PaypalCommerceAlternativeMethodsButtonStrategy,
6464
PaypalCommerceButtonStrategy,
6565
PaypalCommerceCreditButtonStrategy,
66-
PaypalCommerceInlineCheckoutButtonStrategy,
6766
PaypalCommerceVenmoButtonStrategy,
6867
} from './strategies/paypal-commerce';
6968

@@ -385,21 +384,6 @@ export default function createCheckoutButtonRegistry(
385384
),
386385
);
387386

388-
registry.register(
389-
CheckoutButtonMethodType.PAYPALCOMMERCE_INLINE,
390-
() =>
391-
new PaypalCommerceInlineCheckoutButtonStrategy(
392-
store,
393-
checkoutActionCreator,
394-
paypalScriptLoader,
395-
paypalCommerceRequestSender,
396-
orderActionCreator,
397-
consignmentActionCreator,
398-
billingAddressActionCreator,
399-
paymentActionCreator,
400-
),
401-
);
402-
403387
registry.register(
404388
CheckoutButtonMethodType.PAYPALCOMMERCE_VENMO,
405389
() =>

packages/core/src/checkout-buttons/strategies/paypal-commerce/index.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,6 @@ export { default as PaypalCommerceCreditButtonStrategy } from './paypal-commerce
1616
export { PaypalCommerceAlternativeMethodsButtonOptions } from './paypal-commerce-alternative-methods-button-options';
1717
export { default as PaypalCommerceAlternativeMethodsButtonStrategy } from './paypal-commerce-alternative-methods-button-strategy';
1818

19-
/**
20-
* PayPal Commerce Inline Checkout
21-
*/
22-
export { PaypalCommerceInlineCheckoutButtonInitializeOptions } from './paypal-commerce-inline-checkout-button-options';
23-
export { default as PaypalCommerceInlineCheckoutButtonStrategy } from './paypal-commerce-inline-checkout-button-strategy';
24-
2519
/**
2620
* PayPal Commerce Venmo
2721
*/

packages/core/src/checkout-buttons/strategies/paypal-commerce/paypal-commerce-inline-checkout-button-options.ts

Lines changed: 0 additions & 24 deletions
This file was deleted.

0 commit comments

Comments
 (0)