cancel
Showing results for 
Search instead for 
Did you mean: 

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

Highlighted
Contributor

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

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.

 

Tags (1)