Multiple accounts paypal with one IPN listener - listener

I'm the administrator of a site that allows anyone with a valid paypal account to sell online.
The problem is that the response of the ipn listener is INVALID because in the paypal's account sellers isn't set the url of my listener.
How can I do to sell more merchants on my site?
Thanks.

Related

Make web-page accessible only after the user completes an action

I am working on a project where users purchase a page of the site and are able to upload stuff to that page. At the moment, when the user pays using PayPal, they are taken straight to the upload page, which is good, however, this page is also accessible by anyone - even if they did not purchase the rights to it. Is there a way to 'protect' the upload page, to only allow proper purchasers to use it themselves? Some sort of system that would detect the PayPal payment and then redirect them to a temporary upload URL?
One way you could do this is to use Paypal's IPN (Instant Payment Notification) service. The IPN service triggers a notification when an event occurs that pertains to a transaction.
Paypal also has webhooks too.

User is not allowed to perform this action

Our platform is trying to create a feature so that a seller can refund a paypal transaction after 60 days. To do this our thought was that we would use the adaptive payment feature and simply ask paypal to send money from seller to buyer.
We created an application, and in the sandbox we have everything working. When we move to production we get this response below.
{"errorId":"550001","domain":"PLATFORM","subdomain":"Application","severity":"Error","category":"Application","message":"User is not allowed to perform this action"}]}
The question is, "How does the seller authorize our platform?" Do they need to check a box in their Paypal account?
What's a bit confusing to us, is that we are testing with our own 'seller' account which is of course a valid Paypal account.
Furthermore, we are doing a simple implicit approval. We did notice that in our application registration we are 'conditionally excepted'. We read that simple payments should work fine, it is only the chained payments that require specific approval from paypal.

Get profile id after subscription from button in response

Is there any way to get Profile Id as response after subscription through button.
I am able to get payer_id, payer_email and others as transaction variables but i need profile id so that i can cancel that subscription from my website.
Or is there any way to cancel recurring payment without Profile Id
You can use IPN to get the Profile ID back to your system. Instant Payment Notification (IPN) is a message service that notifies you of events related to PayPal transactions. You can use it to automate back-office and administrative functions, such as fulfilling orders, tracking customers, and providing status and other information related to a transaction.

PayPal Sandbox developer account ask me the enter Credit card information

I have paypal sandbox test account. I am trying it with HTML form. It displays a 'Buy Now' button on HTML page and after clicking on it redirects to PayPal site. Where it ask to login to buy product but after that it is asking me the credit card information. I think as it is sand-box account it shouldn't ask me credit card as it is for testing purpose. I am right? please correct me and advice.
Thank you
Where you set up your sandbox seller account you can also set up fake buyer accounts that you can use by logging in with or create fake credit cards with for testing. This lets you go through the whole process so you can test/develop your PDTsuccess and IPN success stuff if you want...
Here is how to make this buyer account
I have very little experience with Paypal, but I think that sandbox accounts should ask for credit card numbers. How else can you test whether you are getting the correct responses in case of a valid payment/failed payment?

"callback" from PayPal to confirm payment?

I have a very simple online ordering app in Perl. The user fills in a form, and when they submit, my app inserts the info into a mySql database, then redirects them to PayPal to complete the payment. The problem is that the database does not have any information about whether they actually completed the payment. I end up having to manually reconcile a report from PayPal with my database to confirm payment for each order.
Is there anything like a "callback" from PayPal, where I could provide PayPal with a unique identifier for the order and PayPal could send back that identifier as confirmation that the order was paid, preferably through an HTTP request back to my server? Then I could update the order in my database with a "paid" flag.
yes, that's pretty much exactly how it works.
Instant Payment Notification
check out Paypal instant payment notification