Browse Source

release 1.1

tags/1.1
0nepeop1e 3 years ago
parent
commit
1410908e2a
3 changed files with 15 additions and 0 deletions
  1. 5
    0
      .idea/codeStyles/codeStyleConfig.xml
  2. 6
    0
      .idea/vcs.xml
  3. 4
    0
      src/SenangPayDriver.php

+ 5
- 0
.idea/codeStyles/codeStyleConfig.xml View File

@@ -0,0 +1,5 @@
1
+<component name="ProjectCodeStyleConfiguration">
2
+  <state>
3
+    <option name="PREFERRED_PROJECT_CODE_STYLE" value="Default" />
4
+  </state>
5
+</component>

+ 6
- 0
.idea/vcs.xml View File

@@ -0,0 +1,6 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project version="4">
3
+  <component name="VcsDirectoryMappings">
4
+    <mapping directory="$PROJECT_DIR$" vcs="Git" />
5
+  </component>
6
+</project>

+ 4
- 0
src/SenangPayDriver.php View File

@@ -57,4 +57,8 @@ class SenangPayDriver implements PaymentGatewayDriver
57 57
         $response = Res::make('OK');
58 58
         return true;
59 59
     }
60
+
61
+    public function getBillIdFromRequest(Request $request){
62
+        return $request->query->get('order_id');
63
+    }
60 64
 }

Loading…
Cancel
Save