I have a piece of software that integrates with PayPal payments so my buyers can sell items on their website. So far, my buyers have been English, and IPN listener that works fine.
A buyer in Norway is not getting any IPN response - at least, the usual script for processing the data is failing but at this point I have no way to get server logs to know. The payment goes through fine, but the IPN pings are not being recorded.
The checkout completed pages are different for his language, and also doesn't redirect as normal.
I've looked through BOTH Google and Bing trying to find anything connected with IPN and language but cannot turn anything up.
My question is: My IPN script successfully handles English-language IPN messages. Is it possible that a foregone language is sending different variables or different variable names in the IPN ping?
Thank you so much for your help!
Related
I have created a Direct Payment method with Sage Pay and cards sucsesfully on my website however I seem to be stugling linking with paypal.
I am using the Direct method and using the php kits found here.
http://www.sagepay.co.uk/support/find-an-integration-document/direct-integration-documents
At the moment when a user selects PayPal my site correctly transfers the user to the PayPal site to make the payment, which they do and it then returns them back to my site. With this code.
/?vtx=lockers-PAYMENT-1422281021-294670621
I assume my site is bent to be listening and communicating with PayPal at this point to accept the transaction.
I am really lost where to go now. If anyone has worked with SagePay and Paypal I would really appreciate some pointers.
Regards
Richard
It's not entirely clear where you are going wrong, but it sounds as if once the payment is done and the consumer has been redirected back to your site, you need to send a COMPLETE post back to Sage Pay in order to finalise the process.
Worth checking in the paypal sandbox to check your transactions are appearing and that they are in the expected state (for a standard payment transaction), they will appear as pending until the COMPLETE post is received by Sage Pay (see above).
so I got a guy to code this IPN feature for my website.
Basically a user pays thought the main site then it forwards the ipn stuff to another server and that server sends ipn payment to paypal. For some reason it keeps saying "retrying" under the paypal IPN history. Is paypal blocking this and does the payment have to be made from the same server? Thanks hopefully this makes sense!
IPN does not happen until after any transaction has occurred, so what you're saying here doesn't really make sense. There's no way IPN would be sending any payment to PayPal. PayPal simply POSTs transaction data to your IPN URL after the transaction has taken place.
That said, if you're seeing "retrying" in your IPN History that means your IPN script is not completing successfully, and as such, is not returning a 200 result code back to PayPal's server. You need to troubleshoot your IPN script to figure out what's failing and get it fixed.
Your web server logs should provide the information you need. If you look there you should see a log of when your IPN URL was hit and it should also provide the result including any errors that were generated from the request to that script.
I like to create a simple HTML form with the action set to my IPN URL and then include hidden fields that match the fields/values that I would expect to get from IPN. This way you can load that in a browser and submit it directly so that you can see the result on screen which can help with troubleshooting and debugging.
Keep in mind that when testing that way, though, the data is not coming from PayPal's servers, so it will not verify. You'll need to make sure your script is setup to handle this accordingly for testing purposes.
Im haing a problem iv been researching for weeks now on the paypal API but i just can't figer how to do this.
I need there to be a button on my website which then it goes to paypal.
Once you have paid the chosen amount it goes to a php page which updates the database though php.
You have to turn on paypal ipn in your paypal preferences. Once paypal has the money it sends you a transaction back to your server. In the script that accepts the transaction you can have it update your tables.
Documentation : https://www.x.com/sites/default/files/ipnguide.pdf
generally you pass a notify_url parameter with the request, and set up a page which handles and validates IPN notifications, and PayPal will send requests to that page to notify you when payments/refunds/etc. go through. That IPN handler page would then be the correct place to update the database to mark orders as having been paid.
i found a tutorial here: http://net.tutsplus.com/tutorials/php/using-paypals-instant-payment-notification-with-php/
I found more suitable the PayPal NVP API instead of tradional IPN (Instant Payment Method)
You can find several code examples for PHP (including very similar to your problem and more advanced) in the library code for NVP samples
I am running a e-commerce website and I want to integrate PayPal. I need to know immediately whether a user paid successfully or not after they paid via their credit cards. Is there a chance i can do that with PayPal?
I've heard PayPal has a service called IPN, which can post to my server and tell me the transaction's status. But lots of people are complaining that there are huge delays with IPN's PHP API.
Just finished an IPN integration a few hours ago :).
IPN stands for INSTANT payment notifications. In most times it just works(hi Apply fans!).
You add a form with variables such as currency and return URL and with a special page that you expect Paypal to send transaction information when the payment is made. Receiving a notification does not mean funds are sent to your account but the transaction has completed. (possible reasons to not get funds to your account include problems with card provider, incomplete accounts, etc)
You will face some questions regarding specific problems. But I would suggest checking paypal site and it's API docs. They are pretty straight forward and with a little understanding in your programming language and how HTTP works, you can implement it.
I have seen some posts about PayPal IPN system is slow. I have not seen it myself but in most cases, I'm sure you will get paypal API calls just before the user come back to your site.
I've had great success with nSoftware's PayPal plugins.
I am developing with paypal sandbox, all the payment flow can go successfully without any error. I set up 'notify_url' in my form and this url can be successfully tested by Instant Payment Notification (IPN) Simulator.
Paypal sandbox told me the payment completed successfully but my ipn handler could not receive any requests.
by the way I am using this ipn library: https://github.com/Quixotix/PHP-PayPal-IPN
Can you confirm your IPN History is / keeps blank?
For me, it seems like Paypal is having Problems with their Sandbox IPN again.
They had similar problems till about 2 weeks ago:
https://www.x.com/developers/paypal/forums/instant-payment-notifications-ipn-payment-data-transfer-pdt/ipn-failing-hasn-t-been-changed
I can confirm it was working again as the thread at x.com tells but for about 2 or 3 days (I guess) I do not get any IPN anymore although the payment itself is processed fine.
There is already a new thread at x.com that may cover our problem, but unfortunately there are no answers so far: https://www.x.com/developers/paypal/forums/instant-payment-notifications-ipn-payment-data-transfer-pdt/ipn-message-not-sent-url-mentioned-under-notify-_url-sandbox
Btw: I'm pretty sure this is not related to PHP or the library you use since I have the same problems using Ruby and the guy asking at x.com is using Java.