woocommerce-paypal-payments/modules/ppcp-googlepay/resources/js/Context/CheckoutBlockHandler.js

20 lines
365 B
JavaScript
Raw Normal View History

2023-08-29 14:57:10 +01:00
import BaseHandler from "./BaseHandler";
2023-08-28 17:19:07 +01:00
2023-08-29 14:57:10 +01:00
class CheckoutBlockHandler extends BaseHandler{
2023-08-28 17:19:07 +01:00
2023-10-13 14:36:11 +01:00
shippingAllowed() {
return false;
}
createOrder() {
return this.externalHandler.createOrder();
}
approveOrder(data, actions) {
return this.externalHandler.onApprove(data, actions);
}
2023-08-28 17:19:07 +01:00
}
2023-08-29 08:19:11 +01:00
export default CheckoutBlockHandler;