( ! ) 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.25249305952wp( )...\wp-blog-header.php:16
41.25259305976WP->main( )...\functions.php:1334
51.25259305976WP->parse_request( )...\class-wp.php:780
61.25319332664do_action_ref_array( )...\class-wp.php:399
71.25319332664WP_Hook->do_action( )...\plugin.php:565
81.25319332664WP_Hook->apply_filters( )...\class-wp-hook.php:332
91.25319333680rest_api_loaded( )...\class-wp-hook.php:308
101.25319333712rest_get_server( )...\rest-api.php:403
111.25319336648do_action( )...\rest-api.php:577
121.25319337024WP_Hook->do_action( )...\plugin.php:517
131.25319337024WP_Hook->apply_filters( )...\class-wp-hook.php:332
141.25419376224Jetpack_Core_Json_Api_Endpoints::register_endpoints( )...\class-wp-hook.php:308
151.25439384216Jetpack::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.25249305952wp( )...\wp-blog-header.php:16
41.25259305976WP->main( )...\functions.php:1334
51.25259305976WP->parse_request( )...\class-wp.php:780
61.25319332664do_action_ref_array( )...\class-wp.php:399
71.25319332664WP_Hook->do_action( )...\plugin.php:565
81.25319332664WP_Hook->apply_filters( )...\class-wp-hook.php:332
91.25319333680rest_api_loaded( )...\class-wp-hook.php:308
101.319511124552WP_REST_Server->serve_request( )...\rest-api.php:410
111.319611124208WP_REST_Server->send_header( )...\class-wp-rest-server.php:310
121.319611124536header ( )...\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.25249305952wp( )...\wp-blog-header.php:16
41.25259305976WP->main( )...\functions.php:1334
51.25259305976WP->parse_request( )...\class-wp.php:780
61.25319332664do_action_ref_array( )...\class-wp.php:399
71.25319332664WP_Hook->do_action( )...\plugin.php:565
81.25319332664WP_Hook->apply_filters( )...\class-wp-hook.php:332
91.25319333680rest_api_loaded( )...\class-wp-hook.php:308
101.319511124552WP_REST_Server->serve_request( )...\rest-api.php:410
111.320611124152WP_REST_Server->send_header( )...\class-wp-rest-server.php:311
121.320611124472header ( )...\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.25249305952wp( )...\wp-blog-header.php:16
41.25259305976WP->main( )...\functions.php:1334
51.25259305976WP->parse_request( )...\class-wp.php:780
61.25319332664do_action_ref_array( )...\class-wp.php:399
71.25319332664WP_Hook->do_action( )...\plugin.php:565
81.25319332664WP_Hook->apply_filters( )...\class-wp-hook.php:332
91.25319333680rest_api_loaded( )...\class-wp-hook.php:308
101.319511124552WP_REST_Server->serve_request( )...\rest-api.php:410
111.321811124344WP_REST_Server->send_header( )...\class-wp-rest-server.php:315
121.321811124712header ( )...\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.25249305952wp( )...\wp-blog-header.php:16
41.25259305976WP->main( )...\functions.php:1334
51.25259305976WP->parse_request( )...\class-wp.php:780
61.25319332664do_action_ref_array( )...\class-wp.php:399
71.25319332664WP_Hook->do_action( )...\plugin.php:565
81.25319332664WP_Hook->apply_filters( )...\class-wp-hook.php:332
91.25319333680rest_api_loaded( )...\class-wp-hook.php:308
101.319511124552WP_REST_Server->serve_request( )...\rest-api.php:410
111.322811124232WP_REST_Server->send_header( )...\class-wp-rest-server.php:323
121.322811124552header ( )...\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.25249305952wp( )...\wp-blog-header.php:16
41.25259305976WP->main( )...\functions.php:1334
51.25259305976WP->parse_request( )...\class-wp.php:780
61.25319332664do_action_ref_array( )...\class-wp.php:399
71.25319332664WP_Hook->do_action( )...\plugin.php:565
81.25319332664WP_Hook->apply_filters( )...\class-wp-hook.php:332
91.25319333680rest_api_loaded( )...\class-wp-hook.php:308
101.319511124552WP_REST_Server->serve_request( )...\rest-api.php:410
111.323511124296WP_REST_Server->send_header( )...\class-wp-rest-server.php:335
121.323511124664header ( )...\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.25249305952wp( )...\wp-blog-header.php:16
41.25259305976WP->main( )...\functions.php:1334
51.25259305976WP->parse_request( )...\class-wp.php:780
61.25319332664do_action_ref_array( )...\class-wp.php:399
71.25319332664WP_Hook->do_action( )...\plugin.php:565
81.25319332664WP_Hook->apply_filters( )...\class-wp-hook.php:332
91.25319333680rest_api_loaded( )...\class-wp-hook.php:308
101.319511124552WP_REST_Server->serve_request( )...\rest-api.php:410
111.324311124344WP_REST_Server->send_header( )...\class-wp-rest-server.php:359
121.324311124712header ( )...\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.25249305952wp( )...\wp-blog-header.php:16
41.25259305976WP->main( )...\functions.php:1334
51.25259305976WP->parse_request( )...\class-wp.php:780
61.25319332664do_action_ref_array( )...\class-wp.php:399
71.25319332664WP_Hook->do_action( )...\plugin.php:565
81.25319332664WP_Hook->apply_filters( )...\class-wp-hook.php:332
91.25319333680rest_api_loaded( )...\class-wp-hook.php:308
101.319511124552WP_REST_Server->serve_request( )...\rest-api.php:410
111.371911370312WP_REST_Server->send_headers( )...\class-wp-rest-server.php:475
121.371911370312WP_REST_Server->send_header( )...\class-wp-rest-server.php:1774
131.371911370888header ( )...\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.25249305952wp( )...\wp-blog-header.php:16
41.25259305976WP->main( )...\functions.php:1334
51.25259305976WP->parse_request( )...\class-wp.php:780
61.25319332664do_action_ref_array( )...\class-wp.php:399
71.25319332664WP_Hook->do_action( )...\plugin.php:565
81.25319332664WP_Hook->apply_filters( )...\class-wp-hook.php:332
91.25319333680rest_api_loaded( )...\class-wp-hook.php:308
101.319511124552WP_REST_Server->serve_request( )...\rest-api.php:410
111.371911370312WP_REST_Server->send_headers( )...\class-wp-rest-server.php:475
121.373211370312WP_REST_Server->send_header( )...\class-wp-rest-server.php:1774
131.373211370632header ( )...\class-wp-rest-server.php:1762
{"id":1297,"date":"2017-08-29T10:39:05","date_gmt":"2017-08-29T10:39:05","guid":{"rendered":"http:\/\/sandbox.interswitchng.com\/docbase\/docs\/interswitch-payment-gateway\/api-payment\/what-is-authdata\/"},"modified":"2020-12-14T08:04:15","modified_gmt":"2020-12-14T08:04:15","slug":"what-is-authdata","status":"publish","type":"docs","link":"https:\/\/sandbox.interswitchng.com\/docbase\/docs\/interswitch-payment-gateway\/api-payment\/what-is-authdata\/","title":{"rendered":"What is AuthData?"},"content":{"rendered":"

AuthData is a combination of your payment\u2019s sensitive data mainly: PAN, PIN, Expiry Date, and CVV2. The BouncyCastle library is required for this. Kindly download the appropriate BouncyCastle library for your platform.<\/p>\n

You will also be provided with a public key exponent<\/strong> as well as a modulus<\/strong>.<\/p>\n

Please contact\u00a0ipg@interswitchgroup.com<\/a>\u00a0for more information.<\/p>\n

String authDataVersion = \"1\";\n            String pan = \"5060990580000217499\";        \/\/ Payment Card\n            String expiryDate = \"2004\";                \/\/Card Expiry date: April (04), 2020 (20) - YYMM\n            String cvv2 = \"111\";                       \/\/ Card CVV2\n            String pin = \"1111\";                       \/\/ Card pin\n            String authData = getAuthData(authDataVersion, pan, pin, expiryDate, cvv2);\n            System.out.println(\"AuthData : \" + authData);\n\n\t\t\tpublic static String getAuthData(String version, String pan, String pin, String expiryDate, String cvv2) throws Exception {\n        \t\tString authData = \"\";\n        \t\tString authDataCipher = version + \"Z\" + pan + \"Z\" + pin + \"Z\" + expiryDate + \"Z\" + cvv2;\n        \t\t\/\/ The Modulus and Public Exponent will be supplied by Interswitch. please ask for one\n        \t\tString modulus = \"XXXXXXX\";\n        \t\tString publicExponent = \"XXXXXXX\";\n        \t\tSecurity.addProvider(new BouncyCastleProvider());\n        \t\tRSAPublicKeySpec publicKeyspec = new RSAPublicKeySpec(new BigInteger(modulus, 16), new BigInteger(publicExponent, 16));\n        \t\tKeyFactory factory = KeyFactory.getInstance(\"RSA\"); \/\/, \"JHBCI\");\n        \t\tPublicKey publicKey = factory.generatePublic(publicKeyspec);\n        \t\tCipher encryptCipher = Cipher.getInstance(\"RSA\/ECB\/PKCS1Padding\", \"BC\");\n        \t\tencryptCipher.init(Cipher.ENCRYPT_MODE, publicKey);\n        \t\tbyte[] authDataBytes = encryptCipher.doFinal(authDataCipher.getBytes(\"UTF8\"));\n        \t\tauthData = Base64.getEncoder().encodeToString(authDataBytes).replaceAll(\"\\\\r|\\\\n\", \"\");\n        \t\treturn authData;\n\t\t    }\n<\/pre>\n","protected":false},"author":1,"featured_media":0,"parent":863,"menu_order":1,"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\/1297"}],"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\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/comments?post=1297"}],"version-history":[{"count":4,"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/docs\/1297\/revisions"}],"predecessor-version":[{"id":3474,"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/docs\/1297\/revisions\/3474"}],"up":[{"embeddable":true,"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/docs\/863"}],"next":[{"title":"API & HTTP Response Codes","link":"https:\/\/sandbox.interswitchng.com\/docbase\/docs\/interswitch-payment-gateway\/api-payment\/api-http-response-codes\/","href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/docs\/1352"}],"prev":[{"title":"Payment Overview","link":"https:\/\/sandbox.interswitchng.com\/docbase\/docs\/interswitch-payment-gateway\/api-payment\/payment-overview\/","href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/docs\/1285"}],"wp:attachment":[{"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/media?parent=1297"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/doc_tag?post=1297"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}