Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Importer appears to not work with Personal accounts #16

Open
JackPala opened this issue Dec 20, 2023 · 15 comments
Open

Importer appears to not work with Personal accounts #16

JackPala opened this issue Dec 20, 2023 · 15 comments

Comments

@JackPala
Copy link

Currently configuring with Paypal. Appears to not function with Sandbox keys as the URL is sandbox.paypal.com

Live keys require a business account and will not work with a regular Personal account afaik.

Is there another way to generate the required keys on a personal account? or get transactions via sandbox?

@robvankeilegom
Copy link
Owner

Hey!

The PayPal sandbox doesn't have any actual data. Its a virtual environment that simulates the production environment. If you want to try the importer with the sandbox you can overwrite the uri with the PAYPAL_URI env variable. It defaults to https://api-m.paypal.com/v1/.

For the business account, try to read #10 . I'm not completely sure how the PayPal account status works, but if you figure it out, lmk!

@poudenes
Copy link

@JackPala Did you get this work with Sandbox mode?
I was try to upgrade my personal account to Business. But canceled it. I don't know what will happen when I change it for personal use...

@MeikelLP
Copy link

You can do it when u go to this url: https://developer.paypal.com/dashboard/applications/live

I don't know if it will work in the future but it does right now. You can avoid the limitation and create a live application.

@JackPala
Copy link
Author

You can do it when u go to this url: https://developer.paypal.com/dashboard/applications/live

I don't know if it will work in the future but it does right now. You can avoid the limitation and create a live application.

That did not work for me, it did a hop to /sandbox from /live

@JackPala
Copy link
Author

@JackPala Did you get this work with Sandbox mode? I was try to upgrade my personal account to Business. But canceled it. I don't know what will happen when I change it for personal use...

No, sandbox mode does not appear to have live data

@MeikelLP
Copy link

You can do it when u go to this url: https://developer.paypal.com/dashboard/applications/live
I don't know if it will work in the future but it does right now. You can avoid the limitation and create a live application.

That did not work for me, it did a hop to /sandbox from /live

Well sorry. It worked for me - I don't know why or how.

@Se7enair
Copy link

I use the Paypal API with another banking app (Banking4). It is recieving all transactions.
I dont have a Business account. The developer-portal also shows sandbox mode.
But with these credentials I cannot recieve transactions.

In RequestException.php line 113:
                                                                               
  Client error: `POST https://api-m.paypal.com/v1/oauth2/token` resulted in a  
   `401 Unauthorized` response:                                                
  {"error":"invalid_client","error_description":"Client Authentication failed  
  "}   

Is there anything I can help with?

@robvankeilegom
Copy link
Owner

@Se7enair Are you using the same credentials in the importer as in the Banking4 app?

@Se7enair
Copy link

Se7enair commented Feb 3, 2024

@Se7enair Are you using the same credentials in the importer as in the Banking4 app?

Yes I did.

@robvankeilegom
Copy link
Owner

robvankeilegom commented Feb 4, 2024

I went through the documentation and it seems like there's no way anymore for a personal account to generate api credentials. I myself have no way to make new credentials anymore, though the ones i have still work.

edit:
removed a sentence since it was incorrect

@Se7enair
Copy link

Se7enair commented Feb 5, 2024

So my old credentials should work?

New users can create a separate account for sending Money to Friends to Save Money. If this does not happen to often, this could be a way.
The normal Account can then be upgraded to business.

@MeikelLP
Copy link

MeikelLP commented Feb 5, 2024

You can also revert it via the support hotline. It's quite instant you just have to make a call. They don't even ask why u wanna do it

@robvankeilegom
Copy link
Owner

So i changed my account to a business account after contacting support. I had working api keys that i couldn't manage in the developer dashboard since the 'live' toggle stopped working.

As far as i can tell there's no difference. I haven't notice any difference yet...

Except ofcourse that i can manage my api keys again.

@Se7enair I'd say, maybe switch to a business account so you can create a new pair of credentials and try again with them?

robvankeilegom added a commit that referenced this issue Mar 6, 2024
@poudenes
Copy link

So i changed my account to a business account after contacting support. I had working api keys that i couldn't manage in the developer dashboard since the 'live' toggle stopped working.

As far as i can tell there's no difference. I haven't notice any difference yet...

Except ofcourse that i can manage my api keys again.

@Se7enair I'd say, maybe switch to a business account so you can create a new pair of credentials and try again with them?

I saw then you have a business account and you want to pay something that will cost something. With a personal account it's free. And allow Paypal to change to a business account even its not a business?

@Hedius
Copy link

Hedius commented Mar 12, 2024

If i remember correctly sending money to business accounts as a friend/family transaction without fees is not possible.

That should be the only difference

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants