Map Gravity Forms Date Selector To Paypal Subscriptions
$10-30 USD
Closed
Posted over 9 years ago
$10-30 USD
Paid on delivery
I use gravity forms on [login to view URL], I need to map the "date selector" to Paypal payments pro subscription "Start Date"
So when a donor selects day to start donation, it tells paypal subscription to start the subscription on the selected date.
My old developer sent me this:
add_action(“gform_paypalpro_query_16”, “pre_submission_handler_2”);
function pre_submission_handler_2($nvpreq){
if(isset($_COOKIE) && $_COOKIE[‘profiles_star_date’] == ‘’){
$date = $_COOKIE[‘profiles_star_date’];
$nvpreq .= ‘&PROFILESTARTDATE=‘.trim($date).’T00:00:00’;
}
return $nvpreq;
}
I'm not sure if it's right because I'm using paypal payments pro and that plugin doesn't support hooks BEFORE sending to paypal.
Hi,
I worked on Paypal pro API and Gravity form, so I can do map date value to Paypal pro. If the plugin is not support hook, we have to modify the plugin.
Let me do it for you quickly.
Regards,