( ! ) 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
31.23239306936wp( )...\wp-blog-header.php:16
41.23239306960WP->main( )...\functions.php:1334
51.23239306960WP->parse_request( )...\class-wp.php:780
61.23299333648do_action_ref_array( )...\class-wp.php:399
71.23299333648WP_Hook->do_action( )...\plugin.php:565
81.23299333648WP_Hook->apply_filters( )...\class-wp-hook.php:332
91.23299334664rest_api_loaded( )...\class-wp-hook.php:308
101.23299334696rest_get_server( )...\rest-api.php:403
111.23299337632do_action( )...\rest-api.php:577
121.23299338008WP_Hook->do_action( )...\plugin.php:517
131.23299338008WP_Hook->apply_filters( )...\class-wp-hook.php:332
141.23399377208Jetpack_Core_Json_Api_Endpoints::register_endpoints( )...\class-wp-hook.php:308
151.23429385200Jetpack::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
31.23239306936wp( )...\wp-blog-header.php:16
41.23239306960WP->main( )...\functions.php:1334
51.23239306960WP->parse_request( )...\class-wp.php:780
61.23299333648do_action_ref_array( )...\class-wp.php:399
71.23299333648WP_Hook->do_action( )...\plugin.php:565
81.23299333648WP_Hook->apply_filters( )...\class-wp-hook.php:332
91.23299334664rest_api_loaded( )...\class-wp-hook.php:308
101.293511125536WP_REST_Server->serve_request( )...\rest-api.php:410
111.293711125192WP_REST_Server->send_header( )...\class-wp-rest-server.php:310
121.293711125520header ( )...\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
31.23239306936wp( )...\wp-blog-header.php:16
41.23239306960WP->main( )...\functions.php:1334
51.23239306960WP->parse_request( )...\class-wp.php:780
61.23299333648do_action_ref_array( )...\class-wp.php:399
71.23299333648WP_Hook->do_action( )...\plugin.php:565
81.23299333648WP_Hook->apply_filters( )...\class-wp-hook.php:332
91.23299334664rest_api_loaded( )...\class-wp-hook.php:308
101.293511125536WP_REST_Server->serve_request( )...\rest-api.php:410
111.294811125136WP_REST_Server->send_header( )...\class-wp-rest-server.php:311
121.294911125456header ( )...\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
31.23239306936wp( )...\wp-blog-header.php:16
41.23239306960WP->main( )...\functions.php:1334
51.23239306960WP->parse_request( )...\class-wp.php:780
61.23299333648do_action_ref_array( )...\class-wp.php:399
71.23299333648WP_Hook->do_action( )...\plugin.php:565
81.23299333648WP_Hook->apply_filters( )...\class-wp-hook.php:332
91.23299334664rest_api_loaded( )...\class-wp-hook.php:308
101.293511125536WP_REST_Server->serve_request( )...\rest-api.php:410
111.296111125328WP_REST_Server->send_header( )...\class-wp-rest-server.php:315
121.296111125696header ( )...\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
31.23239306936wp( )...\wp-blog-header.php:16
41.23239306960WP->main( )...\functions.php:1334
51.23239306960WP->parse_request( )...\class-wp.php:780
61.23299333648do_action_ref_array( )...\class-wp.php:399
71.23299333648WP_Hook->do_action( )...\plugin.php:565
81.23299333648WP_Hook->apply_filters( )...\class-wp-hook.php:332
91.23299334664rest_api_loaded( )...\class-wp-hook.php:308
101.293511125536WP_REST_Server->serve_request( )...\rest-api.php:410
111.296911125216WP_REST_Server->send_header( )...\class-wp-rest-server.php:323
121.296911125536header ( )...\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
31.23239306936wp( )...\wp-blog-header.php:16
41.23239306960WP->main( )...\functions.php:1334
51.23239306960WP->parse_request( )...\class-wp.php:780
61.23299333648do_action_ref_array( )...\class-wp.php:399
71.23299333648WP_Hook->do_action( )...\plugin.php:565
81.23299333648WP_Hook->apply_filters( )...\class-wp-hook.php:332
91.23299334664rest_api_loaded( )...\class-wp-hook.php:308
101.293511125536WP_REST_Server->serve_request( )...\rest-api.php:410
111.297711125280WP_REST_Server->send_header( )...\class-wp-rest-server.php:335
121.297711125648header ( )...\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
31.23239306936wp( )...\wp-blog-header.php:16
41.23239306960WP->main( )...\functions.php:1334
51.23239306960WP->parse_request( )...\class-wp.php:780
61.23299333648do_action_ref_array( )...\class-wp.php:399
71.23299333648WP_Hook->do_action( )...\plugin.php:565
81.23299333648WP_Hook->apply_filters( )...\class-wp-hook.php:332
91.23299334664rest_api_loaded( )...\class-wp-hook.php:308
101.293511125536WP_REST_Server->serve_request( )...\rest-api.php:410
111.298511125328WP_REST_Server->send_header( )...\class-wp-rest-server.php:359
121.298511125696header ( )...\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
31.23239306936wp( )...\wp-blog-header.php:16
41.23239306960WP->main( )...\functions.php:1334
51.23239306960WP->parse_request( )...\class-wp.php:780
61.23299333648do_action_ref_array( )...\class-wp.php:399
71.23299333648WP_Hook->do_action( )...\plugin.php:565
81.23299333648WP_Hook->apply_filters( )...\class-wp-hook.php:332
91.23299334664rest_api_loaded( )...\class-wp-hook.php:308
101.293511125536WP_REST_Server->serve_request( )...\rest-api.php:410
111.341111351576WP_REST_Server->send_headers( )...\class-wp-rest-server.php:475
121.341111351576WP_REST_Server->send_header( )...\class-wp-rest-server.php:1774
131.341211352280header ( )...\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
31.23239306936wp( )...\wp-blog-header.php:16
41.23239306960WP->main( )...\functions.php:1334
51.23239306960WP->parse_request( )...\class-wp.php:780
61.23299333648do_action_ref_array( )...\class-wp.php:399
71.23299333648WP_Hook->do_action( )...\plugin.php:565
81.23299333648WP_Hook->apply_filters( )...\class-wp-hook.php:332
91.23299334664rest_api_loaded( )...\class-wp-hook.php:308
101.293511125536WP_REST_Server->serve_request( )...\rest-api.php:410
111.341111351576WP_REST_Server->send_headers( )...\class-wp-rest-server.php:475
121.342211351576WP_REST_Server->send_header( )...\class-wp-rest-server.php:1774
131.342211351896header ( )...\class-wp-rest-server.php:1762
{"id":3491,"date":"2020-12-14T08:57:10","date_gmt":"2020-12-14T08:57:10","guid":{"rendered":"http:\/\/sandbox.interswitchng.com\/docbase\/docs\/interswitch-payment-gateway\/basic-purchase-hard-tokensms-otp-required\/authorize-transaction-via-otp-to-complete-payment\/"},"modified":"2020-12-14T09:04:21","modified_gmt":"2020-12-14T09:04:21","slug":"authorize-transaction-via-otp-to-complete-payment","status":"publish","type":"docs","link":"https:\/\/sandbox.interswitchng.com\/docbase\/docs\/interswitch-payment-gateway\/basic-purchase-hard-tokensms-otp-required\/authorize-transaction-via-otp-to-complete-payment\/","title":{"rendered":"Authorize Transaction (via OTP) to Complete payment"},"content":{"rendered":"\n

Authorize OTP to complete payment<\/h3>\n\n\n\n

To authorize transaction (the<\/strong> transactions that returns T0<\/strong>) with OTP use this end point<\/p>\n\n\n\n

POST \/api\/v3\/purchases\/otps\/auths<\/pre>\n\n\n\n
Sample Request<\/strong><\/h5>\n\n\n\n

To make authorize transaction with otp, set up your authorize otp request like this.<\/p>\n\n\n\n

{\n\t\"authData\":\"Lisy0gf1qwSgAOR4xNS5jkiLFSh0C6dYqyzQhxopAVHaG0DqTaB8yHYGPfYBAg2ZShyGp2YJRzLsxpquv\n RuUZe6IO7hV+DDG1fsfx6bzLL7i6c\/UFcw\/T+QrsNOUgLjSqqlRNkMFmn1XN3CT0PtYEMwExE38cFHjZN8dX2xZOKhwFJ9CJ\n Os2VXeXCvfExxyZ5k3q+8dSxyHjYKrP3qfrjxhw7NFgEIvuo2xDlUTP6DLe8C\/Z7QrBO3ggF7fo7Uz8t\/vTcY7HvWmfX2Ufi\n T7T5rzbOw24ahPZ8\/tQg1dvpsiO81Qaw\/lS+8P+GigkNO5+GeTpRjo+CO+n656zrwU8MQ==\",                         \/\/ Authentication Data.\n\t\"paymentId\":\"66599\",                                                                           \/\/ Payment Identifier.\n\t\"otp\":\"742591\"                                                                                 \/\/ One time password.\n}\n<\/pre>\n\n\n\n
Sample Response (success)<\/strong><\/h5>\n\n\n\n

After transaction has been authorized with otp, the expected successful payment response is similar to this.<\/p>\n\n\n\n

{\n  \"transactionIdentifier\": \"FBN|WEB|VNA|23-05-2016|66593|177266\",   \/\/ Transaction unique identifier.\n  \"token\": \"5123452812351086018\",                                   \/\/ Token for future payment.                  \n  \"tokenExpiryDate\": \"2004\",                                        \/\/ Card or Token expiry date in YYMM format.\n  \"panLast4Digits\": \"7499\",                                         \/\/ Card last four digits.\n  \"amount\": \"200.00\",                                               \/\/ Amount in Naira.\n  \"transactionRef\": \"ESBDEV10002\",                                  \/\/ A unique transaction reference number.\n  \"message\": \"Approved by Financial Institution\"                    \/\/ Success response message.\n}\n<\/pre>\n\n\n\n
Sample Response (failure)<\/strong><\/h5>\n\n\n\n

After transaction has been authorized with otp, the expected failure response is similar to this if any.<\/p>\n\n\n\n

{\n  \"errors\": [\n    {\n      \"code\": \"Z5\",                                     \/\/ Error code.\n      \"message\": \"PAYMENT_ALREADY_PROCESSED\"            \/\/ Error message.\n    }\n  ],\n  \"paymentId\": \"66599\"                                  \/\/ Payment Identifier.\n}\n<\/pre>\n","protected":false},"author":169,"featured_media":0,"parent":2434,"menu_order":3,"comment_status":"open","ping_status":"closed","template":"","meta":{"spay_email":""},"doc_tag":[],"_links":{"self":[{"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/docs\/3491"}],"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=3491"}],"version-history":[{"count":2,"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/docs\/3491\/revisions"}],"predecessor-version":[{"id":3495,"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/docs\/3491\/revisions\/3495"}],"up":[{"embeddable":true,"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/docs\/2434"}],"prev":[{"title":"Response for Payment with Card (Requires OTP)","link":"https:\/\/sandbox.interswitchng.com\/docbase\/docs\/interswitch-payment-gateway\/basic-purchase-hard-tokensms-otp-required\/response-for-payment-with-card-requires-otp\/","href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/docs\/1326"}],"wp:attachment":[{"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/media?parent=3491"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/doc_tag?post=3491"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}