Hi All,
I’m trying to implement an import of invoices from PayPal for authenticated accounts. After some searching around and much hair pulling, I found this:
But I’m wondering if it’s still the right thing to do (I’ve tried the password flow API option, too, to no success).
I’m getting an error message relating to authentication but potentially that it’s missing data. I’ve tried the same settings in Postman and it works fine. The difference between my attempts and the tip that I’ve linked can be seen in the attached screenshot, the short version is:
Tip:
grant_type=client_credentials&client_id=<client_id>&secret=
Mine:
{
“grant_type”:“client_credentials”,
“client_id”: <client_id>,
“secret”:
}
I have tried the method for the JSON body that’s in the tip, too but I’m getting the same authentication error.
It seems the new Telstra Dev site uses a similar process and if I can get this working, I can apply it to that API as it uses the same process of an expiring access_token being applied to API calls for sending/receiving SMS messages.
Has anyone done this successfully? Could they share their config settings and how it works? If not, can anyone help?
I have tried searching through the forums but the tip page is the only relevant one that I’ve found which is somewhat useful and the user manual isn’t really helpful at all (https://manual.bubble.is/building-plugins/adding-api-connections.html#oauth2-custom-token). Along with that is conflicting information around which API choice to make and none of them show it to be working where an access_token variable is returned for use.
Can anyone offer some advice?