Thanks for the response. Yes, indeed I'm talking about the payment provider service plugin. So, what I did was that since I'am trying to connect a payment provider that was developed internally in our company and our payment provider's API uses basic authentication. This is how I tried to connect:
So i ended connecting via Wix side where it allowed me to input password then it connected but now since its returning null for username my requests to the API are failing.
Hi Rifumo, Note that the credentials are nested under the credentials property within options:
If username is null, I would double check in the Accept Payments section of your dashboard that it is set up correctly. Best,
Eitan
Hi Rifumo, I'm assuming you are referring to this API: https://dev.wix.com/docs/velo/api-reference/wix-payment/service-plugin-spi/wix-payments/payment-provider/connect-account What I would probably do in this case is use the client_id for username and client_secret for the password. If you have any more info about what you are trying to implement that would be helpful. Best, Eitan