( ! ) 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.0002401504{main}( )...\index.php:0
20.0002401784require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
30.23839229728wp( )...\wp-blog-header.php:16
40.23839229752WP->main( )...\functions.php:1334
50.23839229752WP->parse_request( )...\class-wp.php:780
60.23889256440do_action_ref_array( )...\class-wp.php:399
70.23889256440WP_Hook->do_action( )...\plugin.php:565
80.23889256440WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.23889257456rest_api_loaded( )...\class-wp-hook.php:308
100.23889257488rest_get_server( )...\rest-api.php:403
110.23899260424do_action( )...\rest-api.php:577
120.23899260800WP_Hook->do_action( )...\plugin.php:517
130.23899260800WP_Hook->apply_filters( )...\class-wp-hook.php:332
140.23989300000Jetpack_Core_Json_Api_Endpoints::register_endpoints( )...\class-wp-hook.php:308
150.24009307992Jetpack::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.0002401504{main}( )...\index.php:0
20.0002401784require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
30.23839229728wp( )...\wp-blog-header.php:16
40.23839229752WP->main( )...\functions.php:1334
50.23839229752WP->parse_request( )...\class-wp.php:780
60.23889256440do_action_ref_array( )...\class-wp.php:399
70.23889256440WP_Hook->do_action( )...\plugin.php:565
80.23889256440WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.23889257456rest_api_loaded( )...\class-wp-hook.php:308
100.301811048328WP_REST_Server->serve_request( )...\rest-api.php:410
110.301911047984WP_REST_Server->send_header( )...\class-wp-rest-server.php:310
120.301911048312header ( )...\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.0002401504{main}( )...\index.php:0
20.0002401784require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
30.23839229728wp( )...\wp-blog-header.php:16
40.23839229752WP->main( )...\functions.php:1334
50.23839229752WP->parse_request( )...\class-wp.php:780
60.23889256440do_action_ref_array( )...\class-wp.php:399
70.23889256440WP_Hook->do_action( )...\plugin.php:565
80.23889256440WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.23889257456rest_api_loaded( )...\class-wp-hook.php:308
100.301811048328WP_REST_Server->serve_request( )...\rest-api.php:410
110.302911047928WP_REST_Server->send_header( )...\class-wp-rest-server.php:311
120.302911048248header ( )...\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.0002401504{main}( )...\index.php:0
20.0002401784require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
30.23839229728wp( )...\wp-blog-header.php:16
40.23839229752WP->main( )...\functions.php:1334
50.23839229752WP->parse_request( )...\class-wp.php:780
60.23889256440do_action_ref_array( )...\class-wp.php:399
70.23889256440WP_Hook->do_action( )...\plugin.php:565
80.23889256440WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.23889257456rest_api_loaded( )...\class-wp-hook.php:308
100.301811048328WP_REST_Server->serve_request( )...\rest-api.php:410
110.304211048120WP_REST_Server->send_header( )...\class-wp-rest-server.php:315
120.304211048488header ( )...\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.0002401504{main}( )...\index.php:0
20.0002401784require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
30.23839229728wp( )...\wp-blog-header.php:16
40.23839229752WP->main( )...\functions.php:1334
50.23839229752WP->parse_request( )...\class-wp.php:780
60.23889256440do_action_ref_array( )...\class-wp.php:399
70.23889256440WP_Hook->do_action( )...\plugin.php:565
80.23889256440WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.23889257456rest_api_loaded( )...\class-wp-hook.php:308
100.301811048328WP_REST_Server->serve_request( )...\rest-api.php:410
110.305011048008WP_REST_Server->send_header( )...\class-wp-rest-server.php:323
120.305111048328header ( )...\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.0002401504{main}( )...\index.php:0
20.0002401784require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
30.23839229728wp( )...\wp-blog-header.php:16
40.23839229752WP->main( )...\functions.php:1334
50.23839229752WP->parse_request( )...\class-wp.php:780
60.23889256440do_action_ref_array( )...\class-wp.php:399
70.23889256440WP_Hook->do_action( )...\plugin.php:565
80.23889256440WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.23889257456rest_api_loaded( )...\class-wp-hook.php:308
100.301811048328WP_REST_Server->serve_request( )...\rest-api.php:410
110.305811048072WP_REST_Server->send_header( )...\class-wp-rest-server.php:335
120.305811048440header ( )...\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.0002401504{main}( )...\index.php:0
20.0002401784require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
30.23839229728wp( )...\wp-blog-header.php:16
40.23839229752WP->main( )...\functions.php:1334
50.23839229752WP->parse_request( )...\class-wp.php:780
60.23889256440do_action_ref_array( )...\class-wp.php:399
70.23889256440WP_Hook->do_action( )...\plugin.php:565
80.23889256440WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.23889257456rest_api_loaded( )...\class-wp-hook.php:308
100.301811048328WP_REST_Server->serve_request( )...\rest-api.php:410
110.306711048120WP_REST_Server->send_header( )...\class-wp-rest-server.php:359
120.306711048488header ( )...\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.0002401504{main}( )...\index.php:0
20.0002401784require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
30.23839229728wp( )...\wp-blog-header.php:16
40.23839229752WP->main( )...\functions.php:1334
50.23839229752WP->parse_request( )...\class-wp.php:780
60.23889256440do_action_ref_array( )...\class-wp.php:399
70.23889256440WP_Hook->do_action( )...\plugin.php:565
80.23889256440WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.23889257456rest_api_loaded( )...\class-wp-hook.php:308
100.301811048328WP_REST_Server->serve_request( )...\rest-api.php:410
110.361911256920WP_REST_Server->send_headers( )...\class-wp-rest-server.php:475
120.361911256920WP_REST_Server->send_header( )...\class-wp-rest-server.php:1774
130.361911257624header ( )...\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.0002401504{main}( )...\index.php:0
20.0002401784require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
30.23839229728wp( )...\wp-blog-header.php:16
40.23839229752WP->main( )...\functions.php:1334
50.23839229752WP->parse_request( )...\class-wp.php:780
60.23889256440do_action_ref_array( )...\class-wp.php:399
70.23889256440WP_Hook->do_action( )...\plugin.php:565
80.23889256440WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.23889257456rest_api_loaded( )...\class-wp-hook.php:308
100.301811048328WP_REST_Server->serve_request( )...\rest-api.php:410
110.361911256920WP_REST_Server->send_headers( )...\class-wp-rest-server.php:475
120.363011256920WP_REST_Server->send_header( )...\class-wp-rest-server.php:1774
130.363111257240header ( )...\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}]}}