mpesa_stk 1.1.0 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a1448032d6f42e8d0ae52779d2aa3e564fc2fc7c3f612f5d1a7ab38dc6c63172
4
- data.tar.gz: a1a7f8569dab22b228de03928b48e02b1994ddfa6f8dd7f9ebbf0519d05c86c1
3
+ metadata.gz: c762d9d7188c2614e26d339f31d8878ccae597950e0f25bd4332967754e98faf
4
+ data.tar.gz: 3052223d41923e8f2c03a4bfae269a6be37ddb79d67783c0b8520707df46c1c6
5
5
  SHA512:
6
- metadata.gz: 3f0d19bd38006f073b5be5e78ed49bc3fbf4a40fcee04eaa0b34f0fa2c63a604799a298a11cb52ba11d55ba8a9de0ccf4193d0f5b72aefc89be7a4b067143f21
7
- data.tar.gz: e01e9e3964f4828f91acca1cb671c8278b1b0ad3ff0294e6d950b27a2a6d9b014be7e46051cd6a3c93bdfbe36be5b00dc3767c3d7afaba0e921527863cdafef5
6
+ metadata.gz: 0de7cd1f36a1c7b0211ef63627c4602840a776428d38a339c22e3fa1b89b1c28bbb53a8d4cbb6e4d1158fcd2cebccb0fa99a7cb8bcc79523fa6215857aa9d601
7
+ data.tar.gz: d168f74ce9be4d5a3d9de59bf0a5818cb5f9efa6699523d93b7c74b8c1b53c7a378403f99c9446126734d236be7f03090695ea744b95ae948cf3fc3ba7a2ab43
data/.sample.env CHANGED
@@ -2,8 +2,8 @@ base_url="https://sandbox.safaricom.co.ke"
2
2
  token_generator_url="/oauth/v1/generate?grant_type=client_credentials"
3
3
  process_request_url="/mpesa/stkpush/v1/processrequest"
4
4
 
5
- key="Abcr7aDsOzaPlf5Cd6FWBJqxh6zRJ2dy"
6
- secret="9UVzOHhDq44nkZWP"
7
- business_short_code="174379"
8
- business_passkey="bfb279f9aa9bdbcf158e97dd71a467cd2e0c893059b10f78e6b72ada1ed2c919"
9
- callback_url="https://c90593e0.ngrok.io"
5
+ key=""
6
+ secret=""
7
+ business_short_code=""
8
+ business_passkey=""
9
+ callback_url=""
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- mpesa_stk (1.1.0)
4
+ mpesa_stk (1.2.0)
5
5
  httparty (~> 0.15.6)
6
6
  redis-namespace (~> 1.5, >= 1.5.3)
7
7
  redis-rack (~> 2.0, >= 2.0.2)
data/README.md CHANGED
@@ -16,7 +16,7 @@ gem install mpesa_stk
16
16
  ```
17
17
 
18
18
  # Getting Started
19
- This gem has a `[redis](https://redis.io/)` dependency, so make sure it running
19
+ This gem has a [Redis](https://redis.io/) dependency, so make sure it running
20
20
  ```ruby
21
21
  $ redis-server
22
22
  ```
@@ -26,7 +26,7 @@ or run
26
26
  ```ruby
27
27
  $ cp .sample.env .env
28
28
  ```
29
- open `.env` on youe editor and add the missing variable
29
+ open `.env` on your editor and add the missing variable
30
30
  ```
31
31
  key=""
32
32
  secret=""
@@ -36,10 +36,8 @@ callback_url=""
36
36
  ```
37
37
 
38
38
  * `key` and `secret` of the app created on your [developer account](https://developer.safaricom.co.ke/user/me/apps).
39
- this can be found in [Test Credentials](https://developer.safaricom.co.ke/test_credentials)
40
- * `business_short_code` and `business_pass_key` from safaricom.
41
- this is the url where response will be sent
42
- * `callback_url` the url of your application. `make sure its a reachable/active url`
39
+ * `business_short_code` and `business_pass_key` this can be found in [Test Credentials](https://developer.safaricom.co.ke/test_credentials).
40
+ * `callback_url` the url of your application where response will be sent. `make sure its a reachable/active url`
43
41
 
44
42
  ## Testing
45
43
 
@@ -57,7 +55,7 @@ $ irb
57
55
 
58
56
  expected irb output after the command
59
57
  ```hash
60
- => {
58
+ {
61
59
  "MerchantRequestID"=>"7909-1302368-1",
62
60
  "CheckoutRequestID"=>"ws_CO_DMZ_40472724_16062018092359957",
63
61
  "ResponseCode"=>"0",
@@ -1,3 +1,3 @@
1
1
  module MpesaStk
2
- VERSION = "1.1.0"
2
+ VERSION = "1.2.0"
3
3
  end
data/mpesa_stk.gemspec CHANGED
@@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
11
11
 
12
12
  spec.summary = %q{Lipa na M-Pesa Online Payment.}
13
13
  spec.description = %q{initiate a M-Pesa transaction on behalf of a customer using STK Push.}
14
- spec.homepage = "https://mboya.github.io/mpesa_stk/"
14
+ spec.homepage = "https://github.com/mboya/mpesa_stk"
15
15
  spec.license = "MIT"
16
16
 
17
17
  spec.files = `git ls-files -z`.split("\x0").reject do |f|
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mpesa_stk
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - mboya
@@ -194,7 +194,7 @@ files:
194
194
  - lib/mpesa_stk/push_payment.rb
195
195
  - lib/mpesa_stk/version.rb
196
196
  - mpesa_stk.gemspec
197
- homepage: https://mboya.github.io/mpesa_stk/
197
+ homepage: https://github.com/mboya/mpesa_stk
198
198
  licenses:
199
199
  - MIT
200
200
  metadata: {}