Announcement

Collapse
No announcement yet.

Getting Started with FaaS

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

  • CnP.Support
    replied
    Great.

    Make sure to change the mode to Production before going live.

    Glad to see it all working. FaaS is not hard - the best advise is to use the examples we have then customize those. The issues you had from beginning were really missing fields that are required.

    Great job

    Leave a comment:


  • Katie P
    replied
    Success



    Success! Thank you for helping me over such a long period of time. I appreciate your patience!

    Leave a comment:


  • CnP.Support
    replied
    Katie,

    In your program you have the following:

    <input name="OnSuccessfulURL" id="OnSuccessfulURL" type="hidden" value="https://www.familyservice.us/donate/authorize" />
    <input name="OnDeclineURL" id="OnDeclineURL" type="hidden" value="https://www.familyservice.us/donate/decline" />
    <input name="OnErrorURL" id="OnErrorURL" type="hidden" value="https://www.familyservice.us/donate/error" />

    Naturally if computers were intelligent enough to know intent rather than code world would be different

    The right syntax for successful URL is: OnSuccessUrl and NOT OnSuccessfulURL

    You should change the line dealing with success to:

    <input name="OnSuccessURL" id="OnSuccessURL" type="hidden" value="https://www.familyservice.us/donate/authorize" />

    try it and let us know.

    Leave a comment:


  • Katie P
    replied
    Redirection to confirmation page...

    I think I should clarify... the dummy credit card payment passes okay. I even receive an email addressed to the pretend donor stating that the donation was made.

    However, within the website, after hitting 'submit', I would like donors to be redirected to a page or message confirming that the transaction was successful. As it stands, donors are just redirected to: https://www.familyservice.us/donate-...111&vg=&RefID=


    Originally posted by Support.Department View Post
    Katie,

    If an error occurs it will post back to your error page. It is doing it correctly since you have an ERROR and the link it posts to is your ERROR page.

    Once all error is taken care of then it will post to the Authorize page.

    Leave a comment:


  • CnP.Support
    replied
    Katie,

    If an error occurs it will post back to your error page. It is doing it correctly since you have an ERROR and the link it posts to is your ERROR page.

    Once all error is taken care of then it will post to the Authorize page.

    Leave a comment:


  • Katie P
    replied
    I made the additions... now the error reads: https://www.familyservice.us/donate/...0value.&RefID=

    I actually did not include "BillingPhone" in my form. I am going to add it and give it a try... 5 minutes later... okay that worked! Now the only little hitch is that the successfully submitted form did not redirect me to my Authorization page. Instead, it brought me to: https://www.familyservice.us/donate-...111&vg=&RefID=

    In my code, I have: <input name="OnSuccessfulURL" id="OnSuccessfulURL" type="hidden" value="https://www.familyservice.us/donate/authorize" />

    So after successful submission, it should go to www.familyservice.us/donate/authorize... right? Wonder why its not going there.

    Katie
    Last edited by Katie P; 01-04-2011, 05:16 PM.

    Leave a comment:


  • CnP.Support
    replied
    Missing parameters

    Basket is empty means the name of the basket is not being passed.

    The following are required:

    <input type="radio" name="UnitPrice" id="UnitPrice" value="30" />
    <input name="ItemID" type="hidden" id="ItemID" value="3" />
    <input name="ItemName" type="hidden" id="ItemName" value="Donation" />
    <input name="Quantity" type="hidden" id="Quantity" value="1" />
    <input name="UnitDedutiblePercentage" type="hidden" id="UnitDedutiblePercentage" value="100" />

    I see that you have the ItemName and UnitPrice but are missing the Quantity, UnitDeductiblePercentage, and ItemID

    Unless I add those in a test environment and test it I won't be able to say if that is the only problem. For now those are missing.

    I will spend a little more time and copy your code to our test environment and test it. Can you make the additions and then test?

    Leave a comment:


  • Katie P
    replied
    Hello again,

    Thanks for your reply. I changed the URL restriction site and ran another test. I am now getting the following error:

    Any ideas?

    Thanks for your continued assistance!

    - Katie

    Leave a comment:


  • CnP.Support
    replied
    Katie,

    It almost worked. I see the following when I do a transaction:

    https://www.familyservice.us/donate/...olation&RefID=

    Error is: URL restriction

    In your URL restriction site you have listed:

    https://www.familyservice.us

    Please note that the system asks for the domain so you have to list: www.familyservice.us

    you should not add https://

    please remove it and test it -- use the dummy card:

    4111111111111111 (4 and 15 - 1's)
    expiration any date in future
    cv2: 123

    we can test it again if you want but please fix the restriction first. I did not change it for you since I wanted you to see what you in there.

    Leave a comment:


  • Katie P
    replied
    Answered my own question! Ready for new review!

    Please disregard my last message. I answered my own question after some more thought and work...

    Originally posted by Katie P View Post
    Hello again,

    Thanks for reviewing my form. Could you possibly be help me with the "includes" coding you mentioned? I am using Wordpress, so I am limited to HTML code and cannot use PHP...

    -- Katie
    I am ready for my form to be re-reviewed and tested. Thanks for your continued help, I very much appreciate it.

    Leave a comment:


  • Katie P
    replied
    Hello again,

    Thanks for reviewing my form. Could you possibly be help me with the "includes" coding you mentioned? I am using Wordpress, so I am limited to HTML code and cannot use PHP...

    -- Katie

    Leave a comment:


  • CnP.Support
    replied
    Katie,

    I just reviewed your form. Please note that the API requires State & Country in the form of country code and state abbreviation. See the example.

    you need to add State & Country as pull down menu similar to what we have in the example. We have provided State & Country lists so you can use it as an include and not worry about it. See the manual:

    https://developers.clickandpledge.co...sdownloads.htm

    there are 2 files for country & state that may be used as includes.

    Leave a comment:


  • Katie P
    replied
    Hello,

    Thanks again for the quick response and help. I have added the form element for Order Mode. Ready to test!

    --- Katie

    Leave a comment:


  • CnP.Support
    replied
    Katie,

    your form looks great. You are almost there.

    In your form you are missing the form element for OrderMode.

    input type="hidden" name="OrderMode" id="OrderMode" value="Test"

    See the following example:

    https://www.clickandpledge.com/devel...s/example/002/

    the form is also available for download from that link.

    The description for the node is at:

    https://developers.clickandpledge.co...fieldnames.htm

    it is the last node described in that page.

    Please set it and let me know when it is live or if you have any other issues.

    Leave a comment:


  • Katie P
    replied
    Q: Setting page as TEST mode?

    Hello,

    Thanks for those answers. I believe I have integrated everything necessary into my form thanks to your help.

    My final question is... how do I set page to TEST mode?

    Originally posted by Support.Department View Post
    Please set it up and let us know once you are live. We will test it and make sure it is working. Make sure to set the page as TEST mode so the test card # can be used.
    FYI: I am using Wordpress and created my HTML form in Wordpress. The current URL is www.familyservice.us/donate-test, but when it goes "live", I will be using www.familyservice.us/donate

    Thanks for your continued support!

    - Katie

    Leave a comment:

Working...
X