Support

Home Forums Event Espresso Premium PayPal IPn Variables

PayPal IPn Variables

Posted: November 14, 2012 at 10:18 am


Alan Coyne

November 14, 2012 at 10:18 am

Hi,
I have added some variables to the paypal_vars.php e.g.
$myPaypal->addField(‘Event_id’, do_shortcode(‘[EE_META type=”event_meta” name=”eventID”]’));

However on the payment_overview.php after payment , I cannot figure how to show the Event_id. Tried various combinations….Are PayPal Variables parsed somewhere?

Thanks
Alan


Dean

November 14, 2012 at 11:48 pm

Hello Alan,

the $myPaypal-addfield, will add an hidden field to the payment overview page.

If that is what you want, to add the event id use:

$myPaypal->addField('Event ID', $event_id);

as the event id is already requested in the data in the data_vars.php.


Alan Coyne

November 15, 2012 at 4:45 am

Hi Dean,
BAd example i used!
I have added a meat field to the paypal variables $myPaypal->addField(‘Charity_id’, do_shortcode(‘[EE_META type=”event_meta” name=”charityID1″]’));

I want to call this value on the overview page. I have tried $_POST[‘Charity_id’]; but no luck. How can we display hidden field values which we add paypal_vars.php on payment_overview.php ?

Thanks for your help

Alan

The support post ‘PayPal IPn Variables’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso