Compare commits
1 Commits
95e1f4a163
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| 31b048a692 |
@@ -11,11 +11,11 @@ return [
|
||||
'uri' => [
|
||||
'unicom' => [
|
||||
//下单
|
||||
'order' => 'https://www.unicompayment.com/wappay3.0/httpservice/wapPayPageAction.do?reqcharset=UTF-8',
|
||||
'order' => 'https://epay.10010.com/wappay3.0/httpservice/wapPayPageAction.do?reqcharset=UTF-8',
|
||||
//查询
|
||||
'query' => 'https://www.unicompayment.com/CashierWeb/query/order.htm?reqCharSet=UTF-8',
|
||||
'query' => 'https://epay.10010.com/CashierWeb/query/order.htm?reqCharSet=UTF-8',
|
||||
//单笔退款
|
||||
'refund' => 'https://www.unicompayment.com/CashierWeb/trade/singleRefund.htm?reqCharSet=UTF-8',
|
||||
'refund' => 'https://epay.10010.com/CashierWeb/trade/singleRefund.htm?reqCharSet=UTF-8',
|
||||
],
|
||||
'ysd' => [
|
||||
'order' => env('APP_URL', 'https://card.ysd-bs.com'),
|
||||
|
||||
@@ -96,7 +96,6 @@ class WoUnicomWeb
|
||||
*/
|
||||
public function callback($inputs)
|
||||
{
|
||||
info($inputs);
|
||||
if (empty($inputs)) {
|
||||
return '缺少必要参数';
|
||||
}
|
||||
@@ -136,7 +135,7 @@ class WoUnicomWeb
|
||||
|
||||
$payment->state = 'SUCCESS';
|
||||
$payment->out_trade_no = $data['payfloodid'];
|
||||
$payment->type = 'UNICOM';
|
||||
$payment->type = Payment::TYPE_UNICOM_WEB;
|
||||
$payment->paid_at = Carbon::now();
|
||||
$payment->save();
|
||||
$order->paid();
|
||||
@@ -152,7 +151,7 @@ class WoUnicomWeb
|
||||
|
||||
$payment->state = Payment::STATE_SUCCESS;
|
||||
$payment->out_trade_no = $data['payfloodid'];
|
||||
$payment->type = Payment::TYPT_UNICOM_WEB;
|
||||
$payment->type = Payment::TYPE_UNICOM_WEB;
|
||||
$payment->paid_at = Carbon::now();
|
||||
$payment->save();
|
||||
$order->paid();
|
||||
@@ -168,7 +167,7 @@ class WoUnicomWeb
|
||||
|
||||
$payment->state = 'SUCCESS';
|
||||
$payment->out_trade_no = $data['payfloodid'];
|
||||
$payment->type = 'UNICOM';
|
||||
$payment->type = Payment::TYPE_UNICOM_WEB;
|
||||
$payment->paid_at = Carbon::now();
|
||||
$payment->save();
|
||||
$order->paid();
|
||||
@@ -184,7 +183,7 @@ class WoUnicomWeb
|
||||
|
||||
$payment->state = 'SUCCESS';
|
||||
$payment->out_trade_no = $data['payfloodid'];
|
||||
$payment->type = 'UNICOM';
|
||||
$payment->type = Payment::TYPE_UNICOM_WEB;
|
||||
$payment->paid_at = Carbon::now();
|
||||
$payment->save();
|
||||
$order->paid();
|
||||
|
||||
Reference in New Issue
Block a user