Announcement

Collapse
No announcement yet.

Need help to make our page work with C&P

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

  • CnP.Support
    replied
    Good day!

    Sorry for the delay in responding to this post. You had requested a pull from the main primary database of the XML posts and that takes a little time. Requesting such information requires several departments to retrieve the info.

    The section in red is related to the custom questions & answers that you are posting to the API.

    If this is not right I suggest you use https://verify.faas.cloud.clickandpledge.com to post and see what you are actually posting. The URL is for verification and shows you all items you are posting. In reviewing your code there is a lot of scripts that opens and closes various fields and those are not things we really get into to debug scripts.

    I hope the following helps you identify the bug.

    Here is your XML from one of your transactions: [Please note that we have replaced PII data with ****'s to protect the privacy of the information]

    <?xml version="1.0"?>
    <CnPAPI xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:APISchema.xsd">
    <Version>1.2</Version>
    <Engine>
    <Application>
    <ID>CnP_FaaS</ID>
    <Name>CnP_FaaS</Name>
    <Version>FaaS.20140930.001.036.001.000.036</Version>
    </Application>
    <Request>
    <Operation>
    <OperationType>Transaction</OperationType>
    <IPAddress>71.236.232.56</IPAddress>
    <DeclineFraud>true</DeclineFraud>
    <UrlReferrer>https://www.eternalimpactdonate.org/</UrlReferrer>
    </Operation>
    <Authentication>
    <AccountGuid>deb2c58d-26aa-475c-b6fe-0359e9865d06</AccountGuid>
    <AccountID>19669</AccountID>
    <UserName>xxxxxxxxxxxxx</UserName>
    <Password>xxxxxxxxxxxxx</Password>
    </Authentication>
    <Order>
    <OrderMode>Production</OrderMode>
    <Tracker>FaaS-EternalImpact</Tracker>
    <CardHolder>
    <BillingInformation>
    <BillingFirstName>Matthew</BillingFirstName>
    <BillingMI />
    <BillingLastName>B*******</BillingLastName>
    <BillingEmail>matt.bel*******</</BillingEmail>
    </BillingInformation>
    <BillingAddress>
    <BillingAddress1>11468 *******</</BillingAddress1>
    <BillingAddress2>1731</BillingAddress2>
    <BillingCity>Happy Valley</BillingCity>
    <BillingStateProvince>Oregon</BillingStateProvince>
    <BillingPostalCode>97086</BillingPostalCode>
    <BillingCountryCode>840</BillingCountryCode>
    </BillingAddress>
    <CustomFieldList>
    <CustomField>
    <FieldName>Fund</FieldName>
    <FieldValue>Missio</FieldValue>
    </CustomField>
    <CustomField>
    <FieldName>Description</FieldName>
    <FieldValue>Special Projects for Missio Dei</FieldValue>
    </CustomField>
    </CustomFieldList>
    <PaymentMethod>
    <PaymentType>CreditCard</PaymentType>
    <CreditCard>
    <NameOnCard>Mat*******</</NameOnCard>
    <CardNumber>xxxxxxxxxxxxxxxx</CardNumber>
    <Cvv2>xxx</Cvv2>
    <ExpirationDate>02/15</ExpirationDate>
    </CreditCard>
    </PaymentMethod>
    </CardHolder>
    <ThirdParty />
    <OrderItemList>
    <OrderItem>
    <ItemID>1</ItemID>
    <ItemName>Donation</ItemName>
    <Quantity>1</Quantity>
    <UnitPrice>1000</UnitPrice>
    <UnitDeductible>1000</UnitDeductible>
    <UnitTax>0</UnitTax>
    <UnitDiscount>0</UnitDiscount>
    <SKU />
    <Campaign />
    </OrderItem>
    </OrderItemList>
    <Receipt>
    <SendReceipt>true</SendReceipt>
    <CheckOutPageID>92696</CheckOutPageID>
    <EmailNotificationList>
    <NotificationEmail>Jenni*******</</NotificationEmail>
    <NotificationEmail />
    </EmailNotificationList>
    </Receipt>
    <Transaction>
    <TransactionType>Payment</TransactionType>
    <CurrentTotals>
    <TotalDiscount>0</TotalDiscount>
    <TotalTax>0</TotalTax>
    <TotalDeductible>1000</TotalDeductible>
    <Total>1000</Total>
    </CurrentTotals>
    </Transaction>
    </Order>
    </Request>
    </Engine>
    </CnPAPI>

    Leave a comment:


  • johngarrick
    replied
    Dear Support,

    Here are the replies to your two questions:
    1) We sent the URL for the page in the last post... Form is active and secure at https://www.eternalimpactdonate.org/

    2) We have tested it multiple times. Here are a few examples...
    Order Numbers:
    1411301013403795492
    1411190141160605492
    1411191259399750851
    1411191337281630851

    The data (fields) we are not seeing is the "designation" sections (see area circled in red on attached screen shot).

    We look forward to your reply and resolution. THANKS!!

    Click image for larger version

