Announcement

Collapse
No announcement yet.

Getting Declined in Test mode

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

  • Getting Declined in Test mode

    Why would I consistently get declines while OrderMode is set to Test? The WID page is also in Test, but using the 411111111111111 number is consistently declined. A quick test using the WID page directly behaved as expected. The test page is here: https://remix.60feet.co/how-you-can-help/ and the WID in question is 72761 with Fraud mode disabled.

  • #2
    Good day!

    I tried copying your code but you have a multi-page form which makes it a bit harder to copy and test it locally.

    I reviewed your code and see 2 lines for OrderMode.

    Click image for larger version

Name:	OrderMode_Decline.jpg
Views:	1
Size:	139.9 KB
ID:	15291

    While I am not sure why this would cause a decline in TEST mode but it is best to clean the code and then look for other issues. We are still reviewing it and trying to upload it to our servers for testing.
    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
      That was the issue, for whatever reason. I am not sure how or why I did not see that duplicate field before, but thanks for catching it.

      For future testing, is there a more comprehensive debugging option? All I was getting back was "decline" as the response which gave me effectively no information.

      Comment


      • #4
        The problem was that the OrderMode was defaulting to Production in the absence of a valid request. In production your card was declining since 4111 is not a valid card.

        A Decline is always a bank response. Anything else is error. In this case decline was a legitimate response.
        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


        • #5
          I am wondering what will happen if the first page value of donation is not transferred to the second page. I see that you are passing this info as a session and not in the URL and if the visitor has his/her browser's cookies disabled (not sure why anyone could function these days with that disabled) then the basket will be empty and the error will be posted back.

          It is just a thought as we are trying to figure out why some of your visitors are getting error.. one has to consider all possibilities.
          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