离线支付插件

This commit is contained in:
Edward Yang 2023-02-03 10:39:41 +08:00
parent 3fb202cebc
commit 0aaccebccf
6 changed files with 79 additions and 0 deletions

View File

@ -0,0 +1,14 @@
<?php
/**
* dd.php
*
* @copyright 2022 beikeshop.com - All Rights Reserved
* @link https://beikeshop.com
* @author TL <mengwb@guangda.work>
* @created 2022-12-27 16:19:06
* @modified 2022-12-27 16:19:06
*/
return [
'comment' => 'Description of Offline Pay',
];

View File

@ -0,0 +1,14 @@
<?php
/**
* dd.php
*
* @copyright 2022 beikeshop.com - All Rights Reserved
* @link https://beikeshop.com
* @author TL <mengwb@guangda.work>
* @created 2022-12-27 16:19:06
* @modified 2022-12-27 16:19:06
*/
return [
'comment' => '转账说明',
];

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

View File

@ -0,0 +1,18 @@
<form class="form-horizontal" action="" method=POST>
<fieldset id="payment">
<div class="my-3" style="">{!! plugin_setting("offline_pay.comment")!!}</div>
<div class="buttons">
<div class="pull-right">
<input type="button" value="{{ __('common.confirm') }}" id="button-confirm"
data-loading-text="{{ __('common.confirm') }}" class="btn btn-primary"/>
</div>
</div>
</fieldset>
</form>
<script type="text/javascript">
$('#button-confirm').bind('click', function () {
window.location.href = 'account/orders/' + "{{$order->number}}";
});
//--></script>

View File

@ -0,0 +1,21 @@
<?php
/**
* lianlianpay 字段
*
* @copyright 2022 beikeshop.com - All Rights Reserved
* @link https://beikeshop.com
* @author TL <mengwb@guangda.work>
* @created 2022-12-20 21:16:23
* @modified 2022-12-20 21:16:23
*/
return [
[
'name' => 'comment',
'label_key' => 'common.comment',
'type' => 'rich-text',
'required' => true,
'rules' => 'required',
'description' => 'Description to payer',
],
];

View File

@ -0,0 +1,12 @@
{
"code": "offline_pay",
"name": "线下支付",
"description": "线下支付",
"type": "payment",
"version": "v1.0.0",
"icon": "/image/logo.png",
"author": {
"name": "成都光大网络科技有限公司",
"email": "mengwb@guangda.work"
}
}