Closed antonmk4 closed 3 years ago
look at the page source and find the _host
attribute in<form-transaction _host="?"
what is the value?
You mean this? "show.blade.php"?
<div id="app">
<form-transaction _checkouturl="{{ request()->fullurl() }}" _host="{{ url('/') }}" _payload="{{ $payload }}"></form-transaction>
</div>
i tried to change the _host value to my domain value. Nothing changed...
look at the page source and find the
_host
attribute in<form-transaction _host="?"
what is the value?
Page source says: _host="https://MYDOMAIN.com"
this my show.blade.php now:
`
</div>
`
Nothing changed..
Console says:
Loading from mixxed content "http://domain.com/coinpayment/ajax/payload" has been blocked. coinpayment.js:1:177359
and:
Uncaught (in promise) TypeError: e.response is undefined coinpayment.js:1:632970
Try to open App\Providers\AppServiceProvider
. . .
namespace App\Providers;
use Illuminate\Support\Facades\URL; // add this
. . .
public function boot()
{
URL::forceScheme('https');
//
Try to open
App\Providers\AppServiceProvider
. . . namespace App\Providers; use Illuminate\Support\Facades\URL; // add this . . . public function boot() { URL::forceScheme('https');
// Working, thanks!
The problem:
the transaction is not loading:
I'm using clodflare as an proxy and i'm using "Automatic HTTPS Rewrites".
I tried everything but it just doesnt seem to work. Even tried Cloudflare Page Roules to force HTTPs