Announcement
Collapse
No announcement yet.
Need help with my form to sell tickets
Collapse
X
-
Good day!
I am not sure what you are expecting to happen! See line 271- 273:
<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" />
These are posting to our demo account - how do you expect the API to post this to your Salesforce account?Regards,
Click & Pledge Support Department
Join us @ the educational webinars: https://clickandpledge.com/webinars/
Live Support- read more: https://support.clickandpledge.com/s/article/general-information-live-support/
-
Good day!
You may wish to see these KB articles: http://forums.clickandpledge.com/articles/api/faas
The articles will help you with the information you are missing.
Let us know if you need any help.Regards,
Click & Pledge Support Department
Join us @ the educational webinars: https://clickandpledge.com/webinars/
Live Support- read more: https://support.clickandpledge.com/s/article/general-information-live-support/
Comment
-
Originally posted by Support.Department View PostGood day!
You may wish to see these KB articles: http://forums.clickandpledge.com/articles/api/faas
The articles will help you with the information you are missing.
Let us know if you need any help.
Comment
-
Good day @nezzdog.
Once you have made the updates please let us know so we can review your code.
All you need to change is the account information per Account Info > Profile > API
The tab in the portal has all the info you need.
You may want to set up a checkout page and use it as a reference by using the WID of the page.
We have daily office hours which you may join and we can answer any questions you may have.Regards,
Click & Pledge Support Department
Join us @ the educational webinars: https://clickandpledge.com/webinars/
Live Support- read more: https://support.clickandpledge.com/s/article/general-information-live-support/
Comment
-
SO I have all the information from Sales Force into the form and added the decline/ authorize / error pages but all cards are getting declined. Also is there a way for when someone wants 2 tickets or however many, it shows a subtotal before they hit purchase tickets? Thanks a ton!
https://jhalliance.org/35thAnnivTicket_JHAlliance.htm
Comment
-
Good day.
We just did a test transaction on that page and the following is the URL: The URL shows you everything so always double check the URL first before the page.
HTML Code:https://jhalliance.org/authorized.html?on=1407170801397571111&vg=13192d7e-4399-4273-9c51-98d87f5e1692&au=bbb5
Your website does not have a page for: https://jhalliance.org/authorized.html (please go to this page & you will see that the page does not exist - your site returns a 404 error which simply means page not found)
As for the total and sub-total - please note that you are using the API and the API has no control over your UI - the form is what you are building and as such we have no control. You need to write a Javascript to do the total for you since that is the interface and form.
I hope the above helps you with the error.
Please let us know if we can be of any further assistance.Regards,
Click & Pledge Support Department
Join us @ the educational webinars: https://clickandpledge.com/webinars/
Live Support- read more: https://support.clickandpledge.com/s/article/general-information-live-support/
Comment
-
Our site is in the framework of Drupal so the authorized page is https://jhalliance.org/?q=authorized and I have that reflected in the form code. Do I need to create a simple authorize page outside of drupal that is authorized.html? Also I noticed in the source code on line 268-270 the color identifiers for code are weird for each line... red and blue but the code seems correct. Thanks also for the javascript advice...working on that now. Thanks!
Comment
-
Good day!
You don't need to do anything - just note that the page has to exist and that you should be able to get to it.
Not knowing Drupal may I suggest that you create a page and simply write: "Hello World"
Can you visit that page through any URL? What will the URL for that page be?Regards,
Click & Pledge Support Department
Join us @ the educational webinars: https://clickandpledge.com/webinars/
Live Support- read more: https://support.clickandpledge.com/s/article/general-information-live-support/
Comment
-
Any page that is created becomes www.yourdomain.com/?=contact (for example) So just having an html or htm extension won't work...however I have a page for the authorized that works @ https://jhalliance.org/?q=authorized
Comment
-
Great..
So that is your page URL.
Simply use https://jhalliance.org/?q=authorized for OnSuccessURL
The OnSuccessURL is simply the URL to a page that our system can post back to when a transaction authorizes. The same goes for the decline & error.
Let me know how that works.Regards,
Click & Pledge Support Department
Join us @ the educational webinars: https://clickandpledge.com/webinars/
Live Support- read more: https://support.clickandpledge.com/s/article/general-information-live-support/
Comment
-
Good day!
Please note that what you call Decline may not be right.
Please post the URL that is being used on the page. The URL tells you everything you need to know.
Do one transaction and post the URL to this page.Regards,
Click & Pledge Support Department
Join us @ the educational webinars: https://clickandpledge.com/webinars/
Live Support- read more: https://support.clickandpledge.com/s/article/general-information-live-support/
Comment
-
Well it looks like I have these fields still needing info...can you tell me where to find the RefID and Tracker?
- <input type="hidden" name="RefID" id="RefID" value="Example-003" /> <input type="hidden" name="Tracker" id="Tracker" value="FaaS-Example-003" />
Also I added a javascript to calculate ticket prices and wonder if that is why I get an error now instead of decline... UGH!Last edited by nezzdog; 07-17-2014, 01:49 PM.
Comment
-
Good day!
The RefID and Tracker are optional and not needed.
RefID = any parameter you wish to see returned to you once a transaction has been processed. Typically developers use this to send the ID of the entry if they are saving the info in their local database. Upon return they can locate the transaction and record the authorization, etc. It is simply a value that once posted we will return to you in the post back URL.
Tracker = any text that you wish to save with the transaction. Typical use case is a newsletter where you may wish to save a text representing the email. Developers typically pass this as a variable in the URL so they can read it and post it with the transaction. Imagine an email newsletter having a link in the body of the email. The link has a tracker value so when the reader clicks on the button the tracker appears with the URL. The form will read the URL and send it with transaction.
The other issue with the ticket pricing, etc. were addressed in the office hours and based on the result at the end of the office hours it seems like all is in order.
Please let us know if we can be of any further assistance.Regards,
Click & Pledge Support Department
Join us @ the educational webinars: https://clickandpledge.com/webinars/
Live Support- read more: https://support.clickandpledge.com/s/article/general-information-live-support/
Comment
Comment