Candace thanks for the reply. I can assure you I've done all those things. I've been reading forum posts over and over to see if I'm missing something. I've taken screenshots of my module settings and completion events and attached them below. I wouldn't mind setting up a user account for you to check things out from the inside
I wonder if there is some sort of prerequisite for the cancel to work. These are the steps I follow when I decide to start from scratch and try again.
- Add a new DF module to the page
- Click to Manage Dynamic Questions
- Add three questions named amount, description and status with default field settings other than forcing the short names to be the same as the long names
- Clicked to manage Form Completion Events
- Chose -New Event-
- Name it CancelRedirect
- Changed Link Type to page and select Home
- Clicked Update Event
- Click Module Configuration
- Expand Payment Gateway section
- Chose to Enable Payment Gateway and then selected PayPal. For some reason it seems we leave the Test Mode field unchecked although its counter-intuitive and I've tried both ways regardless)
- Then expand the PayPal Gateway section of Module Configuration
- I enter my PayPal sandbox seller email address
- Leave Payment type set to Purchase
- Choose Sandbox.PayPal.com (test) for the Url
- Enter the following into Additional Parameters (assuring there are no spaces) &item_name=$(description)¤cy_code=USD&amount=$(amount)&no_shipping=1
- Set PayPal last status to 'status'
- I select CancelRedirect in the Form Completion Event list
- After page re-load, check off the Redirect After Cancel box
- Click the Save Completion Event / PayPal Status Setting link
- After page re-load, I expand the Submit Link / Button section
- Enter 'pay now' into the Save Text field
- Then I click Update Settings
- Then I open a new browser window and log in to my sandbox.PayPal account (if I don't it prompts me to login during my checkout process - although your demo #15 seems to remain logged in)
- I then toggle back to my DF module's form and fill in some of the fields accordingly for amount and description leaving status blank.
- Then I click the 'pay now' link
- I'm redirected to PayPal with the item's description and price forwarded flawlessly.
- I choose the cancel link from the bottom of the page and I'm redirected back to the DF module page instead of the HOME page.
As I mentioned, I've tried the same with dynamic emails in place of a redirect event. No luck. Hopefully there is something I'm missing when you read those steps that I can just check-off and be done with. If not, I can have you login to my site.
One thing to note, I use a URL re-writer module. It gets in the way of typical form submission redirects so when using Dynamic Forms I have to enter a full http: address for the redirect page instead of choosing a page within the site where DF only stores the TabID. I have done two things to assure the URL re-writer isn’t interfering here. First I disabled the URL re-writer completely (which typically resolves my Redirect Page after Saves when not using a full http address). Then I tried an email completion event so that it should have nothing to do with urls at all.
I've tried to look at the URL it creates when I enable debug mode, but I don't really know what it should say so it’s hard to tell what's going on.
I was going to insert the images. Instead I uploaded them to the forum images directory and I think these links should work: