Skip to content

Commit 43c47dc

Browse files
smortteynanafox
authored andcommitted
Update README to enhance Mobile Money section with a link and clarify verification process; include StandardRB gem installation instructions for style and linting.
1 parent 347032c commit 43c47dc

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

README.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ end
204204

205205
### Charges (Mobile Money)
206206

207-
Initiate Mobile Money payments using the Charges API. This channel is available to businesses in Ghana, Kenya, and Côte d'Ivoire. See the Paystack guide: https://paystack.com/docs/payments/payment-channels/#mobile-money
207+
Initiate Mobile Money payments using the Charges API. This channel is available to businesses in Ghana, Kenya, and Côte d'Ivoire. See the Paystack guide: [Mobile Money](https://paystack.com/docs/payments/payment-channels/#mobile-money).
208208

209209
Supported providers (case-insensitive): `mtn`, `atl` (ATMoney/Airtel Money), `vod` (Vodafone), `mpesa`, `orange`, `wave`.
210210

@@ -254,7 +254,7 @@ puts otp_response.status # => "success" when authorized
254254

255255
#### Verify after timeout or via webhook
256256

257-
For offline flows, listen for `charge.success` webhooks. You may also verify after the provider timeout window:
257+
For offline flows, listen for `charge.success` webhooks. You may also verify after the provider timeout window. Note: `transactions.verify` expects a transaction reference (often the same `reference` you supplied when creating the charge once it converts to a transaction):
258258

259259
```ruby
260260
verify = paystack.transactions.verify(reference: "r13havfcdt7btcm")
@@ -710,7 +710,13 @@ After checking out the repo, run `bin/setup` to install dependencies. Then, run
710710

711711
### Style and Linting
712712

713-
This project uses StandardRB for code style and linting.
713+
This project uses [StandardRB](https://github.com/standardrb/standard) for code style and linting.
714+
715+
Add to your Gemfile (if not already present):
716+
717+
```ruby
718+
gem "standard"
719+
```
714720

715721
- Lint: `bundle exec standardrb`
716722
- Auto-fix: `bundle exec standardrb --fix`

0 commit comments

Comments
 (0)