SSL certificate issue unable to get local issuer certificate
问题 I'm trying to post data to a payment gateway API. It required post data in xml format. I have the following code: <?php $requestUrl = 'https://api.given.bypg'; //$block->getPaymentUrl(); $amount = 100; // $block->totalOrderAmount()*100; $approveUrl = $block->approveUrl(); $cancelUrl = $block->cancelUrl(); $declineUrl = $block->declineUrl(); $merchant = 'mydomain.com'; //$amount = '100'; // in cents. 1$ = 100cents. $currency = '840'; // for dollar $description = 'Happy customers is what we