Sha256: 09ce361736633e788129d9647b5180aacb566e2ecee59ab7d1aeec06384ee2f7
Contents?: true
Size: 294 Bytes
Versions: 4
Compression:
Stored size: 294 Bytes
Contents
module Workarea decorate Storefront::Checkout::PlaceOrderController, with: 'afterpay' do def place_order if params[:payment] == 'afterpay' && !current_checkout.payment.afterpay? redirect_to start_afterpay_path and return else super end end end end
Version data entries
4 entries across 4 versions & 1 rubygems