( ! ) 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.0000402488{main}( )...\index.php:0
20.0001402768require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
30.22669230832wp( )...\wp-blog-header.php:16
40.22669230856WP->main( )...\functions.php:1334
50.22669230856WP->parse_request( )...\class-wp.php:780
60.22729257544do_action_ref_array( )...\class-wp.php:399
70.22729257544WP_Hook->do_action( )...\plugin.php:565
80.22729257544WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.22729258560rest_api_loaded( )...\class-wp-hook.php:308
100.22729258592rest_get_server( )...\rest-api.php:403
110.22729261528do_action( )...\rest-api.php:577
120.22729261904WP_Hook->do_action( )...\plugin.php:517
130.22729261904WP_Hook->apply_filters( )...\class-wp-hook.php:332
140.22829301104Jetpack_Core_Json_Api_Endpoints::register_endpoints( )...\class-wp-hook.php:308
150.22839309096Jetpack::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.0000402488{main}( )...\index.php:0
20.0001402768require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
30.22669230832wp( )...\wp-blog-header.php:16
40.22669230856WP->main( )...\functions.php:1334
50.22669230856WP->parse_request( )...\class-wp.php:780
60.22729257544do_action_ref_array( )...\class-wp.php:399
70.22729257544WP_Hook->do_action( )...\plugin.php:565
80.22729257544WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.22729258560rest_api_loaded( )...\class-wp-hook.php:308
100.288711049432WP_REST_Server->serve_request( )...\rest-api.php:410
110.288811049088WP_REST_Server->send_header( )...\class-wp-rest-server.php:310
120.288811049416header ( )...\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.0000402488{main}( )...\index.php:0
20.0001402768require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
30.22669230832wp( )...\wp-blog-header.php:16
40.22669230856WP->main( )...\functions.php:1334
50.22669230856WP->parse_request( )...\class-wp.php:780
60.22729257544do_action_ref_array( )...\class-wp.php:399
70.22729257544WP_Hook->do_action( )...\plugin.php:565
80.22729257544WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.22729258560rest_api_loaded( )...\class-wp-hook.php:308
100.288711049432WP_REST_Server->serve_request( )...\rest-api.php:410
110.289911049032WP_REST_Server->send_header( )...\class-wp-rest-server.php:311
120.289911049352header ( )...\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.0000402488{main}( )...\index.php:0
20.0001402768require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
30.22669230832wp( )...\wp-blog-header.php:16
40.22669230856WP->main( )...\functions.php:1334
50.22669230856WP->parse_request( )...\class-wp.php:780
60.22729257544do_action_ref_array( )...\class-wp.php:399
70.22729257544WP_Hook->do_action( )...\plugin.php:565
80.22729257544WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.22729258560rest_api_loaded( )...\class-wp-hook.php:308
100.288711049432WP_REST_Server->serve_request( )...\rest-api.php:410
110.291111049224WP_REST_Server->send_header( )...\class-wp-rest-server.php:315
120.291111049592header ( )...\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.0000402488{main}( )...\index.php:0
20.0001402768require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
30.22669230832wp( )...\wp-blog-header.php:16
40.22669230856WP->main( )...\functions.php:1334
50.22669230856WP->parse_request( )...\class-wp.php:780
60.22729257544do_action_ref_array( )...\class-wp.php:399
70.22729257544WP_Hook->do_action( )...\plugin.php:565
80.22729257544WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.22729258560rest_api_loaded( )...\class-wp-hook.php:308
100.288711049432WP_REST_Server->serve_request( )...\rest-api.php:410
110.292111049112WP_REST_Server->send_header( )...\class-wp-rest-server.php:323
120.292111049432header ( )...\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.0000402488{main}( )...\index.php:0
20.0001402768require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
30.22669230832wp( )...\wp-blog-header.php:16
40.22669230856WP->main( )...\functions.php:1334
50.22669230856WP->parse_request( )...\class-wp.php:780
60.22729257544do_action_ref_array( )...\class-wp.php:399
70.22729257544WP_Hook->do_action( )...\plugin.php:565
80.22729257544WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.22729258560rest_api_loaded( )...\class-wp-hook.php:308
100.288711049432WP_REST_Server->serve_request( )...\rest-api.php:410
110.293111049176WP_REST_Server->send_header( )...\class-wp-rest-server.php:335
120.293111049544header ( )...\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.0000402488{main}( )...\index.php:0
20.0001402768require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
30.22669230832wp( )...\wp-blog-header.php:16
40.22669230856WP->main( )...\functions.php:1334
50.22669230856WP->parse_request( )...\class-wp.php:780
60.22729257544do_action_ref_array( )...\class-wp.php:399
70.22729257544WP_Hook->do_action( )...\plugin.php:565
80.22729257544WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.22729258560rest_api_loaded( )...\class-wp-hook.php:308
100.288711049432WP_REST_Server->serve_request( )...\rest-api.php:410
110.293811049224WP_REST_Server->send_header( )...\class-wp-rest-server.php:359
120.293811049592header ( )...\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.0000402488{main}( )...\index.php:0
20.0001402768require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
30.22669230832wp( )...\wp-blog-header.php:16
40.22669230856WP->main( )...\functions.php:1334
50.22669230856WP->parse_request( )...\class-wp.php:780
60.22729257544do_action_ref_array( )...\class-wp.php:399
70.22729257544WP_Hook->do_action( )...\plugin.php:565
80.22729257544WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.22729258560rest_api_loaded( )...\class-wp-hook.php:308
100.288711049432WP_REST_Server->serve_request( )...\rest-api.php:410
110.336611331336WP_REST_Server->send_headers( )...\class-wp-rest-server.php:475
120.336611331336WP_REST_Server->send_header( )...\class-wp-rest-server.php:1774
130.336711331976header ( )...\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.0000402488{main}( )...\index.php:0
20.0001402768require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
30.22669230832wp( )...\wp-blog-header.php:16
40.22669230856WP->main( )...\functions.php:1334
50.22669230856WP->parse_request( )...\class-wp.php:780
60.22729257544do_action_ref_array( )...\class-wp.php:399
70.22729257544WP_Hook->do_action( )...\plugin.php:565
80.22729257544WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.22729258560rest_api_loaded( )...\class-wp-hook.php:308
100.288711049432WP_REST_Server->serve_request( )...\rest-api.php:410
110.336611331336WP_REST_Server->send_headers( )...\class-wp-rest-server.php:475
120.337711331336WP_REST_Server->send_header( )...\class-wp-rest-server.php:1774
130.337711331656header ( )...\class-wp-rest-server.php:1762
{"id":2417,"date":"2018-01-29T13:18:14","date_gmt":"2018-01-29T13:18:14","guid":{"rendered":"http:\/\/sandbox.interswitchng.com\/docbase\/docs\/interswitch-payment-gateway-mobile-inappsdk-implementation\/android\/"},"modified":"2018-09-27T05:55:17","modified_gmt":"2018-09-27T05:55:17","slug":"android","status":"publish","type":"docs","link":"https:\/\/sandbox.interswitchng.com\/docbase\/docs\/interswitch-payment-gateway-mobile-inappsdk-implementation\/android\/","title":{"rendered":"Android"},"content":{"rendered":"

Payment SDK for Android<\/h2>\n

Interswitch payment SDK allows you to accept payments from customers within your mobile application.\u00a0Please Note:\u00a0The current supported currency is naira (NGN), support for other currencies would be added later<\/em><\/strong>\u00a0The first step to using the Android SDK is to register as a merchant. This is described [here] (merchantxuat.interswitchng.com)<\/p>\n

<\/a><\/a>Download the latest SDK<\/h3>\n

Download the latest SDK from the link below<\/p>\n

https:\/\/github.com\/techquest\/isw-payment-sdk-android\/releases<\/a><\/p>\n

It consists of a library:<\/p>\n

    \n
  1. deviceprint-release-2.2.0.aar<\/em><\/li>\n<\/ol>\n

    Use Android Studio\u2019s dependency management tool (Gradle) to add the library to your project.<\/strong><\/p>\n

    <\/a><\/a>Creating a Project and Adding Library Using Android Studio<\/h3>\n
      \n
    1. Download\u00a0Android Studio 1.2.2<\/strong>\u00a0or later<\/li>\n
    2. Create a New Project<\/li>\n
    3. Put\u00a0deviceprint-release-2.2.0.aar<\/strong>\u00a0in the libs folder of the app.<\/li>\n
    4. To add the\u00a0deviceprint-release-2.2.0.aar<\/strong>\u00a0library to your project, navigate to\u00a0File -> New -> New Module -> Import .JAR\/.AAR Package<\/strong>\u00a0option in Android Studio.<\/li>\n
    5. Select the\u00a0deviceprint-release-2.2.0.aar<\/strong>\u00a0in libs folder<\/li>\n
    6. To add the jar files, edit the build.gradle file of your app and add<\/li>\n<\/ol>\n
      \n
      repositories {\r\n    maven {\r\n        url  'http:\/\/dl.bintray.com\/techquest\/maven-repo'\r\n    }\r\n}\r\ndependencies {\r\n    compile fileTree(dir: 'libs', include: ['*.jar'])\r\n    testCompile 'junit:junit:4.12'\r\n    compile 'com.android.support:appcompat-v7:25.1.0'\r\n    compile 'com.android.support:design:25.1.0'\r\n    compile 'com.interswitchng:payment-android:1.0.7'\r\n    compile(name: 'deviceprint-release-2.2.0', ext: 'aar')\r\n}<\/pre>\n<\/div>\n
        \n
      1. Finally, rebuild the project<\/li>\n<\/ol>\n

        <\/a><\/a>Using The SDK in Sandbox Mode<\/h3>\n

        During development of your app, you should use the SDK in sandbox mode to enable testing. Different Client Id and Client Secret are provided for Production and Sandbox mode. The procedure to use the SDK on sandbox mode is just as easy:<\/p>\n