Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@ export default class BraintreeHostedForm {

this.client = client.create({ authorization: this.clientToken });
}
console.log('JJJ');

return this.client;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,8 @@ export interface PayPalCommerceButtons {
render(id: string): void;
close(): void;
isEligible(): boolean;
hasReturned?(): boolean;
resume?(): void;
}

export interface PayPalCommerceButtonsOptions {
Expand Down Expand Up @@ -607,6 +609,7 @@ export interface PayPalCreateOrderRequestBody extends HostedInstrument, VaultedI
metadataId?: string;
setupToken?: boolean;
fastlaneToken?: string;
userAgent?: string;
}

export enum PayPalOrderStatus {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 =
Expand Down