Announcement

Collapse
No announcement yet.

Forms as a service

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • CnP.Support
    replied
    Luke,

    attached is the central portion of the page with the form tags added. I also changed the bottom of the page with your organization's variables. Please note the comment I added for the OnSuccessURL, etc.
    Attached Files

    Leave a comment:


  • CnP.Support
    replied
    Luke,

    If you check the source code for the site we made for you, it is easy to see where the code was added.

    In Dreamweaver select the table that is holding all your form fields. Flip to the code view and look at the line above the table tag. The start of form is there and there is an end form </form> also at the bottom of the table.

    see below with TABLE collapsed.

    [click to see full size]

    Click image for larger version

Name:	FaaS_Form_Action.jpg
Views:	1
Size:	15.5 KB
ID:	15025

    If you visit the link I sent before:

    https://clients.clickandpledge.com/c...ing/index.html

    go to view source and search for: https://faas.cloud.clickandpledge.com

    you will find where it was added. It is really simple.

    Leave a comment:


  • luke@centerforsharing.org
    replied
    Originally posted by Support.Department View Post
    By the way..

    Please do NOT forget that you are using the TEST account numbers and GUID. You need to change the following parameters so it works with your account:

    HTML Code:
    <input type="hidden" name="OnSuccessUrl" id="OnSuccessUrl"     value="https://www.clickandpledge.com/developers/faas/example/003/Authorize.asp" />
    <input type="hidden" name="OnDeclineUrl" id="OnDeclineUrl"     value= "https://www.clickandpledge.com/developers/faas/example/003/Decline.asp" />
    <input type="hidden" name="OnErrorUrl" id="OnErrorUrl"     value= "https://www.clickandpledge.com/developers/faas/example/003/Error.asp" />
    <input type="hidden" name="AccountGuid" id="AccountGuid" value="ddd31189-9a80-41d9-99e7-fdbb4350893c" />
    <input type="hidden" name="AccountID" id="AccountID" value="14521" />
    <input type="hidden" name="WID" id="WID" value="39588" />
    <input type="hidden" name="RefID" id="RefID" value="Example004" />
    <input type="hidden" name="OrderMode" id="OrderMode" value="Test" />
    The above parameters all need to be set up for your account.
    • OrderMode needs to be set to Production before going live. Done
    • WID is the checkout page ID of a page you set up in the admin and customize it so the receipts have the correct information - as well as a cover sheet if you want one. How do I access this code? I don't remember setting this up.
    • OnSuccessURL, OnDeclineURL, and OnErrorURL are the addresses to pages where the FaaS service redirects the browser in case of authorization, decline and error Do I need to create these on my site, or is there a default Click and pledge page for each that I can embed into my wordpress site?
    • AccountID and AccountGUID should be copied from: Portal >> Account Info >> API Done
    • RefID is simply a reference ID that FaaS posts back with the transaction record. It is typically used when data is saved locally and the primary key is needed for reference. You may ignore it if you don't need it. Do I need this?
    Let us know if you need further help.
    Also, where do I put the form post line code?

    Thanks for your help!

    Luke

    Leave a comment:


  • luke@centerforsharing.org
    replied
    Where do I insert the form post line?

    Leave a comment:


  • luke@centerforsharing.org
    replied
    Originally posted by Support.Department View Post
    By the way..

    Please do NOT forget that you are using the TEST account numbers and GUID. You need to change the following parameters so it works with your account:

    HTML Code:
    <input type="hidden" name="OnSuccessUrl" id="OnSuccessUrl"     value="https://www.clickandpledge.com/developers/faas/example/003/Authorize.asp" />
    <input type="hidden" name="OnDeclineUrl" id="OnDeclineUrl"     value= "https://www.clickandpledge.com/developers/faas/example/003/Decline.asp" />
    <input type="hidden" name="OnErrorUrl" id="OnErrorUrl"     value= "https://www.clickandpledge.com/developers/faas/example/003/Error.asp" />
    <input type="hidden" name="AccountGuid" id="AccountGuid" value="ddd31189-9a80-41d9-99e7-fdbb4350893c" />
    <input type="hidden" name="AccountID" id="AccountID" value="14521" />
    <input type="hidden" name="WID" id="WID" value="39588" />
    <input type="hidden" name="RefID" id="RefID" value="Example004" />
    <input type="hidden" name="OrderMode" id="OrderMode" value="Test" />
    The above parameters all need to be set up for your account.
    • OrderMode needs to be set to Production before going live. Done
    • WID is the checkout page ID of a page you set up in the admin and customize it so the receipts have the correct information - as well as a cover sheet if you want one. Where do I find this? I don't remember setting it up.
    • OnSuccessURL, OnDeclineURL, and OnErrorURL are the addresses to pages where the FaaS service redirects the browser in case of authorization, decline and error...Do I need to create these pages on my site, or is there a click and pledge default page?
    • AccountID and AccountGUID should be copied from: Portal >> Account Info >> API--Done
    • RefID is simply a reference ID that FaaS posts back with the transaction record. It is typically used when data is saved locally and the primary key is needed for reference. You may ignore it if you don't need it. I don't know what this is...do I need this?
    Let us know if you need further help.
    Where do I insert the Form post line?

    <form id="Donation" method="post" action="https://faas.cloud.clickandpledge.com">

    Thanks for your help!

    Luke

    Leave a comment:


  • CnP.Support
    replied
    By the way..

    Please do NOT forget that you are using the TEST account numbers and GUID. You need to change the following parameters so it works with your account:

    HTML Code:
    <input type="hidden" name="OnSuccessUrl" id="OnSuccessUrl"     value="https://www.clickandpledge.com/developers/faas/example/003/Authorize.asp" />
    <input type="hidden" name="OnDeclineUrl" id="OnDeclineUrl"     value= "https://www.clickandpledge.com/developers/faas/example/003/Decline.asp" />
    <input type="hidden" name="OnErrorUrl" id="OnErrorUrl"     value= "https://www.clickandpledge.com/developers/faas/example/003/Error.asp" />
    <input type="hidden" name="AccountGuid" id="AccountGuid" value="ddd31189-9a80-41d9-99e7-fdbb4350893c" />
    <input type="hidden" name="AccountID" id="AccountID" value="14521" />
    <input type="hidden" name="WID" id="WID" value="39588" />
    <input type="hidden" name="RefID" id="RefID" value="Example004" />
    <input type="hidden" name="OrderMode" id="OrderMode" value="Test" />
    The above parameters all need to be set up for your account.
    • OrderMode needs to be set to Production before going live.
    • WID is the checkout page ID of a page you set up in the admin and customize it so the receipts have the correct information - as well as a cover sheet if you want one.
    • OnSuccessURL, OnDeclineURL, and OnErrorURL are the addresses to pages where the FaaS service redirects the browser in case of authorization, decline and error
    • AccountID and AccountGUID should be copied from: Portal >> Account Info >> API
    • RefID is simply a reference ID that FaaS posts back with the transaction record. It is typically used when data is saved locally and the primary key is needed for reference. You may ignore it if you don't need it.
    Let us know if you need further help.

    Leave a comment:


  • CnP.Support
    replied
    Sure..

    https://clients.clickandpledge.com/c...ing/index.html

    take a look at the above link. I added the form element around your table and now the submit button works.

    Leave a comment:


  • luke@centerforsharing.org
    replied
    Originally posted by Support.Department View Post
    Luke,

    where is the form post line?

    HTML Code:
    <form id="Donation" method="post" action="https://faas.cloud.clickandpledge.com">
    without the above line the Submit button has no way of knowing what action it needs to take.

    I can't find that line.
    Would you be willing to put that in for me? And you are welcome to do some test transactions.

    Leave a comment:


  • CnP.Support
    replied
    Luke,

    where is the form post line?

    HTML Code:
    <form id="Donation" method="post" action="https://faas.cloud.clickandpledge.com">
    without the above line the Submit button has no way of knowing what action it needs to take.

    I can't find that line.

    Leave a comment:


  • CnP.Support
    replied
    Do you mind if we do a couple of test transactions through the form?

    Leave a comment:


  • luke@centerforsharing.org
    replied
    The issue I'm having is that the "submit donation" button won't work when I try to donate on the site...

    Leave a comment:


  • luke@centerforsharing.org
    started a topic Forms as a service

    Forms as a service

    Hi, I need help putting my form into my wordpress site...I tried a test page and it worked, but when I tried to edit the code on the sample page by changing it to fit my needs, the form stopped working. Here's the link: http://centerforsharing.org/involved/donate/

    Thanks!

    Luke
Working...
X