You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'm building my ionic app with a payment gateway. I'm trying to use Barion and I'm getting the following error saying that Manifest functionality is disabled. How can I get through this?
The text was updated successfully, but these errors were encountered:
I think, that for your ionic application, joi's browser version is installed as a sub dependency, which does not include describe function of Schema definitions (hapijs/joi#2198).
You can try to switch off ValidateModels in the Barion constructor (in this case, describe wouldn't have called).
But anyway, I do not recommend to handle payment transactions in the client side, as it is so so insecure. Everybody who download your app can potentially view your secret POSKey, and with it, they can use Barion API in your behalf (e.g. they can initiate a refund of their transactions).
Instead of handling transactions in client side, you must write your own server-side logic for it. Client must send cart data to your server over HTTPS. On server-side, you should initiate a payment with the help of node-barion, and send back the payment gateway URL to the client as a response.
Hi, I'm building my ionic app with a payment gateway. I'm trying to use Barion and I'm getting the following error saying that Manifest functionality is disabled. How can I get through this?
The text was updated successfully, but these errors were encountered: