|
|
@@ -50,6 +50,11 @@ class PayPlusController implements PayMentInterFace
|
|
|
Util::WriteLog('PayPlus', 'pay notify: ' . $content);
|
|
|
Util::WriteLog('PayPlus', 'pay notify header: ' . json_encode($request->headers->all()));
|
|
|
|
|
|
+ $OrderId = $post['data']['reference_id'] ?? '';
|
|
|
+ if (str_starts_with($OrderId, 'tx')) {
|
|
|
+ return $this->cash_notify($request);
|
|
|
+ }
|
|
|
+
|
|
|
$orderSn = $post['data']['platform_order_id'] ?? '';
|
|
|
if ($orderSn === '') {
|
|
|
return 'success';
|