[Resolved] paypal dropdown menu
I can’t get paypal to work with WordPress. Specifically, it’s the drop down menu that I really can’t avoid having…there are 4 different subscription rates. Short of making 4 different buttons using the email code only (which is a bit of a mess and I worry is confusing), I’m at a loss.
Has anyone got this to work without resorting to a paid plugin? (Although I’d accept recommendations for any paid plugins that have worked with customized paypal buttons as well).
Sorry…I probably shouldn’t have posted this in the Contact Form 7 forum, as the drop down menu in question pertains to the Paypal button not Contact Form 7.
However, I’m using a Contact Form 7 form and pasting the Paypal button in the “# Sender’s message was sent successfully” message after someone finishes the form correctly and clicks submit, so that the payment option appears only after the form is submitted. This works well if I don’t have a customized Paypal button with the drop down menu for price selection (if you make a simple button you get the option to copy an email code rather than the html, which is what works on WordPress sites.)
So as more relevant question to this forum: can drop down menus in Contact Form 7 trigger the appearance of new fields depending on the selection? Or maybe if the first question is membership type (which would indicate the particular cost of membership) could a new page automatically load where the form could be completed and the appropriate paypal button (without price options) would appear at the bottom?
Thanks for any help anyone can offer.
RE: can drop down menus in Contact Form 7 trigger the appearance of new fields depending on the selection?
Looks like you are looking for Conditional Logic which is not available directly in Contact Form 7. It can be done via custom programing but you would need to be rather skilled at WordPress development using PHP.
Thanks for your reply.
I ultimately just put links to the 4 different price options depending on subscription type and did 4 different forms so the right paypal button could appear in the message sent correctly box. This has the added benefit of creating 4 databases for the forms for easier tracking. (I installed the Contact Form to DB Extension).
WordPress should really make their own workaround for paypal buttons with drop down menus…..
If this resolves your question, it helps others contributing here, if you can flag your post as [resolved]
I’m trying to do a similar thing. I have four items that I setup in a PayPal drop-down menu. I want to submit the selected item to PayPal after my contact 7 form is submitted. I’m putting the following code in the additional settings area in Contact Form 7, but I get errors when it takes me to PayPal. I’m obviously missing something, but I don’t know what.
on_sent_ok: “location = ‘https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=4EJBT5ZVKBGC8’;”
Here’s some additional links concerning the topic:
- The topic ‘[Resolved] paypal dropdown menu’ is closed to new replies.