( ! ) 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
#TimeMemoryFunctionLocation
10.0001402648{main}( )...\index.php:0
20.0001402928require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
30.20719232232wp( )...\wp-blog-header.php:16
40.20719232256WP->main( )...\functions.php:1334
50.20719232256WP->parse_request( )...\class-wp.php:780
60.20769258944do_action_ref_array( )...\class-wp.php:399
70.20769258944WP_Hook->do_action( )...\plugin.php:565
80.20769258944WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.20769259960rest_api_loaded( )...\class-wp-hook.php:308
100.20769259992rest_get_server( )...\rest-api.php:403
110.20769262928do_action( )...\rest-api.php:577
120.20769263304WP_Hook->do_action( )...\plugin.php:517
130.20769263304WP_Hook->apply_filters( )...\class-wp-hook.php:332
140.20859302504Jetpack_Core_Json_Api_Endpoints::register_endpoints( )...\class-wp-hook.php:308
150.20879310496Jetpack::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
#TimeMemoryFunctionLocation
10.0001402648{main}( )...\index.php:0
20.0001402928require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
30.20719232232wp( )...\wp-blog-header.php:16
40.20719232256WP->main( )...\functions.php:1334
50.20719232256WP->parse_request( )...\class-wp.php:780
60.20769258944do_action_ref_array( )...\class-wp.php:399
70.20769258944WP_Hook->do_action( )...\plugin.php:565
80.20769258944WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.20769259960rest_api_loaded( )...\class-wp-hook.php:308
100.283711050832WP_REST_Server->serve_request( )...\rest-api.php:410
110.283811050488WP_REST_Server->send_header( )...\class-wp-rest-server.php:310
120.283911050816header ( )...\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
#TimeMemoryFunctionLocation
10.0001402648{main}( )...\index.php:0
20.0001402928require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
30.20719232232wp( )...\wp-blog-header.php:16
40.20719232256WP->main( )...\functions.php:1334
50.20719232256WP->parse_request( )...\class-wp.php:780
60.20769258944do_action_ref_array( )...\class-wp.php:399
70.20769258944WP_Hook->do_action( )...\plugin.php:565
80.20769258944WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.20769259960rest_api_loaded( )...\class-wp-hook.php:308
100.283711050832WP_REST_Server->serve_request( )...\rest-api.php:410
110.285211050432WP_REST_Server->send_header( )...\class-wp-rest-server.php:311
120.285211050752header ( )...\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
#TimeMemoryFunctionLocation
10.0001402648{main}( )...\index.php:0
20.0001402928require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
30.20719232232wp( )...\wp-blog-header.php:16
40.20719232256WP->main( )...\functions.php:1334
50.20719232256WP->parse_request( )...\class-wp.php:780
60.20769258944do_action_ref_array( )...\class-wp.php:399
70.20769258944WP_Hook->do_action( )...\plugin.php:565
80.20769258944WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.20769259960rest_api_loaded( )...\class-wp-hook.php:308
100.283711050832WP_REST_Server->serve_request( )...\rest-api.php:410
110.286411050624WP_REST_Server->send_header( )...\class-wp-rest-server.php:315
120.286411050992header ( )...\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
#TimeMemoryFunctionLocation
10.0001402648{main}( )...\index.php:0
20.0001402928require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
30.20719232232wp( )...\wp-blog-header.php:16
40.20719232256WP->main( )...\functions.php:1334
50.20719232256WP->parse_request( )...\class-wp.php:780
60.20769258944do_action_ref_array( )...\class-wp.php:399
70.20769258944WP_Hook->do_action( )...\plugin.php:565
80.20769258944WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.20769259960rest_api_loaded( )...\class-wp-hook.php:308
100.283711050832WP_REST_Server->serve_request( )...\rest-api.php:410
110.287211050512WP_REST_Server->send_header( )...\class-wp-rest-server.php:323
120.287211050832header ( )...\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
#TimeMemoryFunctionLocation
10.0001402648{main}( )...\index.php:0
20.0001402928require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
30.20719232232wp( )...\wp-blog-header.php:16
40.20719232256WP->main( )...\functions.php:1334
50.20719232256WP->parse_request( )...\class-wp.php:780
60.20769258944do_action_ref_array( )...\class-wp.php:399
70.20769258944WP_Hook->do_action( )...\plugin.php:565
80.20769258944WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.20769259960rest_api_loaded( )...\class-wp-hook.php:308
100.283711050832WP_REST_Server->serve_request( )...\rest-api.php:410
110.288011050576WP_REST_Server->send_header( )...\class-wp-rest-server.php:335
120.288111050944header ( )...\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
#TimeMemoryFunctionLocation
10.0001402648{main}( )...\index.php:0
20.0001402928require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
30.20719232232wp( )...\wp-blog-header.php:16
40.20719232256WP->main( )...\functions.php:1334
50.20719232256WP->parse_request( )...\class-wp.php:780
60.20769258944do_action_ref_array( )...\class-wp.php:399
70.20769258944WP_Hook->do_action( )...\plugin.php:565
80.20769258944WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.20769259960rest_api_loaded( )...\class-wp-hook.php:308
100.283711050832WP_REST_Server->serve_request( )...\rest-api.php:410
110.288811050624WP_REST_Server->send_header( )...\class-wp-rest-server.php:359
120.288811050992header ( )...\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
#TimeMemoryFunctionLocation
10.0001402648{main}( )...\index.php:0
20.0001402928require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
30.20719232232wp( )...\wp-blog-header.php:16
40.20719232256WP->main( )...\functions.php:1334
50.20719232256WP->parse_request( )...\class-wp.php:780
60.20769258944do_action_ref_array( )...\class-wp.php:399
70.20769258944WP_Hook->do_action( )...\plugin.php:565
80.20769258944WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.20769259960rest_api_loaded( )...\class-wp-hook.php:308
100.283711050832WP_REST_Server->serve_request( )...\rest-api.php:410
110.332211274104WP_REST_Server->send_headers( )...\class-wp-rest-server.php:475
120.332211274104WP_REST_Server->send_header( )...\class-wp-rest-server.php:1774
130.332211274680header ( )...\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
#TimeMemoryFunctionLocation
10.0001402648{main}( )...\index.php:0
20.0001402928require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
30.20719232232wp( )...\wp-blog-header.php:16
40.20719232256WP->main( )...\functions.php:1334
50.20719232256WP->parse_request( )...\class-wp.php:780
60.20769258944do_action_ref_array( )...\class-wp.php:399
70.20769258944WP_Hook->do_action( )...\plugin.php:565
80.20769258944WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.20769259960rest_api_loaded( )...\class-wp-hook.php:308
100.283711050832WP_REST_Server->serve_request( )...\rest-api.php:410
110.332211274104WP_REST_Server->send_headers( )...\class-wp-rest-server.php:475
120.333611274104WP_REST_Server->send_header( )...\class-wp-rest-server.php:1774
130.333611274424header ( )...\class-wp-rest-server.php:1762
{"id":1047,"date":"2017-08-08T08:43:48","date_gmt":"2017-08-08T08:43:48","guid":{"rendered":"http:\/\/sandbox.interswitchng.com\/docbase\/docs\/paycode\/transaction-authorization-mmo\/authorize-transaction\/"},"modified":"2021-09-23T12:34:36","modified_gmt":"2021-09-23T12:34:36","slug":"authorize-transaction","status":"publish","type":"docs","link":"https:\/\/sandbox.interswitchng.com\/docbase\/docs\/paycode\/transaction-authorization-mmo\/authorize-transaction\/","title":{"rendered":"Authorize Transaction"},"content":{"rendered":"

Authorize Transaction<\/strong>
\nAuthorize Transaction message is used to send a transaction authorization to a MMO.<\/p>\n

Authorize Transaction Request<\/strong>
\nThe following describes the important element required to be sent for Authorize Transaction request. The HTTP method is POST.<\/p>\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
S\/N <\/strong><\/td>\nData Element (DE) <\/strong><\/td>\n\u00a0<\/strong><\/td>\nDescription <\/strong><\/td>\n<\/tr>\n
1<\/td>\nsubscriberId<\/td>\nMandatory<\/td>\nCustomer ID. E.g. 2348012233220<\/td>\n<\/tr>\n
2<\/td>\ntransactionId<\/td>\nMandatory<\/td>\nUnique ID for the transaction<\/td>\n<\/tr>\n
3<\/td>\ntransactionType<\/td>\nMandatory<\/td>\nTransaction Type<\/td>\n<\/tr>\n
4<\/td>\nproviderToken<\/td>\nMandatory<\/td>\nMobile Money Transaction Authentication Token.<\/p>\n

NB: Null is sent and should be used if providerToken is not sent generate token request.<\/strong><\/td>\n<\/tr>\n

5<\/td>\nNarration<\/td>\nMandatory<\/td>\nTransaction narration<\/td>\n<\/tr>\n
6<\/td>\nmercantId<\/td>\nMandatory<\/td>\nMerchant Identifier<\/td>\n<\/tr>\n
7<\/td>\nterminalId<\/td>\nMandatory<\/td>\nMobile Money Transaction Authentication Token<\/td>\n<\/tr>\n
8<\/td>\nAmount<\/td>\nMandatory<\/td>\nTransaction Amount in lower denomination<\/td>\n<\/tr>\n
9<\/td>\nAcquirer<\/td>\nMandatory<\/td>\nAcquirer<\/td>\n<\/tr>\n
10<\/td>\nmacdata<\/td>\nMandatory<\/td>\nSee the MAC computation in the appendix<\/td>\n<\/tr>\n
11<\/td>\npaycode<\/td>\nMandatory<\/td>\nPayWithMobile Token<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n

Request Headers<\/strong><\/p>\n\n\n\n\n\n
S\/N <\/strong><\/td>\nData Element (DE) <\/strong><\/td>\n\u00a0<\/strong><\/td>\nDescription <\/strong><\/td>\n<\/tr>\n
1<\/td>\nAuthorization<\/td>\nMandatory<\/td>\nBasic Authentication will be used. E.g Basic dXNlcm5hbWU6cGFzc3dvcmQ=. The username and<\/p>\n

Password for basic authentication is to be provided by<\/p>\n

MMO<\/td>\n<\/tr>\n

2<\/td>\nContent-Type<\/td>\nMandatory<\/td>\nThe API should support \u201capplication\/json\u201d media type<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n

<\/p>\n

Sample Authorize Transaction Request (Sent from Interswitch)<\/strong><\/p>\n\n\n\n
POST {context}\/transactions\/authorize<\/p>\n

Content-Type: application\/json<\/p>\n

Authorization: dXNlcm5hbWU6cGFzc3dvcmQ=<\/p>\n

Signature: SUtJQTc2QzYzQjYwODIxNjI5RjRDQ0I5MDQ3RjRFNzI5NzUyMjJGMENENzc=<\/p>\n

\n
{<\/div>\n
“subscriberId”:\u00a0“2348060774043”,<\/div>\n
“transactionId”:\u00a0“123456”,<\/div>\n
“providerToken”:\u00a0“null”,<\/div>\n
“transactionType”:\u00a0“withdrawal”,<\/div>\n
“narration”:\u00a0“ABC1234567”,<\/div>\n
“amount”:\u00a0“00000010000”,<\/div>\n
“merchantId”:\u00a0“ttt3244”,<\/div>\n
“terminalId”:\u00a0“234455555”,<\/div>\n
“acquirer”:\u00a0“12344453”,<\/div>\n
“macdata”:\u00a0“JgUGs+L\/G2DsC8q0mn7CEKozmukVCIFnmKO5bGugZdQ<\/div>\n
gIS7RmEMtY3Nv6xR9AJaurAiBqxttckUZXpWOC3g3\/w==”,<\/div>\n
<\/div>\n
“paycode”:\u00a0“12601609197”<\/div>\n
<\/div>\n<\/div>\n

}<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n

Authorize Transaction Response\u00a0<\/strong>
\nThe following describes the important data element required for Authorize Transaction response.<\/p>\n\n\n\n\n\n
S\/N <\/strong><\/td>\nData Element (DE) <\/strong><\/td>\nDescription <\/strong><\/td>\n<\/tr>\n
1<\/td>\nresponseCode<\/td>\nResponse Code. See Response Code Table Below<\/td>\n<\/tr>\n
2<\/td>\nresponseDecription<\/td>\nResponse Description. See Response Code Table Below<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n

Successful Response<\/strong><\/p>\n\n\n\n
\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 HTTP Status Code:\u00a0 200<\/p>\n

Content-Type: application\/json<\/p>\n

{<\/p>\n

“responseCode”: “00”,<\/p>\n

“responseDescription”: “Authorized\u201d<\/p>\n

}<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n

Unsuccessful Response<\/strong><\/p>\n\n\n\n
HTTP Status Code:\u00a0 401<\/p>\n

Content-Type: application\/json<\/p>\n

{<\/p>\n

“responseCode”: “63”,<\/p>\n

“responseDescription”: “Security Violation\u201d<\/p>\n

}<\/p>\n

HTTP Status Code:\u00a0 500<\/p>\n

Content-Type: application\/json<\/p>\n

{<\/p>\n

“responseCode”: “06”,<\/p>\n

“responseDescription”: “Unable to authorize due to some errors\u201d<\/p>\n

}<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n","protected":false},"author":169,"featured_media":0,"parent":1043,"menu_order":2,"comment_status":"closed","ping_status":"closed","template":"","meta":{"spay_email":""},"doc_tag":[],"_links":{"self":[{"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/docs\/1047"}],"collection":[{"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/users\/169"}],"replies":[{"embeddable":true,"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/comments?post=1047"}],"version-history":[{"count":6,"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/docs\/1047\/revisions"}],"predecessor-version":[{"id":4106,"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/docs\/1047\/revisions\/4106"}],"up":[{"embeddable":true,"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/docs\/1043"}],"next":[{"title":"ReverseTransaction","link":"https:\/\/sandbox.interswitchng.com\/docbase\/docs\/paycode\/transaction-authorization-mmo\/reversetransaction\/","href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/docs\/1048"}],"prev":[{"title":"Introduction","link":"https:\/\/sandbox.interswitchng.com\/docbase\/docs\/paycode\/transaction-authorization-mmo\/introduction\/","href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/docs\/1044"}],"wp:attachment":[{"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/media?parent=1047"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/doc_tag?post=1047"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}