( ! ) Warning: Declaration of Jetpack_IXR_Client::query() should be compatible with IXR_Client::query(...$args) in C:\wamp64_2\www\docbase\wp-content\plugins\jetpack\class.jetpack-ixr-client.php on line 0 | ||||
---|---|---|---|---|
Call Stack | ||||
# | Time | Memory | Function | Location |
1 | 0.0001 | 402648 | {main}( ) | ...\index.php:0 |
2 | 0.0002 | 402928 | require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' ) | ...\index.php:17 |
3 | 1.2603 | 9308456 | wp( ) | ...\wp-blog-header.php:16 |
4 | 1.2603 | 9308480 | WP->main( ) | ...\functions.php:1334 |
5 | 1.2603 | 9308480 | WP->parse_request( ) | ...\class-wp.php:780 |
6 | 1.2610 | 9335168 | do_action_ref_array( ) | ...\class-wp.php:399 |
7 | 1.2610 | 9335168 | WP_Hook->do_action( ) | ...\plugin.php:565 |
8 | 1.2610 | 9335168 | WP_Hook->apply_filters( ) | ...\class-wp-hook.php:332 |
9 | 1.2610 | 9336184 | rest_api_loaded( ) | ...\class-wp-hook.php:308 |
10 | 1.2610 | 9336216 | rest_get_server( ) | ...\rest-api.php:403 |
11 | 1.2611 | 9339152 | do_action( ) | ...\rest-api.php:577 |
12 | 1.2611 | 9339528 | WP_Hook->do_action( ) | ...\plugin.php:517 |
13 | 1.2611 | 9339528 | WP_Hook->apply_filters( ) | ...\class-wp-hook.php:332 |
14 | 1.2620 | 9378728 | Jetpack_Core_Json_Api_Endpoints::register_endpoints( ) | ...\class-wp-hook.php:308 |
15 | 1.2623 | 9386720 | Jetpack::load_xml_rpc_client( ) | ...\class.core-rest-api-endpoints.php:64 |
( ! ) Warning: Cannot modify header information - headers already sent by (output started at C:\wamp64_2\www\docbase\wp-content\plugins\jetpack\class.jetpack-ixr-client.php:0) in C:\wamp64_2\www\docbase\wp-includes\rest-api\class-wp-rest-server.php on line 1762 | ||||
---|---|---|---|---|
Call Stack | ||||
# | Time | Memory | Function | Location |
1 | 0.0001 | 402648 | {main}( ) | ...\index.php:0 |
2 | 0.0002 | 402928 | require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' ) | ...\index.php:17 |
3 | 1.2603 | 9308456 | wp( ) | ...\wp-blog-header.php:16 |
4 | 1.2603 | 9308480 | WP->main( ) | ...\functions.php:1334 |
5 | 1.2603 | 9308480 | WP->parse_request( ) | ...\class-wp.php:780 |
6 | 1.2610 | 9335168 | do_action_ref_array( ) | ...\class-wp.php:399 |
7 | 1.2610 | 9335168 | WP_Hook->do_action( ) | ...\plugin.php:565 |
8 | 1.2610 | 9335168 | WP_Hook->apply_filters( ) | ...\class-wp-hook.php:332 |
9 | 1.2610 | 9336184 | rest_api_loaded( ) | ...\class-wp-hook.php:308 |
10 | 1.3201 | 11127056 | WP_REST_Server->serve_request( ) | ...\rest-api.php:410 |
11 | 1.3201 | 11126712 | WP_REST_Server->send_header( ) | ...\class-wp-rest-server.php:310 |
12 | 1.3202 | 11127040 | header ( ) | ...\class-wp-rest-server.php:1762 |
( ! ) Warning: Cannot modify header information - headers already sent by (output started at C:\wamp64_2\www\docbase\wp-content\plugins\jetpack\class.jetpack-ixr-client.php:0) in C:\wamp64_2\www\docbase\wp-includes\rest-api\class-wp-rest-server.php on line 1762 | ||||
---|---|---|---|---|
Call Stack | ||||
# | Time | Memory | Function | Location |
1 | 0.0001 | 402648 | {main}( ) | ...\index.php:0 |
2 | 0.0002 | 402928 | require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' ) | ...\index.php:17 |
3 | 1.2603 | 9308456 | wp( ) | ...\wp-blog-header.php:16 |
4 | 1.2603 | 9308480 | WP->main( ) | ...\functions.php:1334 |
5 | 1.2603 | 9308480 | WP->parse_request( ) | ...\class-wp.php:780 |
6 | 1.2610 | 9335168 | do_action_ref_array( ) | ...\class-wp.php:399 |
7 | 1.2610 | 9335168 | WP_Hook->do_action( ) | ...\plugin.php:565 |
8 | 1.2610 | 9335168 | WP_Hook->apply_filters( ) | ...\class-wp-hook.php:332 |
9 | 1.2610 | 9336184 | rest_api_loaded( ) | ...\class-wp-hook.php:308 |
10 | 1.3201 | 11127056 | WP_REST_Server->serve_request( ) | ...\rest-api.php:410 |
11 | 1.3212 | 11126656 | WP_REST_Server->send_header( ) | ...\class-wp-rest-server.php:311 |
12 | 1.3212 | 11126976 | header ( ) | ...\class-wp-rest-server.php:1762 |
( ! ) Warning: Cannot modify header information - headers already sent by (output started at C:\wamp64_2\www\docbase\wp-content\plugins\jetpack\class.jetpack-ixr-client.php:0) in C:\wamp64_2\www\docbase\wp-includes\rest-api\class-wp-rest-server.php on line 1762 | ||||
---|---|---|---|---|
Call Stack | ||||
# | Time | Memory | Function | Location |
1 | 0.0001 | 402648 | {main}( ) | ...\index.php:0 |
2 | 0.0002 | 402928 | require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' ) | ...\index.php:17 |
3 | 1.2603 | 9308456 | wp( ) | ...\wp-blog-header.php:16 |
4 | 1.2603 | 9308480 | WP->main( ) | ...\functions.php:1334 |
5 | 1.2603 | 9308480 | WP->parse_request( ) | ...\class-wp.php:780 |
6 | 1.2610 | 9335168 | do_action_ref_array( ) | ...\class-wp.php:399 |
7 | 1.2610 | 9335168 | WP_Hook->do_action( ) | ...\plugin.php:565 |
8 | 1.2610 | 9335168 | WP_Hook->apply_filters( ) | ...\class-wp-hook.php:332 |
9 | 1.2610 | 9336184 | rest_api_loaded( ) | ...\class-wp-hook.php:308 |
10 | 1.3201 | 11127056 | WP_REST_Server->serve_request( ) | ...\rest-api.php:410 |
11 | 1.3225 | 11126848 | WP_REST_Server->send_header( ) | ...\class-wp-rest-server.php:315 |
12 | 1.3225 | 11127216 | header ( ) | ...\class-wp-rest-server.php:1762 |
( ! ) Warning: Cannot modify header information - headers already sent by (output started at C:\wamp64_2\www\docbase\wp-content\plugins\jetpack\class.jetpack-ixr-client.php:0) in C:\wamp64_2\www\docbase\wp-includes\rest-api\class-wp-rest-server.php on line 1762 | ||||
---|---|---|---|---|
Call Stack | ||||
# | Time | Memory | Function | Location |
1 | 0.0001 | 402648 | {main}( ) | ...\index.php:0 |
2 | 0.0002 | 402928 | require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' ) | ...\index.php:17 |
3 | 1.2603 | 9308456 | wp( ) | ...\wp-blog-header.php:16 |
4 | 1.2603 | 9308480 | WP->main( ) | ...\functions.php:1334 |
5 | 1.2603 | 9308480 | WP->parse_request( ) | ...\class-wp.php:780 |
6 | 1.2610 | 9335168 | do_action_ref_array( ) | ...\class-wp.php:399 |
7 | 1.2610 | 9335168 | WP_Hook->do_action( ) | ...\plugin.php:565 |
8 | 1.2610 | 9335168 | WP_Hook->apply_filters( ) | ...\class-wp-hook.php:332 |
9 | 1.2610 | 9336184 | rest_api_loaded( ) | ...\class-wp-hook.php:308 |
10 | 1.3201 | 11127056 | WP_REST_Server->serve_request( ) | ...\rest-api.php:410 |
11 | 1.3233 | 11126736 | WP_REST_Server->send_header( ) | ...\class-wp-rest-server.php:323 |
12 | 1.3233 | 11127056 | header ( ) | ...\class-wp-rest-server.php:1762 |
( ! ) Warning: Cannot modify header information - headers already sent by (output started at C:\wamp64_2\www\docbase\wp-content\plugins\jetpack\class.jetpack-ixr-client.php:0) in C:\wamp64_2\www\docbase\wp-includes\rest-api\class-wp-rest-server.php on line 1762 | ||||
---|---|---|---|---|
Call Stack | ||||
# | Time | Memory | Function | Location |
1 | 0.0001 | 402648 | {main}( ) | ...\index.php:0 |
2 | 0.0002 | 402928 | require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' ) | ...\index.php:17 |
3 | 1.2603 | 9308456 | wp( ) | ...\wp-blog-header.php:16 |
4 | 1.2603 | 9308480 | WP->main( ) | ...\functions.php:1334 |
5 | 1.2603 | 9308480 | WP->parse_request( ) | ...\class-wp.php:780 |
6 | 1.2610 | 9335168 | do_action_ref_array( ) | ...\class-wp.php:399 |
7 | 1.2610 | 9335168 | WP_Hook->do_action( ) | ...\plugin.php:565 |
8 | 1.2610 | 9335168 | WP_Hook->apply_filters( ) | ...\class-wp-hook.php:332 |
9 | 1.2610 | 9336184 | rest_api_loaded( ) | ...\class-wp-hook.php:308 |
10 | 1.3201 | 11127056 | WP_REST_Server->serve_request( ) | ...\rest-api.php:410 |
11 | 1.3241 | 11126800 | WP_REST_Server->send_header( ) | ...\class-wp-rest-server.php:335 |
12 | 1.3241 | 11127168 | header ( ) | ...\class-wp-rest-server.php:1762 |
( ! ) Warning: Cannot modify header information - headers already sent by (output started at C:\wamp64_2\www\docbase\wp-content\plugins\jetpack\class.jetpack-ixr-client.php:0) in C:\wamp64_2\www\docbase\wp-includes\rest-api\class-wp-rest-server.php on line 1762 | ||||
---|---|---|---|---|
Call Stack | ||||
# | Time | Memory | Function | Location |
1 | 0.0001 | 402648 | {main}( ) | ...\index.php:0 |
2 | 0.0002 | 402928 | require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' ) | ...\index.php:17 |
3 | 1.2603 | 9308456 | wp( ) | ...\wp-blog-header.php:16 |
4 | 1.2603 | 9308480 | WP->main( ) | ...\functions.php:1334 |
5 | 1.2603 | 9308480 | WP->parse_request( ) | ...\class-wp.php:780 |
6 | 1.2610 | 9335168 | do_action_ref_array( ) | ...\class-wp.php:399 |
7 | 1.2610 | 9335168 | WP_Hook->do_action( ) | ...\plugin.php:565 |
8 | 1.2610 | 9335168 | WP_Hook->apply_filters( ) | ...\class-wp-hook.php:332 |
9 | 1.2610 | 9336184 | rest_api_loaded( ) | ...\class-wp-hook.php:308 |
10 | 1.3201 | 11127056 | WP_REST_Server->serve_request( ) | ...\rest-api.php:410 |
11 | 1.3249 | 11126848 | WP_REST_Server->send_header( ) | ...\class-wp-rest-server.php:359 |
12 | 1.3249 | 11127216 | header ( ) | ...\class-wp-rest-server.php:1762 |
( ! ) Warning: Cannot modify header information - headers already sent by (output started at C:\wamp64_2\www\docbase\wp-content\plugins\jetpack\class.jetpack-ixr-client.php:0) in C:\wamp64_2\www\docbase\wp-includes\rest-api\class-wp-rest-server.php on line 1762 | ||||
---|---|---|---|---|
Call Stack | ||||
# | Time | Memory | Function | Location |
1 | 0.0001 | 402648 | {main}( ) | ...\index.php:0 |
2 | 0.0002 | 402928 | require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' ) | ...\index.php:17 |
3 | 1.2603 | 9308456 | wp( ) | ...\wp-blog-header.php:16 |
4 | 1.2603 | 9308480 | WP->main( ) | ...\functions.php:1334 |
5 | 1.2603 | 9308480 | WP->parse_request( ) | ...\class-wp.php:780 |
6 | 1.2610 | 9335168 | do_action_ref_array( ) | ...\class-wp.php:399 |
7 | 1.2610 | 9335168 | WP_Hook->do_action( ) | ...\plugin.php:565 |
8 | 1.2610 | 9335168 | WP_Hook->apply_filters( ) | ...\class-wp-hook.php:332 |
9 | 1.2610 | 9336184 | rest_api_loaded( ) | ...\class-wp-hook.php:308 |
10 | 1.3201 | 11127056 | WP_REST_Server->serve_request( ) | ...\rest-api.php:410 |
11 | 1.3614 | 11374144 | WP_REST_Server->send_headers( ) | ...\class-wp-rest-server.php:475 |
12 | 1.3614 | 11374144 | WP_REST_Server->send_header( ) | ...\class-wp-rest-server.php:1774 |
13 | 1.3614 | 11374688 | header ( ) | ...\class-wp-rest-server.php:1762 |
( ! ) Warning: Cannot modify header information - headers already sent by (output started at C:\wamp64_2\www\docbase\wp-content\plugins\jetpack\class.jetpack-ixr-client.php:0) in C:\wamp64_2\www\docbase\wp-includes\rest-api\class-wp-rest-server.php on line 1762 | ||||
---|---|---|---|---|
Call Stack | ||||
# | Time | Memory | Function | Location |
1 | 0.0001 | 402648 | {main}( ) | ...\index.php:0 |
2 | 0.0002 | 402928 | require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' ) | ...\index.php:17 |
3 | 1.2603 | 9308456 | wp( ) | ...\wp-blog-header.php:16 |
4 | 1.2603 | 9308480 | WP->main( ) | ...\functions.php:1334 |
5 | 1.2603 | 9308480 | WP->parse_request( ) | ...\class-wp.php:780 |
6 | 1.2610 | 9335168 | do_action_ref_array( ) | ...\class-wp.php:399 |
7 | 1.2610 | 9335168 | WP_Hook->do_action( ) | ...\plugin.php:565 |
8 | 1.2610 | 9335168 | WP_Hook->apply_filters( ) | ...\class-wp-hook.php:332 |
9 | 1.2610 | 9336184 | rest_api_loaded( ) | ...\class-wp-hook.php:308 |
10 | 1.3201 | 11127056 | WP_REST_Server->serve_request( ) | ...\rest-api.php:410 |
11 | 1.3614 | 11374144 | WP_REST_Server->send_headers( ) | ...\class-wp-rest-server.php:475 |
12 | 1.3624 | 11374144 | WP_REST_Server->send_header( ) | ...\class-wp-rest-server.php:1774 |
13 | 1.3624 | 11374464 | header ( ) | ...\class-wp-rest-server.php:1762 |
Download Link<\/a><\/p>\n This repository contains Java SDK and samples for Business to Consumer bill payments.<\/p>\n A biller is any Organization\/Institution\/Business that is able to exchange services for a fee. e.g Telecoms provider(Airtel, Glo, MTN), Government Body(Lagos State) etc.<\/p>\n Billers are grouped under categories. For instance, all cable providers(DSTV, GOTV) can e grouped under a\u00a0 An individual that has an intent and\/or pays for any of the services offered by a Biller.<\/p>\n A biller(e.g DSTV) can offer different services and hence different prices for them. Each of those services, falls under a payment-item and has a unique payment-item-code. We say that a user has intent to pay for a payment-item offered by a Biller. An example of a payment-item under DSTV is the\u00a0 Check out the samples folder for sample code on all the features above.<\/p>\n Still experiencing issues, quickly talk to our Engineers at\u00a0Support chat<\/a>\u00a0or\u00a0Support chat<\/a>\u00a0and get your issues fixed in a giffy.<\/p>\n <\/p>\n <\/p>\n Download Link<\/a><\/p>\n<\/a>Prerequisites<\/h2>\n
\n
<\/a>Welcome<\/h1>\n
<\/a>Read our FAQs here<\/a><\/h5>\n
<\/a>Biller<\/h3>\n
<\/a>Category<\/h3>\n
cable<\/code>\u00a0Category.<\/p>\n
<\/a>Customer<\/h3>\n
<\/a>PaymentItem<\/h3>\n
DSTV Premium Bouquet<\/code><\/p>\n
<\/a>What this SDK provides for you<\/h1>\n
<\/a>Get All Billers<\/h3>\n
Get a list of all billers supported on our platform.\r\n<\/code><\/pre>\n
<\/a>Get All Categorys<\/h3>\n
Get a list of all categorys and associated billers supported on our platform.\r\n<\/code><\/pre>\n
<\/a>Get All Billers under a Category<\/h3>\n
Get a list of all biilers under a particular category.\r\n<\/code><\/pre>\n
<\/a>Get Biller Payment Items<\/h3>\n
Get a list of all payment-items under aparticular Biller.\r\n<\/code><\/pre>\n
<\/a>Validate Customer<\/h3>\n
Validates a customer-id under a particular biller.\r\n<\/code><\/pre>\n
<\/a>Make payment for a customer<\/h3>\n
Makes a payment for a payment-item for a particular customer.\r\n<\/code><\/pre>\n
<\/a>Query the status of a transaction<\/h3>\n
Query the status of a transaction made in the past based on the Request Reference\r\n<\/code><\/pre>\n
<\/a>Quick start<\/h1>\n
<\/a>npm<\/h4>\n
npm install interswitch\r\n<\/code><\/pre>\n
<\/a>Samples<\/h4>\n
<\/a>Support Team<\/h4>\n
B2C-Funds-Transfer-nodejs<\/h1>\n
\/**\r\n * \r\n * sample code to showcase all the request in transfer service.\r\n * \r\n * For any difficulty, contact any of the contributors for help.\r\n *\r\n *\/\r\nvar app = require('.\/src\/index.js');\r\n\r\n\/**\r\n * Initiating entity code:\r\n * This is unique to a each merchant.\r\n * When you are ready to move to production,\r\n * you will be provided with your initiatingEntityCode\r\n *\/\r\nvar initiatingEntityCode = \"XXT\";\r\n\r\n\/**\r\n * @clientId:\r\n * @clientSecret:\r\n * These are for test environment.\r\n * var clientId = \"IKIA2EFBE1EF63D1BBE2AF6E59100B98E1D3043F477A\";\r\n * var clientSecret = \"uAk0Amg6NQwQPcnb9BTJzxvMS6Vz22octQglQ1rfrMA=\";\r\n * var transfer = new FundTransfer({clientId: clientId, clientSecret: clientSecret, environment: \"SANDBOX\"})\r\n *\/\r\n\r\n\/**\r\n * @clientId:\r\n * @clientSecret:\r\n * These are for the sandbox environment.\r\n *\/\r\nvar clientId = \"IKIA6570778A3484D6F33BC7E4165ADCA6CF06B2860A\";\r\nvar clientSecret = \"DXfUwpuIvMAKN84kv38uspqGOsStgFS0oZMjU7bPwpU=\";\r\n\r\nvar Interswitch = require('interswitch');\r\nvar TransferRequestBuilder = app.TransferRequestBuilder;\r\nvar FundTransfer = app.FundTransfer;\r\nvar Constant = app.Constant;\r\n\r\n\r\n\/**\r\n * Create a funds transfer object.\r\n * e.g FundsTransfer transfer = new FundsTransfer({clientId: clientId, clientSecret: clientSecret, environment: \"SANDBOX\"});\r\n * \r\n * With this object you can\r\n * \r\n * 1. Get all supported banks on our platform.\r\n * \r\n * e.g var bankResponse = transfer.fetchBanks();\r\n * \r\n * If successful, it returns a list of all banks. Otherwise it\r\n * throws returns an error object or throws an exception.\r\n * \r\n * 2. Account Validation\r\n * \r\n * e.g var validationResponse = transfer.validateAccount(request);\/\/ validate account\r\n * \r\n * This is used to validate an account number against a source bank.\r\n * If successful, you know for sure the bank account number is valid.\r\n * Otherwise, it is probably okay to still go on with the transaction.\r\n * \r\n * 3. Funds Transfer.\r\n * \r\n * e.g var response = transfer.send(request); \/\/ send transfer request\r\n * \r\n * This api, is used to initiate a funds transfer from a sender to a receiver.\r\n * The sample code is clear and concise and states the mandatory and optional fields.\r\n * \r\n * \r\n * \r\n *\/\r\nvar transfer = new FundTransfer({clientId: clientId, clientSecret: clientSecret, environment: \"SANDBOX\"});\r\n\/\/var transfer = new FundTransfer({clientId: clientId, clientSecret: clientSecret, environment: \"PRODUCTION\"});\r\n\/\/var transfer = new FundTransfer({clientId: clientId, clientSecret: clientSecret});\r\n\r\n\r\ntransfer.fetchBanks(function(err, response){\r\n if(err) {\r\n \/\/fetch banks was not successful\r\n return;\r\n }\r\n else {\r\n console.log(\"bank response \"+JSON.stringify(response.body));\r\n if(bankResponse) {\r\n\r\n var bankResponse = JSON.parse(response.body).banks;\r\n\r\n var aBank = bankResponse[0];\r\n var cbnCode = aBank.cbnCode; \/\/ Central bank code\r\n var bankName = aBank.bankName; \/\/ bank name:\r\n var bankCode = aBank.bankCode; \/\/ bankcode in alphabetical form: UBA, GTB, FBN\r\n console.log(cbnCode+\" \"+bankName+\" \"+bankCode);\r\n }\r\n var request = new TransferRequestBuilder(initiatingEntityCode)\r\n .amount(\"100000\") \/\/ mandatory, minor denomination\r\n .channel(Constant.LOCATION) \/\/ mandatory: ATM-1, POS-2, WEB-3, MOBILE-4, KIOSK-5, PCPOS-6, LOCATION-7, DIRECT DEBIT-8\r\n .destinationBankCode(cbnCode)\/* mandatory: To be gotten from the get all banks code (transfer.fetchBanks())*\/\r\n .toAccountNumber(\"0114951936\") \/\/ mandatory\r\n .requestRef(\"60360575603527\")\/\/ mandatory\r\n .senderPhoneNumber(\"07036913492\") \/\/ optional\r\n .senderEmail(\"grandeur_man@yahoo.com\") \/\/ optional\r\n .senderLastName(\"Desmond\") \/\/ optional\r\n .senderOtherNames(\"Samuel\") \/\/ optional\r\n .receiverPhoneNumber(\"07036913492\") \/\/ optional\r\n .receiverEmail(\"grandeur_man@yahoo.com\") \/\/ optional\r\n .receiverLastName(\"Desmond\") \/\/ optional\r\n .receiverOtherNames(\"Samuel\") \/\/ optional\r\n .fee(\"10000\")\/\/ optional (minor denomination)\r\n .build();\r\n \r\n var validationResponse = transfer.validateAccount(request, function(err, name){\r\n if(err) {\r\n \/\/name validation was not successful\r\n }\r\n else {\r\n var accountName = name;\r\n console.log(\"account name \"+name);\r\n }\r\n });\/\/ validate account\r\n\r\n var response = transfer.send(request, function(err, response){\r\n if(err) {\r\n \/\/an error occured wihle doing transfer\r\n console.log(err);\r\n }\r\n else {\r\n if(! response.errors) {\r\n\r\n var mac = response.mac;\r\n var transactionDate = response.transactionDate;\r\n var responseCode = response.responseCode;\r\n console.log(mac+\" \"+transactionDate+\" \"+responseCode);\r\n }\r\n else {\r\n\r\n \/\/transfer not successful\r\n console.log(JSON.stringify(response));\r\n }\r\n }\r\n\r\n });\r\n\r\n\r\n\r\n }\r\n});\/\/end of fetchBanks\r\n\r\n<\/code><\/pre>\n
<\/a>Installation<\/h2>\n
$ npm install interswitch-funds-transfer<\/pre>\n<\/div>\n
<\/a>Features<\/h2>\n