Announcement

Collapse
No announcement yet.

Remote server returns Bad Request

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

  • Remote server returns Bad Request

    Hello C&P,

    I try to post your example file 'Example-1.xml' through direct POST onto the 'https://paas.cloud.clickandpledge.com/paymentservice.svc/' service, but I'm getting a “The remote server returned an error: (400) Bad Request”. I'm not sure, if the address is correct. Our software using .NET 4.6.2, the content type is set to "text/xml; charset=utf-8" and the request method is set to 'POST'.

    Any help would be appreciated.
    Regards
    Gyula
    Attached Files

  • #2
    Good day @Gyulabalazs

    Please change the card expiration date to any future date and test it:

    Click image for larger version

Name:	Card Expiration Date.jpg
Views:	1
Size:	83.9 KB
ID:	32831
    Regards,
    Click & Pledge Support Department

    On Salesforce? Help us by rating our app: Click & Pledge Donor Management on AppExchange

    Join us @ the educational webinars: https://clickandpledge.com/webinars/
    Live Support available Join between 3:00 - 3:30 p.m. ET Monday - Thursday: https://clickandpledge.com/webinars/
    Are you on Salesforce? Join us at the Power of Us Hub: https://powerofus.force.com/0F980000000CjpC

    Comment


    • #3
      Sorry my mistake, I sent the original zip file, because I couldn't upload the xml file I had to use the original zip. Yes, that date was modified to 04/20. I tested the file using the link https://verify.paas.cloud.clickandpledge.com and it was fine.
      Regards
      Gyula

      Comment


      • #4
        Good day Gyulabalazs

        Great. I am confused- have you fixed the issue or you are still experiencing the problem.
        Regards,
        Click & Pledge Support Department

        On Salesforce? Help us by rating our app: Click & Pledge Donor Management on AppExchange

        Join us @ the educational webinars: https://clickandpledge.com/webinars/
        Live Support available Join between 3:00 - 3:30 p.m. ET Monday - Thursday: https://clickandpledge.com/webinars/
        Are you on Salesforce? Join us at the Power of Us Hub: https://powerofus.force.com/0F980000000CjpC

        Comment

        Working...
        X