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.
Announcement
Collapse
No announcement yet.
Forms as a service
Collapse
X
-
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]
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:
-
Originally posted by Support.Department View PostBy 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" />
- 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?
Thanks for your help!
Luke
Leave a comment:
-
Originally posted by Support.Department View PostBy 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" />
- 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?
<form id="Donation" method="post" action="https://faas.cloud.clickandpledge.com">
Thanks for your help!
Luke
Leave a comment:
-
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" />
- 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.
Leave a comment:
-
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:
-
Originally posted by Support.Department View PostLuke,
where is the form post line?
HTML Code:<form id="Donation" method="post" action="https://faas.cloud.clickandpledge.com">
I can't find that line.
Leave a comment:
-
Luke,
where is the form post line?
HTML Code:<form id="Donation" method="post" action="https://faas.cloud.clickandpledge.com">
I can't find that line.
Leave a comment:
-
Do you mind if we do a couple of test transactions through the form?
Leave a comment:
-
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:
-
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!
LukeTags: None
Leave a comment: