Forums

emails and paypal plug not working

areiskin 14 Feb, 2011
I created a form but neither the emails nor the paypal are getting submitted. I tried to follow your directions by checking the debugging, but I only got this in response:

Form passed first SPAM check OK
Form passed the submissions limit (if enabled) OK
Form passed the Image verification (if enabled) OK
Form passed the server side validation (if enabled) OK
$_POST Array: Array ( [class] => Feb. 27, 2010 $995 [first_name] => Andrea [last_name] => Reiskin [email] => [email]areiskin@example.com[/email] [phone] => 000000 [address] => 9041 Xxxxxx Street [city] => Culver City [state] => CA [zipcode] => 00000 [cc_name] => Andrea Reiskin [cc_type] => MasterCard [cc_number] => 000000000000 [ex_year] => 00 [ex_month] => 00 [cc_security] => 000 [cc_zipcode] => 00000 [amount] => 0.50 [button_24] => Submit [23e6d60f4a6d349b88cd3458041e60d6] => 1 [1cf1] => >020188c4060ccc583472dfa3eeb38293 [chronoformname] => enrollment )
$_FILES Array: Array ( )
Form passed the plugins step (if enabled) OK
Debug End



I know I'm missing something big, but I can't figure out what. Please help! I've purchased both the Chronoforms as well as the paypal plugin. You can find the form at http://www.igniterealestate.com/index.php?option=com_chronocontact&Itemid=23

Thank you! Andrea
GreyHead 14 Feb, 2011
Hi Andrea,

I've removed your personal credit card details from the post. Best to test with dummy information to start with.

From the debug info it looks as theough you don't have emails enabled. Please check the following:

a) That 'Send Emails' is set to 'Yes' on the Form General tab

b) That you have a valid Email Setup - if the box is green it's valid, red is invalid (see d below)

c) That you have set 'Enabled' to 'Yes' in the Email Setup Properties box

d) A valid Email Setup requires To, Subject, From Name and From Email elements (or the Dynamic equivalents) in the *same* setup box.

e) The element boxes must contain strings for the static elements or valid input names from the form for the Dynamic elements.

f) The To and From Email boxes must contain valid email addresses

g) The From Email address should match the Domain name.

h) The To email address should not be the same as the From Email address.

The PayPal plug-in requires a PayPal WorldPay account with the API enabled - do you have that set up?

Bob
areiskin 15 Feb, 2011
Max,

Thanks for taking care of those personal details! What a stupid move on my part. I made those changes and got the emails working. I got the paypal working by changing the exp_year field to four digits -- paypal wasn't accepting just 2 digits.

Now, a different problem. The amount in the form is being doubled and then tripled when charged by paypal. What's that about? I obviously need this fix this!!🙂

Thanks,
Andrea
GreyHead 15 Feb, 2011
Hi Andrea,

If you are using the free version of the PayPal API plug-in Max has that set to randomise the amount. The solution is the paid version.

Bob
areiskin 15 Feb, 2011
I paid for the registered version. Nothing was sent to me to get it registered but the code. Can you get me what I need to fix the code?

Thank you,
Andrea
GreyHead 15 Feb, 2011
Hi Andrea,

Please send Max a message through the Contact Us form here. I don't have the non-randomised version of the plug-in. I know that he's had some connection problems recently but he has posted here today so hopefully he's back online again.

Bob
areiskin 17 Feb, 2011
Bob,

Max emailed me the right file -- so I'm hoping it will work well now.

But I have a new question. I'd like to build in a coupon code that a client could enter that would be validated and then change the hidden amount field. Is there a tutorial for this, or do I need to hire someone to do it for me?

Thanks,
Andrea
GreyHead 18 Feb, 2011
Hi Andrea,

I recall a thread on coupons a long while ago. It's not too difficult to code yourself depending on what kind of coupon you want: $ v's %, repeated uses, user specific, time limited, . . .

Basically you create a mini-form to create coupons, save the results in a database table then add a script (or an Ajax Look-up) to the Form to check if a coupon is valid, make the adjustment and update the coupon table if there is a limit on uses.

By all means eamil me if you want to talk about contracting it out.

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