diff --git a/packages/braintree-integration/src/braintree-hosted-form/braintree-hosted-form.ts b/packages/braintree-integration/src/braintree-hosted-form/braintree-hosted-form.ts index f2888bd1e7..008280f956 100644 --- a/packages/braintree-integration/src/braintree-hosted-form/braintree-hosted-form.ts +++ b/packages/braintree-integration/src/braintree-hosted-form/braintree-hosted-form.ts @@ -188,6 +188,7 @@ export default class BraintreeHostedForm { this.client = client.create({ authorization: this.clientToken }); } + console.log('JJJ'); return this.client; } diff --git a/packages/paypal-commerce-integration/src/paypal-commerce-types.ts b/packages/paypal-commerce-integration/src/paypal-commerce-types.ts index 71493cfa05..7f879dbf11 100644 --- a/packages/paypal-commerce-integration/src/paypal-commerce-types.ts +++ b/packages/paypal-commerce-integration/src/paypal-commerce-types.ts @@ -360,6 +360,8 @@ export interface PayPalCommerceButtons { render(id: string): void; close(): void; isEligible(): boolean; + hasReturned?(): boolean; + resume?(): void; } export interface PayPalCommerceButtonsOptions { @@ -607,6 +609,7 @@ export interface PayPalCreateOrderRequestBody extends HostedInstrument, VaultedI metadataId?: string; setupToken?: boolean; fastlaneToken?: string; + userAgent?: string; } export enum PayPalOrderStatus { diff --git a/packages/paypal-commerce-integration/src/paypal-commerce/paypal-commerce-button-strategy.ts b/packages/paypal-commerce-integration/src/paypal-commerce/paypal-commerce-button-strategy.ts index d2aac469da..d4abdba3a5 100644 --- a/packages/paypal-commerce-integration/src/paypal-commerce/paypal-commerce-button-strategy.ts +++ b/packages/paypal-commerce-integration/src/paypal-commerce/paypal-commerce-button-strategy.ts @@ -96,7 +96,6 @@ export default class PayPalCommerceButtonStrategy implements CheckoutButtonStrat paypalcommerce: PayPalCommerceButtonInitializeOptions, ): void { const { buyNowInitializeOptions, style, onComplete, onEligibilityFailure } = paypalcommerce; - const paypalSdk = this.paypalCommerceIntegrationService.getPayPalSdkOrThrow(); const state = this.paymentIntegrationService.getState(); const paymentMethod =