Payment cannot be processed because don’t have secure connection.SSL certificate

Payment cannot be processed because don’t have secure connection.SSL certificate

I’m using ionic 3 with the plugin mercadopago with Js and when I complete the purchase it returns me this error, everything takes into account to be an error caused by Ionic running on a webView.

ionic info (if anyone need that)

Ionic:

   ionic (Ionic CLI)  : 4.8.0 (/usr/local/lib/node_modules/ionic)
   Ionic Framework    : ionic-angular 3.9.2
   @ionic/app-scripts : 3.2.2

Cordova:

   cordova (Cordova CLI) : 8.1.2 (cordova-lib@8.1.1)
   Cordova Platforms     : android 7.1.4, ios 4.5.5
   Cordova Plugins       : cordova-plugin-ionic-keyboard 2.1.3, cordova-plugin-ionic-webview 2.3.2, (and 9 other plugins)

System:

   Android SDK Tools : 26.1.1 (/Users/Pettrin/Library/Android/sdk)
   ios-deploy        : 1.9.2
   NodeJS            : v8.11.3 (/usr/local/bin/node)
   npm               : 2.15.12
   OS                : macOS High Sierra
   Xcode             : Xcode 9.4.1 Build version 9F2000

The error occurs because it is running in an HTTP address (Ex: http://localhost.com), I would like to know if I would be able to run the ionic in an HTTPS address (Ex: https://localhost.com).

Note : In production, the same error persists

I have the same problem, did you found any solution?

unfortunately not, because this has been canceled my app