Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › Can Gravity forms integration be used for other form
Tagged: third party integration
- This topic has 4 replies, 2 voices, and was last updated 7 years, 7 months ago by Rikk03.
October 26, 2015 at 3:34 pm #13211
Hello, I noticed this integration
It seems a rather straightforward integration, could I use this wpap-lead-email in another form that I can add custom fields to?
Also this form im using is also integrated with paypal, – what would i need to do to do the same for this
https://www.tipsandtricks-hq.com/wordpress-affiliate/wp-affiliate-platform-and-gravity-forms-paypal-addon-integration-586October 26, 2015 at 11:52 pm #71723adminKeymaster
I am not 100% sure as to what you intend to do. Are you using Gravity forms plugin or a different form plugin? Which form plugin are you using?October 27, 2015 at 3:13 am #71724
Im not using a plugin, its part of the theme where you can add listings (paid listings)
OK after a lot of reading I came to the following conclusions.
I can use the 3rd party integration option, however the form – is also a cart, provides product selection options, the form im using works with IPN not PDT, so this confused me initially. It also allows recurring payments.
Direct/Plain/Hosted PayPal Button and Affiliate Plugin Integration
Except i dont have paypal buttons. Paypal loads upon the selection of listing type. In the settings it uses the:
All of which I can specify in the form settings. Im guessing I cant change these or the form wont work as it should. Question is how do i make this work with affiliate plugin?
Im guessing I need to figure out where to put [wp_aff_paypal_fields] and this would be in the section code for the listing type, since I dont have paypal buttons.
I have estore, affiliate and emember and a bunch of other plugins from you so I would hope you can help me on this.
It would also be great if I could integrate listing package price to emember level but I suspect this is far harder.October 27, 2015 at 4:27 am #71725
Sorry the initial topic has changes slightly – feel free to rename the topic.
In the below code im guessing this is where i need to add it :-
$cancel_return = $paymentOpts;
so how can I add the [wp_aff_paypal_fields] ?
global $General, $Cart;
$paymentOpts = $General->get_payment_optins($_POST);
$merchantid = $paymentOpts;
$returnUrl = $paymentOpts;
$cancel_return = $paymentOpts;
$notify_url = $paymentOpts;
$currency_code = $General->get_currency_code();
$cartInfo = $Cart->getcartInfo();October 27, 2015 at 4:42 am #71726
I guess ive figured this out myself ……..
<form name=”frm_payment_method” action=”https://www.paypal.com/cgi-bin/webscr” method=”post”>
<input type=”hidden” value=”<?php echo $amount;?>” name=”amount”/>
<input type=”hidden” value=”<?php echo $returnUrl;?>” name=”return”/>
<input type=”hidden” value=”<?php echo $cancel_return;?>” name=”cancel_return”/>
<input type=”hidden” value=”<?php echo $notify_url;?>” name=”notify_url”/>
<input type=”hidden” value=”_xclick” name=”cmd”/>
<input type=”hidden” value=”<?php echo $item_name;?>” name=”item_name”/>
<!–<input type=”hidden” value=”xxxxxxxxxxxxx” name=”item_number”/>–>
<input type=”hidden” value=”<?php echo $merchantid;?>” name=”business”/>
<input type=”hidden” value=”<?php echo $currency_code;?>” name=”currency_code”/>
- You must be logged in to reply to this topic.