Name:	Screen Shot 2014-12-05 at 12.48.43 PM.jpg
Views:	1
Size:	14.7 KB
ID:	15570

    Leave a comment:


  • CnP.Support
    replied
    Good day!

    Any code that posts to the API will post to C&P Data if your account is connected to Salesforce.

    Have you done any test transactions with this form? If so please give us the Order Number so we can review the transaction.

    Is this form posted anywhere? We cannot host your form due to our security policy so we have to test it while on your site.

    Leave a comment:


  • johngarrick
    replied
    Question about our donation page

    NEW QUESTION ON BEHALF OF OUR DEVELOPER:

    www.eternalimpactdonate.org

    The problem my Faas form is having on the transmission of data is this: Seeing the information pass in the xml location on the C&P Data record. Please let me know if there is special code to send the data in the dataxml section of the record that needs to be included on the Faas form.

    My page code is attached.

    THANK YOU!
    Attached Files
    Last edited by johngarrick; 12-02-2014, 06:45 PM.

    Leave a comment:


  • CnP.Support
    replied
    Good day!

    We reviewed your code and realized that you are passing a 4 digit year (YYYY) which is incorrect. The API only access 2 digit year (YY).

    Please try it and let us know if you still experience problem.

    Leave a comment:


  • johngarrick
    replied
    Thanks for your reply and your assistance!

    I have asked Matt (our volunteer developer) to sign up for the forum so we do not have to go through the "middle man" (me).

    Here is his reply to your last inquiry:

    I just registered for the forums, but won't be able to post a question until they activate my account (probably in the morning, I'm guessing). In the meantime, I've attached some stuff for them to look at, if you want to pass it on. I probably wouldn't get back to it until after work tomorrow.
    Several images from their "Verify.faas..." page
    URL & query string that results when I try a real payment (with same data)
    default.html (aka the form, aka the code)
    It sure looks like we're submitting a two-digit "ExpirationMonth" and a four-digit "ExpirationYear", which shouldn't cause an error.

    https://www.dropbox.com/sh/ercykwrol...RUtKtmqCa?dl=0

    He also sent a folder with various files in them and I did not know how to post files through the forum, so I am saving them in my public Dropbox and will put the URL here to the Dropbox.



    THANK YOU!

    Leave a comment:


  • CnP.Support
    replied
    Good day!

    Is there anyway we can see the form? We need to review the code.

    The error message is clear- the date format is invalid. We just have to see how you are doing it.

    Since the error is pre-post considering the XML error, there are no records we can review. If a post is ill-formed we reject it and as such we have no record of it.

    You may want to ask your developer to continue this communication to save time in getting this resolved.

    Leave a comment:


  • johngarrick
    replied
    Coding dude's reply:

    Okay, I added a hidden input, "Quantity" with a value of "1". Now we're seeing this (I made it more readable):


    https://www.eternalimpactdonate.org/...or.html?on=Xml Error&The 'urn:APISchema.xsd:ExpirationDate' element is invalid - The value '10/2016' is invalid according to its datatype 'String' - The Pattern constraint failed.&hashresponse=ZGEzOWEzZWU1ZTZiNGJkMzI1NWJmZ WY5NTYwMTg5MGFmZDg3OQ==&RefID=EternalImpact


    However, I'm posting ExpirationMonth=10, and ExpirationYear=2016, which should be fine according to the documentation.

    Leave a comment:


  • johngarrick
    replied
    THANK YOU! I have passed on this message to our volunteer "coding dude" and we will take it to the next level. I appreciate it!

    Leave a comment:


  • CnP.Support
    replied
    Good day!

    Take a look at the link you sent us:

    HTML Code:
    https://www.eternalimpactdonate.org/DonationError.html?err=The%2520basket%2520is%2520empty&hashresponse=ZGEzOWEzZWU1ZTZiNGJkMzI1NWJmZWY5NTYwMTg5MGFmZDg3OQ==&RefID=EternalImpact
    The parameter called "err"

    err= The%2520basket%2520is%2520empty

    remove the %2520 and you will see: The basket is empty

    This means the ItemName is blank or the quantity is 0 meaning nothing is being posted as the item name.

    I suggest you change your form post method to: https://VERIFY.faas.cloud.clickandpledge.com and see the parameters you are posting to us.

    I am sure you will see that ItemName is empty.

    I did not see the form so I can't review your code. I am sure if you review your code you will see that ItemName is empty or your quantity is 0.

    Let me know if this works.

    Leave a comment:


  • johngarrick
    started a topic Need help to make our page work with C&P

    Need help to make our page work with C&P

    Warning, I am not a techy and even posting on a technical site is a bit intimidating. I have a volunteers (Matt) who has created a beautiful page for us to use as our donation page, but we keep getting errors. HELP if you can!

    We are done with our new giving page, but we are getting some errors and we need some information from C&P in order to “go live”.

    We have a secure (SSL) dedicated URL hosted with Blue Host: www.eternalimpactdonate.org

    The form in working well and all our links are updated.

    We have three response pages for the following responses:

    ERROR: https://www.eternalimpactdonate.org/DonationError.html
    DECLINE: https://www.eternalimpactdonate.org/...onDecline.html
    SUCCESS: https://www.eternalimpactdonate.org/...onSuccess.html

    However, when attempting to do a donation, we are receiving an error code:
    https://www.eternalimpactdonate.org/...=EternalImpact

    As far as we can tell this is an error from Click & Pledge. Tech support has informed us that they "don't support the FAAS form because of the HTML Coding as well as the time it takes our programmers to dive into the code and see what else is in the code.” They recommended I post a question to the Forum since they know we don't have any more money to pay.

    We need help to “connect the dots” from our page to C&P terminal. Even if there is a link to a “how to” or “check list” document/video that someone would use to finalize the a page such as ours.

    We have maxed out our technical abilities and are not clear what the error is from. The current giving page (C&P template at: https://co.clickandpledge.com/advanc...aspx?wid=92696) is ascetically unacceptable. We are hoping to get a resolution quick. Thanks for your willingness to consider helping us to the next level.
Working...
X