PayPal poiting to a non-existing sandbox account/profile - api

in the following I will describe the context: On developer.paypal.com website (My apps and credentials) with my personal account I created a new application.
Then I created a webhook and added to it access to all functions.
In the final step I've integrated PP app with my website.
The problem is that when I try to make a purchase with PayPal and when I am redirected to a PayPal page I see PayPal profile/sandbox account which I cannot find in PayPal console. It seems it is some older profile I've created with that name, but it's not visible in the console.
I've also tried to create a new app and new webhook, but the issue is the same.
Can anyone please help? Does anyone have an idea what to do, where to search?
Thanks for the support.

Related

can we retrieve Facebook leads without Facebook APP Review

I have created an App in https://developers.facebook.com/apps and I have one Facebook page, in that I have created ads and I got some leads, those leads I can see in Leads Center in respective page.
So I need to retrieve this Leads into my server.
When I run this below API in browser excel file is downloading directly and I can see all my leads in that file https://www.facebook.com/ads/lead_gen/export_csv/?id=XXXXXXXXXXXXX&type=form.
By using my App(which I created in developer) done some setting and I created webhook for user,pages and permission, in permission I can see lead_retrival, ad_reads and I have tested, those tested leads are coming into my server by given webhook URL.
But how can I get my actual leads which is in Lead Center belongs to my page and is there any APIs are available ?
Is APP review necessary to retrieve leads from form or any other option(I tried Zapier but that is not I am looking for).
what I tried:
I am working on my server so I went through with this link PHP cURL to verify Facebook API login access_token on server?, and created all access tokens by my app and I am getting Success. Login is valid
then I did not understand next what I have to do.
Can any one help on it please?
Thanks
Sandeep

How to log in to PayPal Sandbox account as buyer (using REST - Postman)

My purpose is to automate (as buyer) login into PayPal Sandbox(1) and confirm payment(2) using REST requests (with Postman) after being redirected from third-party payment service.
From there a got a link like: https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_express-checkout&token=EC-5AU897953H105581R
I have login and password for buyer account.
I was able to import request from devtools network and it leads me to confirm form, but I cannot make it generic. I found out that the minimum body values are (on screen), but there are some changes in cookies at headers. I am not sure if my approach is even correct. Do you have any ideas?
If you find out the first very easily, maybe you will also have some tips for confirming payment.
I already searched a lot for answers. There are some instructions for sandbox API, but it looks like it needs clientId and secret(?). See those on the PayPal Sandbox development page, but I do not have credentials for dev dashboard, only for my test customer.

PayPal - switching from Sandbox to Live account using REST API

We tested our web application successfully using a sandbox REST API account (and test credentials).
When we wanted to put the application into production (using REST API live credentials visible on the same PayPal web site where the sandbox/text credentials were shown), we received an error from the production PayPal server on a live credit-card transaciton:
Error code : 401 with response : Server returned HTTP response code: 401 for URL: https://api.paypal.com/v1/payments/payment
We have a Business Account that is not yet 100% verified (75% verified at the moment), so we are not sure if this is caused by some technical issue or the fact that the account is not yet 100% verified.
PayPal web site is quite confusing and the process of moving the app from test to production is not clearly explained. It seems that they are migrating from some old web sites to new ones and the user is prompted to login multiple times, redirected to different URL-s... E.g. we can see our application test and live credentials on the developer.paypal.com, but not on apps.paypal.com where no apps are listed, even though the same user is logged in (owner of the business account)???
For future readers, you have to use Live Credentials, on https://developer.paypal.com go to My apps and in App details there is a link at a bottom of the page :
Click on that link and you will see live credentials.
You now click on your sandbox application and then click live at the top of the screen to get your live credentials.
For the PayPal REST api use the credentials provided on developer.paypal.com (new version of PayPal dev experience). Live calls require the account to be vetted which includes fully verified.

Getting PayPal Test Account Profile

All I want to do is get the credentials from my test account to see the Profile to make test payments on my online store.
The old Sandbox worked like the Live page and I used to easily get my test profile. The new sandbox interface make it all different.
I was able to login to sandbox with my LIVE business account, then import my old test accounts (business and personal).
But how do I get the test business account Profile? How to log in with a test account?
All I see is this on the new sandbox:
What I need is to get is this on the new sandbox interface:
Merchant ID
And the Return URL and Identity Token:
After I get this info from the Test Business account, I can continue with developing and running in a test environment. I think the live settings are still working, but don't want to check yet.
If you click on 'Sandbox site' instead of 'Profile' you'll be redirected to the Sandbox page where you can login to the account and access the information you're looking for.
Alternatively, simply navigate to https://www.sandbox.paypal.com/webapps/mpp/home which would be the exact same page.

Can I let test users skip logging into PayPal sandbox?

I am using the PayPal sandbox to test user transaction on my website.
The site is going to be put through usability testing soon.
The problem is, whenever a user goes to complete a transaction, they are first asked to "Please login to use the PayPal Sandbox features."
This is the link that my form points to: https://www.sandbox.paypal.com/cgi-bin/webscr
I want the test users to skip having to create a PayPal sandbox account and just use the test user accounts that I have setup.
Is this possible?
This is not possible. A user has to have a developer account created at developer.paypal.com to be able to use any PayPal hosted payment methods on the sandbox.
However, you can submit API calls to the sandbox without the members needing a developer.paypal.com sandbox account.