Title: Form Action
Last modified: August 21, 2016

---

# Form Action

 *  Resolved [cywaithaka](https://wordpress.org/support/users/cywaithaka/)
 * (@cywaithaka)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/form-action-4/)
 * Hi. I am trying to use the plugin (PesaPal Pay) to collect a constant fee amount
   from users on my website. This is a one time payment.
    Unfortunately, I can’t
   quite understand the short guide that you have provided. Kindly clarify what 
   I should enter under Invoice Form name,
 * Email Form name,
 * Total Cost Form name, under the plugin settings. I am assuming that users will
   submit the form that contains that information. What should I set as the form
   action?
 * Thanks
 * [http://wordpress.org/plugins/pesapal-pay/](http://wordpress.org/plugins/pesapal-pay/)

Viewing 13 replies - 1 through 13 (of 13 total)

 *  Plugin Author [Paul Kevin](https://wordpress.org/support/users/rixeo/)
 * (@rixeo)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/form-action-4/#post-4393701)
 * Hi,
 * Basically the settings page is for you to put the names of the input elements
   of the payment form. The payment form should then be posted to another page that
   has the pesapal button.
 * Im still working to make this much more user friendly, do you have a specific
   way you want it to work. For example, I can create shortcode products that allow
   users to pay via pesapal.
 *  Thread Starter [cywaithaka](https://wordpress.org/support/users/cywaithaka/)
 * (@cywaithaka)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/form-action-4/#post-4393805)
 * Thanks for the response. I understand the concept now but the plugin still fails
   to pick my form data. I am having this error:
 * **Problem: parameter_absent | Advice: > oauth_parameters_absent | Reference**
 * I have used the following settings:
    Invoice Form name: reg_form (i assumed this
   is the name of the HTML form) Email Form name: billing_email (an input in the
   HTM form) Total Cost Form name: reg_fee (an input field in the HTML form as well)
   Function to be called: blank. (Not sure what to put here)
 * Please help me to resolve this.
    Thanks
 *  Plugin Author [Paul Kevin](https://wordpress.org/support/users/rixeo/)
 * (@rixeo)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/form-action-4/#post-4393807)
 * Hi,
 * I have made an addition now you can use Javascript which I think will be better
   for you. So you can submit the normal form via ajax and return the email and 
   total amount in KES back as the response. Then call the function
 * pesapal_pay_no_invoice(parentdivId,email, amount)
 * Where parentdivId is the ID of the div you want pesapal gateway to load.
 *  Thread Starter [cywaithaka](https://wordpress.org/support/users/cywaithaka/)
 * (@cywaithaka)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/form-action-4/#post-4393808)
 * Hello Paul.
 * I have quite a long form and would prefer separating the checkout page from the
   form. I want to redirect the user to a check out page where paying immediately
   using Pesapal is only an option. I already have this set up (the form and the
   checkout page). However, I am getting this parameter_absent error:
 * Problem: parameter_absent | Advice: > oauth_parameters_absent | Reference
 * Upon studying the plugin code, I saw this line `$reference = $form_invoice;` 
   which you then pass to `Reference=\"".$reference."\"` in the $post_xml. I suspect
   the issue is with my **Invoice Form name** on the settings page which leads to
   nothing being passed to the Reference attribute.
 * Could you please offer guidance using the initial concept?
    Thanks
 *  Plugin Author [Paul Kevin](https://wordpress.org/support/users/rixeo/)
 * (@rixeo)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/form-action-4/#post-4393809)
 * Reference is the generated invoice id.
    Can you check the transaction log if 
   the invoice-id is being saved? I’ve committed another version that will set a
   default invoice-id if none is provided. Please try now
 *  Thread Starter [cywaithaka](https://wordpress.org/support/users/cywaithaka/)
 * (@cywaithaka)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/form-action-4/#post-4393810)
 * Great. You have helped a lot mahn. The auto-generated invoice ID is a genius 
   idea for my case. It seems to be working fine now. Thanks for the plugin.
 * As an improvement, could you think of a way to load the iframe while maintaining
   the wordpress site styling?
 * Either way, you have done a great job.
 *  Plugin Author [Paul Kevin](https://wordpress.org/support/users/rixeo/)
 * (@rixeo)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/form-action-4/#post-4393811)
 * Thanks 🙂 Im working on something to make it load on another page and not an 
   iframe 🙂 the issue is Pesapal handle the styling 🙁
 *  Thread Starter [cywaithaka](https://wordpress.org/support/users/cywaithaka/)
 * (@cywaithaka)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/form-action-4/#post-4393812)
 * It’s actually loading fine now; without messing the default styling. I guess 
   it was an issue with my page template. The fact that you even made the frame 
   responsive makes your work legendary. :). Loading on a separate page may not 
   be a good idea as many people may want to maintain their site header, sidebar
   and footer on the payments page.
 *  Plugin Author [Paul Kevin](https://wordpress.org/support/users/rixeo/)
 * (@rixeo)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/form-action-4/#post-4393813)
 * Thanks:) I know want to make it plugabble to existing popular e-commerce plugins
   on WordPress
 *  Thread Starter [cywaithaka](https://wordpress.org/support/users/cywaithaka/)
 * (@cywaithaka)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/form-action-4/#post-4393814)
 * I will be following the progress. Thanks again
 *  [unlocksolutions](https://wordpress.org/support/users/unlocksolutions/)
 * (@unlocksolutions)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/form-action-4/#post-4393847)
 * Hey Paul
    I do not have much knowledge in coding and design hence i am unable
   to intergarte this pluggin on my site [http://iwork.sokolangu.com/](http://iwork.sokolangu.com/)
 * It is basically a service site that will work pretty much like fiver
 * Could you do it for me for a small fee?
 *  Plugin Author [Paul Kevin](https://wordpress.org/support/users/rixeo/)
 * (@rixeo)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/form-action-4/#post-4393848)
 * Hello unlocksolutions.
 * I can do it for you for a small free. Contact me on paultitude[at]gmail[dot]com
 *  [unlocksolutions](https://wordpress.org/support/users/unlocksolutions/)
 * (@unlocksolutions)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/form-action-4/#post-4393849)
 * Thanks
    I have mailed you

Viewing 13 replies - 1 through 13 (of 13 total)

The topic ‘Form Action’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/pesapal-pay_fefefd.svg)
 * [PesaPal Pay](https://wordpress.org/plugins/pesapal-pay/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/pesapal-pay/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/pesapal-pay/)
 * [Active Topics](https://wordpress.org/support/plugin/pesapal-pay/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/pesapal-pay/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/pesapal-pay/reviews/)

## Tags

 * [plugin support](https://wordpress.org/support/topic-tag/plugin-support/)

 * 13 replies
 * 3 participants
 * Last reply from: [unlocksolutions](https://wordpress.org/support/users/unlocksolutions/)
 * Last activity: [12 years, 2 months ago](https://wordpress.org/support/topic/form-action-4/#post-4393849)
 * Status: resolved