Cartkit & Uniform payment system

I see, but you shouldn’t use different HTTP verbs (POST, GET) just to keep requests of different forms separated. Use the value of a hidden form field instead.

  1. Add this to the Uniform form:
    <input type="hidden" name="payment_method" value="check">
    
  2. Update the controller
    if (r::is('POST') && get('payment_method') === 'check') {
       $form->emailAction(...
    
1 Like