Anyone know if is there possible to add extra data to order summary of paypal?
Order Summary http://imageshack.us/a/img32/9984/paywithapaypalaccountpa.png
I tried to send transaction_subject
variable through gform_paypal_query
but does not work.
add_filter('gform_paypal_query', 'update_paypal_query', 10, 3);
function update_paypal_query($query_string, $form, $entry){
//put PayPal querystring into an array
parse_str($query_string, $query);
$query['transaction_subject'] = "$entry[12] cotas reembolsáveis para o evento $entry[13]";
$query_string = http_build_query($query, '', '&');
return '&' . $query_string;
}
References:
https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/e_howto_admin_IPNIntro
Any thoughts will be apreciated, thanks all!