IPN variable used for nonUS based transactions non-USD payments mc_gross or payment_gross.

ad_p
Contributor
Contributor

Hello,

If I am having paypal business account & have set primary currency to GBP.
In the php form i have set currency_code to "USD".

 

Somehow getting "payment_gross" value empty.

May be  if  user make payment by currency other than USD  than "payment_gross" value in IPN response is empty.

However there is value in "mc_gross" variable in IPN response.

So the query is can i replace "payment_gross" with "mc_gross". It is ok & safe as i am not sure if there will be negative value in mc_gross.

Will mc_gross work for USD as will as other currency  ?

 

Also i need link to latest pdf guide for paypal API Integration (PHP).

 

Please guide as i m new to paypal. Thanx.

 

Login to Me Too
0 REPLIES 0

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.