mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-08-31 06:52:50 +08:00
19 lines
365 B
JavaScript
19 lines
365 B
JavaScript
import BaseHandler from "./BaseHandler";
|
|
|
|
class CheckoutBlockHandler extends BaseHandler{
|
|
|
|
shippingAllowed() {
|
|
return false;
|
|
}
|
|
|
|
createOrder() {
|
|
return this.externalHandler.createOrder();
|
|
}
|
|
|
|
approveOrder(data, actions) {
|
|
return this.externalHandler.onApprove(data, actions);
|
|
}
|
|
|
|
}
|
|
|
|
export default CheckoutBlockHandler;
|