( ! ) 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.0001401504{main}( )...\index.php:0
20.0001401784require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
30.24179229472wp( )...\wp-blog-header.php:16
40.24179229496WP->main( )...\functions.php:1334
50.24189229496WP->parse_request( )...\class-wp.php:780
60.24239256184do_action_ref_array( )...\class-wp.php:399
70.24239256184WP_Hook->do_action( )...\plugin.php:565
80.24239256184WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.24239257200rest_api_loaded( )...\class-wp-hook.php:308
100.24239257232rest_get_server( )...\rest-api.php:403
110.24239260168do_action( )...\rest-api.php:577
120.24239260544WP_Hook->do_action( )...\plugin.php:517
130.24239260544WP_Hook->apply_filters( )...\class-wp-hook.php:332
140.24339299744Jetpack_Core_Json_Api_Endpoints::register_endpoints( )...\class-wp-hook.php:308
150.24359307736Jetpack::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.0001401504{main}( )...\index.php:0
20.0001401784require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
30.24179229472wp( )...\wp-blog-header.php:16
40.24179229496WP->main( )...\functions.php:1334
50.24189229496WP->parse_request( )...\class-wp.php:780
60.24239256184do_action_ref_array( )...\class-wp.php:399
70.24239256184WP_Hook->do_action( )...\plugin.php:565
80.24239256184WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.24239257200rest_api_loaded( )...\class-wp-hook.php:308
100.304111048072WP_REST_Server->serve_request( )...\rest-api.php:410
110.304211047728WP_REST_Server->send_header( )...\class-wp-rest-server.php:310
120.304211048056header ( )...\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.0001401504{main}( )...\index.php:0
20.0001401784require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
30.24179229472wp( )...\wp-blog-header.php:16
40.24179229496WP->main( )...\functions.php:1334
50.24189229496WP->parse_request( )...\class-wp.php:780
60.24239256184do_action_ref_array( )...\class-wp.php:399
70.24239256184WP_Hook->do_action( )...\plugin.php:565
80.24239256184WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.24239257200rest_api_loaded( )...\class-wp-hook.php:308
100.304111048072WP_REST_Server->serve_request( )...\rest-api.php:410
110.305611047672WP_REST_Server->send_header( )...\class-wp-rest-server.php:311
120.305611047992header ( )...\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.0001401504{main}( )...\index.php:0
20.0001401784require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
30.24179229472wp( )...\wp-blog-header.php:16
40.24179229496WP->main( )...\functions.php:1334
50.24189229496WP->parse_request( )...\class-wp.php:780
60.24239256184do_action_ref_array( )...\class-wp.php:399
70.24239256184WP_Hook->do_action( )...\plugin.php:565
80.24239256184WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.24239257200rest_api_loaded( )...\class-wp-hook.php:308
100.304111048072WP_REST_Server->serve_request( )...\rest-api.php:410
110.307011047864WP_REST_Server->send_header( )...\class-wp-rest-server.php:315
120.307011048232header ( )...\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.0001401504{main}( )...\index.php:0
20.0001401784require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
30.24179229472wp( )...\wp-blog-header.php:16
40.24179229496WP->main( )...\functions.php:1334
50.24189229496WP->parse_request( )...\class-wp.php:780
60.24239256184do_action_ref_array( )...\class-wp.php:399
70.24239256184WP_Hook->do_action( )...\plugin.php:565
80.24239256184WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.24239257200rest_api_loaded( )...\class-wp-hook.php:308
100.304111048072WP_REST_Server->serve_request( )...\rest-api.php:410
110.308011047752WP_REST_Server->send_header( )...\class-wp-rest-server.php:323
120.308011048072header ( )...\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.0001401504{main}( )...\index.php:0
20.0001401784require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
30.24179229472wp( )...\wp-blog-header.php:16
40.24179229496WP->main( )...\functions.php:1334
50.24189229496WP->parse_request( )...\class-wp.php:780
60.24239256184do_action_ref_array( )...\class-wp.php:399
70.24239256184WP_Hook->do_action( )...\plugin.php:565
80.24239256184WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.24239257200rest_api_loaded( )...\class-wp-hook.php:308
100.304111048072WP_REST_Server->serve_request( )...\rest-api.php:410
110.308811047816WP_REST_Server->send_header( )...\class-wp-rest-server.php:335
120.308811048184header ( )...\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.0001401504{main}( )...\index.php:0
20.0001401784require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
30.24179229472wp( )...\wp-blog-header.php:16
40.24179229496WP->main( )...\functions.php:1334
50.24189229496WP->parse_request( )...\class-wp.php:780
60.24239256184do_action_ref_array( )...\class-wp.php:399
70.24239256184WP_Hook->do_action( )...\plugin.php:565
80.24239256184WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.24239257200rest_api_loaded( )...\class-wp-hook.php:308
100.304111048072WP_REST_Server->serve_request( )...\rest-api.php:410
110.309711047864WP_REST_Server->send_header( )...\class-wp-rest-server.php:359
120.309711048232header ( )...\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.0001401504{main}( )...\index.php:0
20.0001401784require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
30.24179229472wp( )...\wp-blog-header.php:16
40.24179229496WP->main( )...\functions.php:1334
50.24189229496WP->parse_request( )...\class-wp.php:780
60.24239256184do_action_ref_array( )...\class-wp.php:399
70.24239256184WP_Hook->do_action( )...\plugin.php:565
80.24239256184WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.24239257200rest_api_loaded( )...\class-wp-hook.php:308
100.304111048072WP_REST_Server->serve_request( )...\rest-api.php:410
110.365711270856WP_REST_Server->send_headers( )...\class-wp-rest-server.php:475
120.365711270856WP_REST_Server->send_header( )...\class-wp-rest-server.php:1774
130.365711271432header ( )...\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.0001401504{main}( )...\index.php:0
20.0001401784require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
30.24179229472wp( )...\wp-blog-header.php:16
40.24179229496WP->main( )...\functions.php:1334
50.24189229496WP->parse_request( )...\class-wp.php:780
60.24239256184do_action_ref_array( )...\class-wp.php:399
70.24239256184WP_Hook->do_action( )...\plugin.php:565
80.24239256184WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.24239257200rest_api_loaded( )...\class-wp-hook.php:308
100.304111048072WP_REST_Server->serve_request( )...\rest-api.php:410
110.365711270856WP_REST_Server->send_headers( )...\class-wp-rest-server.php:475
120.367111270856WP_REST_Server->send_header( )...\class-wp-rest-server.php:1774
130.367111271176header ( )...\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}]}}