Donation Form - DonationContext displays default values on Success page

Options

New to the API and Convio programming in gerenal.

I have a custom form built using the Donations API and validation is working. I'm getting through to the success page but it seems like the DonationContext is not being set because the success/thank you just prefills with default 'John Doe' values.

I printed out the S120:help and found out that the form id on the thankyou page is 1001, not 3380 like it should be.

Now, I've only been able to get to the success page in Preview page mode. Does that have anything to do with it? I have df_preview=true.



If I remove df_preview=true and try it on the actual non-preview page, then the test CC info (4111111111111111 , 111) comes up as declined, so I can't verify the behavior in this instance.

Any suggestions? Thanks in advance.

Tagged:

Comments

  • Still struggling with this...

    I made another page and copied the example form and dropped it in. Then I did the same for the thank you page. I updated the api_key, form_id, and donation levels, but otherwise left it the alone.

    In preview mode I'm able to submit and get to the thank you page, but even in this case it's presenting default values for the transaction summary.

    Now I'm starting to think that this might be expected behavior for the preview mode? What's the method of testing this API to ensure it will work properly in production?

Categories