Infralution Support Forum Index Infralution Support
Support groups for Infralution products
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Paypal returns Verify INVALID

 
Post new topic   Reply to topic    Infralution Support Forum Index -> IPN.NET Support
View previous topic :: View next topic  
Author Message
adiazreb



Joined: 15 Feb 2007
Posts: 2

PostPosted: Thu Feb 15, 2007 9:57 am    Post subject: Paypal returns Verify INVALID Reply with quote

Hello.

Using IPN.NET for the first time, and all Paypal transaction are rejected with the error "Payment not verified by PayPal. PayPal response: INVALID".

We've tried to change encoding, but it doesn't work. What is the problem?

Our XML file looks:

<?xml version="1.0" encoding="utf-16" ?>
- <Payment>
- <Transaction>
<mc_gross>1.16</mc_gross>
<address_status>unconfirmed</address_status>
<item_number1>MPD1</item_number1>
<payer_id>SPW7F95AELVYJ</payer_id>
<tax>0.16</tax>
<address_street>C/Monacs 12 portal H 231</address_street>
<payment_date>00:18:40 Feb 15, 2007 PST</payment_date>
<payment_status>Completed</payment_status>
<charset>ISO-8859-1</charset>
<address_zip>28129</address_zip>
<mc_shipping>0.00</mc_shipping>
<mc_handling>0.00</mc_handling>
<first_name>Antonio</first_name>
<mc_fee>0.39</mc_fee>
<address_country_code>ES</address_country_code>
<address_name>Antonio Diaz</address_name>
<notify_version>2.1</notify_version>
<custom />
<payer_status>verified</payer_status>
<business>yo@mycompany.com</business>
<address_country>Spain</address_country>
<num_cart_items>1</num_cart_items>
<mc_handling1>0.00</mc_handling1>
<address_city>Madrid</address_city>
<verify_sign>AcV3Z-1xaENOv72iKaAElHvTaKC8As9-LCuwMqTM1X2sATMdtSykH5im</verify_sign>
<payer_email>antonio.diaz@mycompany.com</payer_email>
<mc_shipping1>0.00</mc_shipping1>
<txn_id>0A48999749119484N</txn_id>
<payment_type>instant</payment_type>
<last_name>Diaz</last_name>
<address_state>Madrid</address_state>
<item_name1>ourTool v1.0</item_name1>
<receiver_email>XXXXXX@XXXX.com</receiver_email>
<payment_fee />
<quantity1>1</quantity1>
<receiver_id>SZQTFHFF8BWYU</receiver_id>
<txn_type>cart</txn_type>
<mc_gross_1>1.00</mc_gross_1>
<mc_currency>EUR</mc_currency>
<residence_country>ES</residence_country>
<payment_gross />
</Transaction>
<PostBackData>cmd = _notify-validate&
[....] [The same data]
</PostBackData>
<Error>Payment not verified by PayPal. PayPal response: INVALID</Error>
</Payment>
Back to top
View user's profile Send private message
adiazreb



Joined: 15 Feb 2007
Posts: 2

PostPosted: Thu Feb 15, 2007 10:14 am    Post subject: SOLVED !!!!!! Reply with quote

Sorry.

It was really an encoding problem. Wink

UTF-8 in PayPal solves all problems.

Thank you
Back to top
View user's profile Send private message
Infralution



Joined: 28 Feb 2005
Posts: 5027

PostPosted: Thu Feb 15, 2007 9:06 pm    Post subject: Reply with quote

No problem. Glad you found the solution.
_________________
Infralution Support
Back to top
View user's profile Send private message Visit poster's website
Renegade



Joined: 30 Apr 2005
Posts: 45

PostPosted: Thu May 03, 2007 3:46 pm    Post subject: Reply with quote

So where do you make that change from UTF-16 to UTF-8? I've got the same problem.
Back to top
View user's profile Send private message
Infralution



Joined: 28 Feb 2005
Posts: 5027

PostPosted: Thu May 03, 2007 10:19 pm    Post subject: Reply with quote

This is a PayPal setting (not an IPN setting) see the following excerpt from our manual (under Configuring IPN):

Quote:
Configuring IPN

Next we need to configure our PayPal sandbox business account to post payment notifications to our IPN.NET Server URL. To do this log in to your PayPal Sandbox business account and click the Profile tab. Under Selling Preferences select the Instant Payment Notification Preferences. Click the edit button then tick the checkbox and enter the URL where your IPN.NET server is installed (eg http://www.mycompany.com/sandbox/default.aspx). Any payments made to your business account should now result in the transaction details being posted to your IPN.NET Server.

We also need to set the language encoding options for our PayPal account. Select Language Encoding under the Profile tab. Click on the More Options button and select UTF-8 for the encoding to use for IPN posts and other downloadable data. If you fail to set this then purchases by customers with address details that include extended (non-ASCII) characters will not be validated properly by PayPal.

_________________
Infralution Support
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Infralution Support Forum Index -> IPN.NET Support 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