Skip to content

Commit 8a1adb1

Browse files
feat(payment): PAYPAL-5941 test
1 parent c585e93 commit 8a1adb1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/paypal-commerce-integration/src/paypal-commerce/paypal-commerce-button-strategy.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ export default class PayPalCommerceButtonStrategy implements CheckoutButtonStrat
9898
const { buyNowInitializeOptions, style, onComplete, onEligibilityFailure } = paypalcommerce;
9999

100100
console.log('RENDER');
101-
await this.handleClick(buyNowInitializeOptions);
101+
// await this.handleClick(buyNowInitializeOptions);
102102

103103
const paypalSdk = this.paypalCommerceIntegrationService.getPayPalSdkOrThrow();
104104
const state = this.paymentIntegrationService.getState();
@@ -117,7 +117,7 @@ export default class PayPalCommerceButtonStrategy implements CheckoutButtonStrat
117117
};
118118

119119
const buyNowFlowCallbacks = {
120-
// onClick: () => this.handleClick(buyNowInitializeOptions),
120+
onClick: () => this.handleClick(buyNowInitializeOptions),
121121
onCancel: () => this.paymentIntegrationService.loadDefaultCheckout(),
122122
};
123123

0 commit comments

Comments
 (0)