Skip to content

Commit a73493f

Browse files
committed
wip
1 parent d86dc6e commit a73493f

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
This provides an OpenAPI schema and an auto-generated PHP client as a composer package.
44

5-
> [!NOTE]
5+
> [!NOTE]
66
> This is not an official package.
77
88
## Requirements
@@ -17,10 +17,11 @@ This provides an OpenAPI schema and an auto-generated PHP client as a composer p
1717

1818
## Configuration
1919

20-
- SimplePay API key
20+
- SimplePay Merchant ID
21+
- SimplePay Secret Key
2122

2223
## Usage
2324

2425
```php
25-
$client = new Cone\SimplePay\Client(...
26+
$client = new Cone\SimplePay\Client('MERCHANT', 'SECRET_KEY');
2627
```

src/Client.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class Client
2323
* Create a new SimplePay Client instance.
2424
*/
2525
public function __construct(
26-
protected string $merchantId,
26+
protected string $merchant,
2727
protected string $secretKey,
2828
protected ?Environment $env = null
2929
) {

0 commit comments

Comments
 (0)