We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 146afef commit cf7c45aCopy full SHA for cf7c45a
README.md
@@ -0,0 +1,32 @@
1
+# Omnipay:: Offline dummy
2
+
3
+Omnipay Offline Dummy Gateway for testing
4
5
+## Instalation
6
7
+```sh
8
+composer require descom/omnipay-offline-dummy
9
+```
10
11
+## Basic Usage
12
13
+### Create purchase request
14
15
+```php
16
+use Omnipay\Omnipay;
17
18
+$gateway = Omnipay::create('OfflineDummy');
19
20
+$gateway->initialize([
21
+ 'url_notify' => 'http://example.com/payment/notify',
22
+ 'url_return' => 'http://example.com/payment/return',
23
+]);
24
25
+$request = $gateway->purchase([
26
+ 'amount' => '12.00',
27
+ 'description' => 'Test purchase',
28
+ 'transactionId' => 1,
29
+ ])->send();
30
31
+$response->redirect();
32
0 commit comments