Developers

Integrate mobile payments and monetize with Mocopay

Our how to make an essay longer with words developer center provides all the details for a simple and smooth integration so you could easil essay buy y add mobile payments with Mocopay.

Pre-requisites

Before you start integrating Unity plugin, please make sure that you have done following through our control box:

  1. Created your payment service.
  2. Downloaded Unity distributable package.

As first step in your integration, you have to decide how you will present your users with Mocopay payment pages (online hosted responsive web forms). To use an in-app web view instead of the system web-browser on mobile platforms, MoCoPay comes pre-packaged with the UniWebView2 Unity plugin. To use it open “Mocopay/MocopayWebview.cs” in your Assets folder and uncomment the “#define WEBVIEW_UNIWEBVIEW” line on top of the file.

Please note, if you wish to use UniWebView for purposes other than Mocopay payments, you need to purchase the plugin from the original developer (http://uniwebview.onevcat.com/ ).

Also to use an in-app web view instead of the system web-browser on Windows/Mac, you need the following Unity plugin:

After importing the package, open “Mocopay/MocopayWebview.cs” in your Assets folder and uncomment the “#define WEBVIEW_UWEBKIT” line on top of the file.