关于最近支付宝当面付二维码生成失败的解决方案其一:
找到 /vendor/alipay-f2fpay/f2fpay/service 下的 AlipayTradeService.php 文件
注释或删除 308-312 行,将 313行的
function create_erweima64($content, $size = '200', $lev = 'L', $margin= '0') {
去掉 64 变为
function create_erweima($content, $size = '200', $lev = 'L', $margin= '0') {
第 314 行的
$content 改为 $url
第 319 行改为 $qrcode = '
';