No Email is sent when Submit URL is defined

microdave 09 Feb, 2009
Hello Guys, Good Day

Using Chronoforms 3.0
In the "Form URL's" tab I switched from using the "Redirect URL" to using the "Submit URL". That way I can pass variables to the next page with the post method. (see layout below)

1. After the switch, it is no longer sending emails to the specified people (thats ok, i would rather have a table with info so I tried the next step).
2. I tried to have the data submitted to a table but the db is not picking up info (it does when I go back to "redirect URL" not when using "submit URL")

Is there any other options to store data, if not how about receiving emails if storing data is not available? THANK YOU

Layout:
page 1 (has a form to fill out, upon hitting submit , variables are passed to the next page)
page 2 (has a table with totals, this is a conformation page, gets directed to paypal upon hitting submit)
Both pages are using the form action url (submit URL)
Max_admin 10 Feb, 2009
Hi microdave,

if you changed the "submit URL" then Chronoforms will not do any on submit actions like emails or data storage, that's normal, why do you add the submit URL ?

Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
microdave 10 Feb, 2009
The way that i have written my form, I am passing variables (with php) to the next page.

[For Page One]
The only way I have been able to pass those variables is by placing the URL in the form "action" (by way of "Submit URL"). If I place them in the other textfield (Redirect URL) they are not passed. Here is a sample of the code on page two.

//This code picks up the variable from the previously submitted form
<?php
$value = $_POST['extra_feature_1'] + $_POST['model_type'] + $_POST['shipping'] - $_POST['option2'];
?> 



[For Page Two]
Since I am connecting to paypal, I thought that i had to place the URL in the "Submit URL" textfield. Don't know,am I right or wrong?

You guys are awesome. Once this issue is out of the way I will be officially using Chronoforms. So you can expect me to purchase license. 😀
Max_admin 10 Feb, 2009
Hi microdave,

I understand but there is no way to post the data to some where else without breaking the Chronoforms tasks except by using the CURL plugin, with the CURL method, the form will post data to 2 different places, one of them should be behind the scenes and the browser will not visit that page, so does PayPal have a support for something like this ? for example authorize.net supports this method!

Regards
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
microdave 11 Feb, 2009
Ya, I was able to locate the post that described the curl plugin and how to implement it, but I could not get it to work. I followed the directions everything went smooth, but no luck in the end. I assume this does not work with paypal. Not sure of what to ask them either since I am not sure what the issue is. (nevermind it can't be paypal since it does not work when the form is passing variables to the other form much less paypal)😢

Can you direct me to a post that shows a different method of somehow passing variables from one page to the next or to a payment gateway such as paypal?

I would be grateful.
GreyHead 11 Feb, 2009
Hi microdave,

The curl plugin should work with PayPal provided that your site has curl installed. However, you probably don't need it. It's simpler to construct a url and submit to PayPal through the ChronoForms ReDirect URL. As you found you can't do this directly in the ReDirect URL but you can set the value of the URL in one of the OnSubmit code boxes and ChronoForms will then redirect.

There's an example here

Bob
This topic is locked and no more replies can be posted.