lakhai
Forum Replies Created
-
Forum: Plugins
In reply to: [Jigoshop] Custom checkout formAnd now for some reason when I try to normally pay for the order form the checkout page I have the required fields error too…
Forum: Plugins
In reply to: [Jigoshop] Custom checkout formNeither of those worked, “place_order” and “pay” both give “action failed” error
Forum: Plugins
In reply to: [Jigoshop] Custom checkout formActually I was using place_order, which is what my old form had. Let me try that.
Forum: Plugins
In reply to: [Jigoshop] Custom checkout formNope, still action failed…
Forum: Plugins
In reply to: [Jigoshop] Custom checkout formI already had this working in the past, after removing all the required fields you could checkout with only the payment gateway and nonce field.
My payment gateways are “Jigoshop Stripe” and “Account Funds” both working perfectly too.
I can provide whatever detail you need, just let me know.Forum: Plugins
In reply to: [Jigoshop] Custom checkout formAnybody has an idea?
Forum: Plugins
In reply to: [Jigoshop] Custom checkout formWow, that was a quick response!
Alright, so I had this working on a very old version of the plugin.
What I did was explained a bit better here: https://stackoverflow.com/questions/35548357/jigoshop-custom-checkout-form
After this I experimented a bit (and remembered some, too) and had to remove via:$billing_fields = array( array( 'name'=>'billing-first_name', 'label' => __('First Name', 'jigoshop'), 'placeholder' => __('First Name', 'jigoshop'), 'required' => false, 'class' => array('form-row-first') ), array( 'name'=>'billing-last_name', 'label' => __('Last Name', 'jigoshop'), 'placeholder' => __('Last Name', 'jigoshop'), 'required' => false, 'class' => array('form-row-last') ), array( 'name'=>'billing-address', 'label' => __('Address', 'jigoshop'), 'placeholder' => __('Address', 'jigoshop'), 'required' => false ), array( 'name'=>'billing-city', 'label' => __('City', 'jigoshop'), 'placeholder' => __('City', 'jigoshop'), 'required' => false ), array( 'validate' => 'postcode', 'format' => 'postcode', 'name'=>'billing-postcode', 'label' => __('Postcode', 'jigoshop'), 'placeholder' => __('Postcode', 'jigoshop'), 'required' => false, 'class' => array('form-row-first') ), array( 'type'=> 'country', 'name'=>'billing-country', 'label' => __('Country', 'jigoshop'), 'required' => false, 'class' => array('form-row-last') ), array( 'name'=>'billing-email', 'validate' => 'email', 'label' => __('Email Address', 'jigoshop'), 'placeholder' => __('***@yourdomain.com', 'jigoshop'), 'required' => false ) ); jigoshop_checkout::instance()->billing_fields = $billing_fields;
Worked a few times (to not give me an error for missing fields, but then it didn’t work anymore…
Apart from that, I changed the nonce field topay
and I got an “Incorrect action” error, which on the old plugin it didn’t work either. I also added a hidden input field with the namesubmit_action
with the valueplace_order
but still didn’t change the action.What I need is to just choose either “account funds” or “credit cards” (which needs card details such as number, code, etc.) and with only this it’ll pay for the order and go directly to the “thank you” page.