( ! ) 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.23519229728wp( )...\wp-blog-header.php:16
40.23519229752WP->main( )...\functions.php:1334
50.23519229752WP->parse_request( )...\class-wp.php:780
60.23579256440do_action_ref_array( )...\class-wp.php:399
70.23579256440WP_Hook->do_action( )...\plugin.php:565
80.23579256440WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.23579257456rest_api_loaded( )...\class-wp-hook.php:308
100.23579257488rest_get_server( )...\rest-api.php:403
110.23579260424do_action( )...\rest-api.php:577
120.23579260800WP_Hook->do_action( )...\plugin.php:517
130.23579260800WP_Hook->apply_filters( )...\class-wp-hook.php:332
140.23669300000Jetpack_Core_Json_Api_Endpoints::register_endpoints( )...\class-wp-hook.php:308
150.23689307992Jetpack::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.23519229728wp( )...\wp-blog-header.php:16
40.23519229752WP->main( )...\functions.php:1334
50.23519229752WP->parse_request( )...\class-wp.php:780
60.23579256440do_action_ref_array( )...\class-wp.php:399
70.23579256440WP_Hook->do_action( )...\plugin.php:565
80.23579256440WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.23579257456rest_api_loaded( )...\class-wp-hook.php:308
100.300111048328WP_REST_Server->serve_request( )...\rest-api.php:410
110.300311047984WP_REST_Server->send_header( )...\class-wp-rest-server.php:310
120.300311048312header ( )...\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.23519229728wp( )...\wp-blog-header.php:16
40.23519229752WP->main( )...\functions.php:1334
50.23519229752WP->parse_request( )...\class-wp.php:780
60.23579256440do_action_ref_array( )...\class-wp.php:399
70.23579256440WP_Hook->do_action( )...\plugin.php:565
80.23579256440WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.23579257456rest_api_loaded( )...\class-wp-hook.php:308
100.300111048328WP_REST_Server->serve_request( )...\rest-api.php:410
110.301711047928WP_REST_Server->send_header( )...\class-wp-rest-server.php:311
120.301711048248header ( )...\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.23519229728wp( )...\wp-blog-header.php:16
40.23519229752WP->main( )...\functions.php:1334
50.23519229752WP->parse_request( )...\class-wp.php:780
60.23579256440do_action_ref_array( )...\class-wp.php:399
70.23579256440WP_Hook->do_action( )...\plugin.php:565
80.23579256440WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.23579257456rest_api_loaded( )...\class-wp-hook.php:308
100.300111048328WP_REST_Server->serve_request( )...\rest-api.php:410
110.303311048120WP_REST_Server->send_header( )...\class-wp-rest-server.php:315
120.303311048488header ( )...\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.23519229728wp( )...\wp-blog-header.php:16
40.23519229752WP->main( )...\functions.php:1334
50.23519229752WP->parse_request( )...\class-wp.php:780
60.23579256440do_action_ref_array( )...\class-wp.php:399
70.23579256440WP_Hook->do_action( )...\plugin.php:565
80.23579256440WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.23579257456rest_api_loaded( )...\class-wp-hook.php:308
100.300111048328WP_REST_Server->serve_request( )...\rest-api.php:410
110.304511048008WP_REST_Server->send_header( )...\class-wp-rest-server.php:323
120.304511048328header ( )...\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.23519229728wp( )...\wp-blog-header.php:16
40.23519229752WP->main( )...\functions.php:1334
50.23519229752WP->parse_request( )...\class-wp.php:780
60.23579256440do_action_ref_array( )...\class-wp.php:399
70.23579256440WP_Hook->do_action( )...\plugin.php:565
80.23579256440WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.23579257456rest_api_loaded( )...\class-wp-hook.php:308
100.300111048328WP_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.0001401504{main}( )...\index.php:0
20.0001401784require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' )...\index.php:17
30.23519229728wp( )...\wp-blog-header.php:16
40.23519229752WP->main( )...\functions.php:1334
50.23519229752WP->parse_request( )...\class-wp.php:780
60.23579256440do_action_ref_array( )...\class-wp.php:399
70.23579256440WP_Hook->do_action( )...\plugin.php:565
80.23579256440WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.23579257456rest_api_loaded( )...\class-wp-hook.php:308
100.300111048328WP_REST_Server->serve_request( )...\rest-api.php:410
110.307011048120WP_REST_Server->send_header( )...\class-wp-rest-server.php:359
120.307011048488header ( )...\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.23519229728wp( )...\wp-blog-header.php:16
40.23519229752WP->main( )...\functions.php:1334
50.23519229752WP->parse_request( )...\class-wp.php:780
60.23579256440do_action_ref_array( )...\class-wp.php:399
70.23579256440WP_Hook->do_action( )...\plugin.php:565
80.23579256440WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.23579257456rest_api_loaded( )...\class-wp-hook.php:308
100.300111048328WP_REST_Server->serve_request( )...\rest-api.php:410
110.364011272376WP_REST_Server->send_headers( )...\class-wp-rest-server.php:475
120.364111272376WP_REST_Server->send_header( )...\class-wp-rest-server.php:1774
130.364111272920header ( )...\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.23519229728wp( )...\wp-blog-header.php:16
40.23519229752WP->main( )...\functions.php:1334
50.23519229752WP->parse_request( )...\class-wp.php:780
60.23579256440do_action_ref_array( )...\class-wp.php:399
70.23579256440WP_Hook->do_action( )...\plugin.php:565
80.23579256440WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.23579257456rest_api_loaded( )...\class-wp-hook.php:308
100.300111048328WP_REST_Server->serve_request( )...\rest-api.php:410
110.364011272376WP_REST_Server->send_headers( )...\class-wp-rest-server.php:475
120.365211272376WP_REST_Server->send_header( )...\class-wp-rest-server.php:1774
130.365211272696header ( )...\class-wp-rest-server.php:1762
{"id":2978,"date":"2018-07-27T07:16:45","date_gmt":"2018-07-27T07:16:45","guid":{"rendered":"http:\/\/sandbox.interswitchng.com\/docbase\/docs\/interswitch-payment-gateway\/recurring-payments\/"},"modified":"2022-10-07T11:43:58","modified_gmt":"2022-10-07T11:43:58","slug":"recurring-payments","status":"publish","type":"docs","link":"https:\/\/sandbox.interswitchng.com\/docbase\/docs\/interswitch-payment-gateway\/recurring-payments\/","title":{"rendered":"Recurring Payments"},"content":{"rendered":"

Recurring Payments<\/h2>\n

The endpoints below provides you the ability to tokenize a card and use the returned payment token and expiry to perform purchase transactions.<\/p>\n

Please note, this service is only for Verve and Mastercard brand cards.<\/p>\n

 <\/p>\n

Tokenize Card<\/span><\/h3>\n

This function tokenizes a card.<\/p>\n

POST \/api\/v2\/purchases\/validations\/recurrents<\/pre>\n

 <\/p>\n

Request headers<\/strong><\/p>\n

Content-Type: application\/json\nAuthorization: Bearer eyJhbGciOiJSUzI1NiJ9.eyJhdWQiOlsidmF1bHQiXSwicHJvZHVjdGlvbl9wYXltZW50X2NvZGUiOiIwNDIzODcxMDE5OTUiLCJyZXF1ZXN0b3JfaWQiOiIw\nMDE4MzQzODA5MSIsInNjb3BlIjpbInByb2ZpbGUiXSwiZXhwIjoxNDUzMjM4NjY4LCJqdGkiOiIzMWYwNmJkOC04MTlhLTQ4OTMtOWM5NC1kMDhmMTgwOGY3NjgiLCJjbGllbnRfaWQiOiJ\nJS0lBNTFFNTI2MDkxNzFGNUMwMkQ2MzgzNTU2NkIwMTZBN0JEQ0EzRTc1MSIsInBheW1lbnRfY29kZSI6IjA1MTQxMzcxMTYyNDEifQ.KTwAdq55udg_CcZ7Q5hurvIwRTETm0fpWYSHBzG\nRlKA4vyMhJJn-1mvhxV79RC3VpaJc0W0hcTNEMQWmY4yrSzsyakzBzc_XrLVM8ZmBRNqalFY7IoJFCHONiGlxklujjK600aUBtKhLxwWEV6wUU_O8qZqI1ea4fJRHdAyUetsBUSqvYB1vBM\nT6luamaDOtaBDiikxy0giwP5oiOFjuBvd8a33ROaWE0DuQz7EfobfbZiXKdiEHV5c9bZmImIGwiLtJXBesPImn1eBrM5wWJ_gMLueCnBrisxXyTkLjVMBJJJy5AT8OjY1bAAn8cjwDLORO5\n-ejQxMMh15U59fWIQ\nTimestamp: 1361281946\nNonce: 634968823463411609\nSignature: 2cFwCfkgRR7mlIOlcjTQXCUYpLmtlKJkCb8RUzIX0-k=\nSignatureMethod: SHA-256\n<\/pre>\n

Request Payload<\/p>\n

{\n  \"transactionRef\": \"JB-123734357-ReccValid\",                   \n \"authData\":\"mGR04cy8g7bKhGiF+2YdPB+2+mbZYrH90mrhc5DM1g\/YpkHMbeuNWu1JpYzUpO\/zRrhalAAudhp9+mlb\/FmR+ihGxr7hk+GvrVWQRod+kuXPiooPStFHjU3tPYKiDkiiIWXhjWk92BkNkuKYWRqeo\/Va8rkAF24BS45mjxWHbpRKEUysfDCRLTqPx2rwdt2lQ03J+eKriJ0Hf9U2FY8WHjQCp6axsSqF0sHGO8OVf2KjTDeFt2KyRmEaNWxjuNpFOgW9YG2BPrKs7YuefDqHmRJYWnyn5O1c+9N9Iz9RB7AK8z0gFBZI2rH+pxx7qaxpwx\/CpTFiOWE+d9EKQliAnw==\"\n}<\/pre>\n

 <\/p>\n

Sample response (Success)<\/strong><\/p>\n

Find below a sample response.<\/p>\n

{\n    \"cardType\": \"MasterCard\",\n    \"balance\": \"100.00\",\n    \"token\": \"5123456038336710\",\n    \"tokenExpiryDate\": \"2004\",\n    \"panLast4Digits\": \"0106\",\n    \"transactionRef\": \"JB-1532675702-ReccValid\"\n}<\/pre>\n

 <\/p>\n

Purchase<\/span><\/h3>\n

This function uses a token and expiry to perform a purchase.<\/p>\n

POST \/api\/v2\/purchases\/recurrents<\/pre>\n

 <\/p>\n

Request headers<\/strong><\/p>\n

Content-Type: application\/json\nAuthorization: Bearer eyJhbGciOiJSUzI1NiJ9.eyJhdWQiOlsidmF1bHQiXSwicHJvZHVjdGlvbl9wYXltZW50X2NvZGUiOiIwNDIzODcxMDE5OTUiLCJyZXF1ZXN0b3JfaWQiOiIw\nMDE4MzQzODA5MSIsInNjb3BlIjpbInByb2ZpbGUiXSwiZXhwIjoxNDUzMjM4NjY4LCJqdGkiOiIzMWYwNmJkOC04MTlhLTQ4OTMtOWM5NC1kMDhmMTgwOGY3NjgiLCJjbGllbnRfaWQiOiJ\nJS0lBNTFFNTI2MDkxNzFGNUMwMkQ2MzgzNTU2NkIwMTZBN0JEQ0EzRTc1MSIsInBheW1lbnRfY29kZSI6IjA1MTQxMzcxMTYyNDEifQ.KTwAdq55udg_CcZ7Q5hurvIwRTETm0fpWYSHBzG\nRlKA4vyMhJJn-1mvhxV79RC3VpaJc0W0hcTNEMQWmY4yrSzsyakzBzc_XrLVM8ZmBRNqalFY7IoJFCHONiGlxklujjK600aUBtKhLxwWEV6wUU_O8qZqI1ea4fJRHdAyUetsBUSqvYB1vBM\nT6luamaDOtaBDiikxy0giwP5oiOFjuBvd8a33ROaWE0DuQz7EfobfbZiXKdiEHV5c9bZmImIGwiLtJXBesPImn1eBrM5wWJ_gMLueCnBrisxXyTkLjVMBJJJy5AT8OjY1bAAn8cjwDLORO5\n-ejQxMMh15U59fWIQ\nTimestamp: 1361281946\nNonce: 634968823463411609\nSignature: 2cFwCfkgRR7mlIOlcjTQXCUYpLmtlKJkCb8RUzIX0-k=\nSignatureMethod: SHA-256\n<\/pre>\n

Request Payload<\/p>\n

{\n    \"customerId\": \"CustID-1532675715\",\n    \"amount\": \"90\",\n    \"currency\":\"NGN\",\n    \"token\": \"5123456038336710\",\n  \"tokenExpiryDate\": \"2004\",\n    \"transactionRef\": \"JB-1532675715-ReccPurch\"\n}<\/pre>\n

 <\/p>\n

Sample response (Success)<\/strong><\/p>\n

Find below a sample response.<\/p>\n

{\n    \"transactionIdentifier\": \"HBP|API|MX1209|27-07-2018|249915|579180\",\n    \"message\": \"Approved by Financial Institution\",\n    \"amount\": \"90.00\",\n    \"transactionRef\": \"JB-1532675715-ReccPurch\"\n}<\/pre>\n

 <\/p>\n","protected":false},"author":1,"featured_media":0,"parent":861,"menu_order":9,"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\/2978"}],"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=2978"}],"version-history":[{"count":4,"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/docs\/2978\/revisions"}],"predecessor-version":[{"id":4277,"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/docs\/2978\/revisions\/4277"}],"up":[{"embeddable":true,"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/docs\/861"}],"next":[{"title":"Resend OTP","link":"https:\/\/sandbox.interswitchng.com\/docbase\/docs\/interswitch-payment-gateway\/resend-otp\/","href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/docs\/3537"}],"prev":[{"title":"Payment with Card (With Split Information)","link":"https:\/\/sandbox.interswitchng.com\/docbase\/docs\/interswitch-payment-gateway\/payment-with-card-with-split-information\/","href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/docs\/1307"}],"wp:attachment":[{"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/media?parent=2978"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/doc_tag?post=2978"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}