- Home /
Is posible to use open pay in unity?
Hi, in work, they ask me to integrate this payment system to unity for Android and iOS, but I can't find any solution to this problem. This is the URL for the web of the payment method https://www.openpay.mx
If someone could guide me or tell me a way to solve this, I would thank you a lot.
P.s. sorry for my bad English.
Answer by TreyH · Nov 05, 2018 at 09:38 PM
Yes, it's possible with a little work.
Not by default though, as it uses System.Net.WebRequest. Unity doesn't compile these objects into cross-platform-friendly requests.
You'd need to modify their C# wrapper to use Unity's native UnityWebRequest objects. This would also require you changing their wrapper a little more to also only send requests by interacting with a GameObject capable of starting coroutines.