Hi,I always get this error in the TriggerPayment action when I try to use the Payments plugin through the Payments Plugin -Demo application.
I have already made the settings in the Payments Plugin Configurator, defined the ClientID and Client Secret in the TriggerPayment action, and also defined the PaymentsPluginConfiguration.json in the Payments Plugin -Demo resources.
In the Payments Plugin Configurator application, in the integration with the Stripe API, the documentation says: "In the Basic authentication section, fill the Username field with the secret key value you obtained from the Stripe dashboard", but I don't know what to put in the "Password" field ".
Could this be the problem? Can anyone give some help?Best Regards
Hey Bruno,
What OS is this? Android and/or iOS?
Was the `password` field blank by default? Looking into the documentation, it seems like you don't need to change that value when configuring Stripe (the `secret key` should be enough).
Best regards.
The OS I'm using its Android.When I open the version from forge it already has the basic authentication as default and it comes with a random secret key but without password giving an error on service studio since the password field is mandatory. I'm not sure if the problem is here, I'm just trying to figure it out :)
Considering that the documentation doesn't mention anything regarding the password, I believe you can insert some dummy value in it.
Hi,I tested again with a dummy value in the password field and had the same error. But when I just test the service it gives a success message so I think maybe the problem isn't there.
How's the app configuration on the Payments Configurator? Have you filled in everything required (including the PSP info)?
Yes I suppose. But I'm not sure what to put in the Merchant's Id field, because stripe doesn't have any ID with that name in the test account I created. Do you know what value I am supposed to put in this field?
Considering that it's Android and Stripe, I believe that value can be defined by the developer as it's not required by Stripe.
Okay, so I don't think that's the problem either. All fields are filled in (including the PSP info).
Hey Ricardo, I'm working with Bruno on this and we found out that this error is coming from a Javascript method inside the TriggerPayment action. This method receives two inputs (PaymentDetails, AccessToken), the payment details are filled by us and everything looks ok, the AccessToken comes from the ClientId and ClientSecret generated by Payments Configurator App. Basicly both inputs look ok but the result is an error somehow. I will leave the flow where the error is happening here.
Hello Marcelo,
What are the error code and error message the method returns?
Best regards
¿Finalmente has podido solucionar el problema del campo de contraseña? Tengo el mismo problema y no sé como solucionarlo. Soy nuevo en outsystems y no entiendo muy bien estas cosas.
Make the user name == the password
And It is OS bug also, the URL-Form Encoded cannot run in test. But if you execute, say it from a button, it works.
You can create a REST API yourself to consume the Stripe API.
regards