woocommerce-paypal-payments/modules/ppcp-googlepay/resources/js/Context/CheckoutBlockHandler.js
2023-10-13 14:36:11 +01:00

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;