Skip to content

Commit

Permalink
add zimswitch and visa mastercard test tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
eliphas1204 committed Jul 19, 2024
1 parent d38a8be commit 29c8c4f
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/express_checkout_transactions.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ The fields below are required in addition to those specified in the [Initiate a

| Required For | Field | Data Type | Description |
| --- | --- | --- | --- |
| All | method | String | ecocash = Ecocash mobile money **OR** onemoney = OneMoney mobile money **OR** vmc = Visa Mastercard **OR** innbucks = InnBucks **OR** paygo = PayGo |
| All | method | String | ecocash = Ecocash mobile money **OR** onemoney = OneMoney mobile money **OR** vmc = Visa Mastercard **OR** innbucks = InnBucks **OR** paygo = PayGo | **OR** zimswitch = Zimswitch
| Mobile Money | phone | String | The subscriber number of the mobile money wallet to be debited |
| Visa/Mastercard | token | String | A token returned by a previous tokenized transaction. Used to carry out recurring payments without requiring further input from the card holder |
| Visa/Mastercard/Zimswitch | token | String | A token returned by a previous tokenized transaction. Used to carry out recurring payments without requiring further input from the card holder |
| Visa/Mastercard | merchanttrace | String | A unique merchanttrace is required for each request to ensure that no duplicate debits are processed in the event of a request timeout or network interruption |

## Important Notes
Expand Down
28 changes: 27 additions & 1 deletion docs/test_mode.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,30 @@ Paynow will send a FAILED status update message 30 seconds after the transaction

> Insufficient Balance – 0774444444
Paynow will immediately fail the transaction during initiation and return an “Insufficient balance” error message.
Paynow will immediately fail the transaction during initiation and return an “Insufficient balance” error message.

### Express Checkout for Visa, MasterCard and Zimswitch
To use Visa, Mastercard and Zimswitch Express Checkout Tokenized transaction in test mode, You can use any of the below pre-configured:

#### Visa Mastercard Test Tokens
Paynow will return the following statuses when the tokens below are passed during an express checkout transaction for *vmc*

> Success: {11111111-1111-1111-1111-111111111111}
> Pending: {22222222-2222-2222-2222-222222222222}
> Cancelled: {33333333-3333-3333-3333-333333333333}
> Insufficient Balance: {44444444-4444-4444-4444-444444444444}
#### Zimswitch Test Tokens

Paynow will return the following statuses when the tokens below are passed during an express checkout transaction for *zimswitch*

> Success: 11111111111111111111111111111111
> Pending: 22222222222222222222222222222222
> Cancelled: 33333333333333333333333333333333
> Insufficient Balance: 44444444444444444444444444444444

0 comments on commit 29c8c4f

Please sign in to comment.