No announcement yet.

Visualforce Error: List has no rows for assignment to SObject

  • Filter
  • Time
  • Show
Clear All
new posts

  • Visualforce Error: List has no rows for assignment to SObject


    When trying to view Click and Pledge Temporary Contacts that are associated with declined credit card transactions we get this Visualforce error message:

    List has no rows for assignment to SObject
    An unexpected error has occurred. Your solution provider has been notified. (CnP_PaaS_EVT)

    In most cases, the person trying to pay for the registration enters a different credit card or corrects a typo and their second attempt at registration goes through.

    Here's the problem:
    1. The registration (Contact and Transaction) associated with an approved credit card creates a second temporary contact. We can convert the second temporary contact to a contact and process as normal.

    2. ​We cannot delete the declined card transaction or the temporary contact associated with it.

    3. The person's registration payment total is double what it should be as the declined card transaction is added to the approved credit card transaction. Jane Doe tries to purchase a $100 ticket but her card is declined. She then purchases the $100 ticket with another card. Her total registration now equals $200 on registration screens and reports.

    Thank you for assistance with this.

    Salesforce Administrator
    Bicycle Transportation Alliance
    Portland, OR

  • #2
    Good day @BTAOregon,

    This has been posted to the API platform.

    Please send us the link to the form that is using the API so we can review it. This post does not seem to be related to the API but since it is posted to the API channel please include the link to your form so we can review.

    It also appears that you have posted this in a separate post: Please help us by not posting the same message as different threads. It is so confusing...

    Click & Pledge Support Department

    Join us @ the educational webinars:
    Live Support- read more: