Looking to hire Laravel developers? Try LaraJobs

laravel-payment maintained by jundayw

Description
laravel payment provider
Author
Last update
2023/11/14 07:34 (dev-master)
License
Links
Downloads
56

Comments
comments powered by Disqus

安装方法

命令行下, 执行 composer 命令安装:

composer require jundayw/laravel-render-provider

authentication package that is simple and enjoyable to use.

对象方法

$message = new PaymentRequest();

$message->setSubject('测试456');
$message->setAmount(0.01);
$message->setOutTradeNo('' . time());
$message->setAttach([
    'id' => 1,
]);

$message->setBuyerId('mhfhvf8808@sandbox.com');
$message->setBuyerId('2088722004475227');
$message->setAuthCode('130842561143513043');

return Payment::provider('wechat')->pay('wap', $message);