Skip to content

Commit

Permalink
provide a valid callback URL
Browse files Browse the repository at this point in the history
  • Loading branch information
silaselisha committed Sep 30, 2024
1 parent 99d0837 commit f2eec80
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion example/.env
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ DARAJA_CONSUMER_SECRET=yQcMx6pBUMVjZ90ILmA3QGJzf0m0l2gwhY45l9S3EzcLkH8xOPdqIaE7D
DARAJA_BUSINESS_SHORT_CODE=174379
DARAJA_PASS_KEY=bfb279f9aa9bdbcf158e97dd71a467cd2e0c893059b10f78e6b72ada1ed2c919
DARAJA_TRANSACTION_TYPE=CustomerPayBillOnline
DARAJA_CALL_BACK_URL=http://localhost:8080/api/v1/checkout
DARAJA_CALL_BACK_URL=https://mydomain.com/path
DARAJA_PARTY_A=174379
DARAJA_PARTY_B=174379
DARAJA_ACCOUNT_REF=CompanyXLTD
Expand Down
2 changes: 1 addition & 1 deletion pkg/handler/mpesa-express_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ func TestMpesaExpress(t *testing.T) {
}{
{
name: "valid transaction",
phoneNumber: "0792918261",
phoneNumber: "0708374149",
description: "test payment",
amount: 1,
check: func(t *testing.T, data *DarajaResParams, err error) {
Expand Down

0 comments on commit f2eec80

Please sign in to comment.