formfields.com Forum Index formfields.com
FORMfields Forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

ipn doesn't return payment_gross for non USD currencies

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    formfields.com Forum Index -> AM 1 - Bug Reports
View previous topic :: View next topic  
Author Message
julala



Joined: 01 Jan 2006
Posts: 12

PostPosted: Thu Jan 05, 2006 3:11 pm    Post subject: ipn doesn't return payment_gross for non USD currencies Reply with quote

Hi

Made a couple of test transactions before going live. The payments were made and paypal ipn seems to have worked fine except it doesn't seem to be returning a gross_payment or a gross_fee

Therefore, the ad_spaces table is not being updated correctly by the adManUpdatePaidAds function.

Therefore the ad is still showing as NOT PAID and the statement still shows an amount outstanding in both admin and the advertisers interface.

Help please.

Thanks in advance


Last edited by julala on Thu Jan 05, 2006 3:55 pm; edited 1 time in total
Back to top
View user's profile Send private message
julala



Joined: 01 Jan 2006
Posts: 12

PostPosted: Thu Jan 05, 2006 3:45 pm    Post subject: sigh....this is another currency issue Reply with quote

I found this on paypal dev network

Quote:
Apparently, the empty payment_gross/payment_fee field is blank for non-USD payments by design (for backward compatibility).
In this case only the mc_gross (read multiple currency gross) and mc_fee field will be filled along with mc_currency. If you set your account to automatically convert payments to USD, then the converted amounts will be in the settle_... fields.

So...using payment_gross as a backup will *only* work for USD denominated payments. For non-USD payments, mc_gross is still the way to go...


so this is actually yet another currency issue. So much for just changing all $'s to ?'s Crying or Very sad

Changed all reference to payment_gross to mc_gross and that seems to have done the trick................

.......what's next? Sad
Back to top
View user's profile Send private message
formfields



Joined: 01 Aug 2005
Posts: 465

PostPosted: Sat Jan 07, 2006 7:23 pm    Post subject: Reply with quote

I'm sorry, are you saying that changing all reference from payment_gross to mc_gross fixed the problem or are you still having difficulties?
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    formfields.com Forum Index -> AM 1 - Bug Reports All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group