( ! ) 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 | ||||
# | Time | Memory | Function | Location |
1 | 0.0001 | 403304 | {main}( ) | ...\index.php:0 |
2 | 0.0001 | 403584 | require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' ) | ...\index.php:17 |
3 | 0.2242 | 9232888 | wp( ) | ...\wp-blog-header.php:16 |
4 | 0.2242 | 9232912 | WP->main( ) | ...\functions.php:1334 |
5 | 0.2242 | 9232912 | WP->parse_request( ) | ...\class-wp.php:780 |
6 | 0.2248 | 9259600 | do_action_ref_array( ) | ...\class-wp.php:399 |
7 | 0.2248 | 9259600 | WP_Hook->do_action( ) | ...\plugin.php:565 |
8 | 0.2248 | 9259600 | WP_Hook->apply_filters( ) | ...\class-wp-hook.php:332 |
9 | 0.2248 | 9260616 | rest_api_loaded( ) | ...\class-wp-hook.php:308 |
10 | 0.2248 | 9260648 | rest_get_server( ) | ...\rest-api.php:403 |
11 | 0.2248 | 9263584 | do_action( ) | ...\rest-api.php:577 |
12 | 0.2248 | 9263960 | WP_Hook->do_action( ) | ...\plugin.php:517 |
13 | 0.2248 | 9263960 | WP_Hook->apply_filters( ) | ...\class-wp-hook.php:332 |
14 | 0.2257 | 9303160 | Jetpack_Core_Json_Api_Endpoints::register_endpoints( ) | ...\class-wp-hook.php:308 |
15 | 0.2260 | 9311152 | Jetpack::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 | ||||
# | Time | Memory | Function | Location |
1 | 0.0001 | 403304 | {main}( ) | ...\index.php:0 |
2 | 0.0001 | 403584 | require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' ) | ...\index.php:17 |
3 | 0.2242 | 9232888 | wp( ) | ...\wp-blog-header.php:16 |
4 | 0.2242 | 9232912 | WP->main( ) | ...\functions.php:1334 |
5 | 0.2242 | 9232912 | WP->parse_request( ) | ...\class-wp.php:780 |
6 | 0.2248 | 9259600 | do_action_ref_array( ) | ...\class-wp.php:399 |
7 | 0.2248 | 9259600 | WP_Hook->do_action( ) | ...\plugin.php:565 |
8 | 0.2248 | 9259600 | WP_Hook->apply_filters( ) | ...\class-wp-hook.php:332 |
9 | 0.2248 | 9260616 | rest_api_loaded( ) | ...\class-wp-hook.php:308 |
10 | 0.2848 | 11051488 | WP_REST_Server->serve_request( ) | ...\rest-api.php:410 |
11 | 0.2849 | 11051144 | WP_REST_Server->send_header( ) | ...\class-wp-rest-server.php:310 |
12 | 0.2849 | 11051472 | header ( ) | ...\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 | ||||
# | Time | Memory | Function | Location |
1 | 0.0001 | 403304 | {main}( ) | ...\index.php:0 |
2 | 0.0001 | 403584 | require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' ) | ...\index.php:17 |
3 | 0.2242 | 9232888 | wp( ) | ...\wp-blog-header.php:16 |
4 | 0.2242 | 9232912 | WP->main( ) | ...\functions.php:1334 |
5 | 0.2242 | 9232912 | WP->parse_request( ) | ...\class-wp.php:780 |
6 | 0.2248 | 9259600 | do_action_ref_array( ) | ...\class-wp.php:399 |
7 | 0.2248 | 9259600 | WP_Hook->do_action( ) | ...\plugin.php:565 |
8 | 0.2248 | 9259600 | WP_Hook->apply_filters( ) | ...\class-wp-hook.php:332 |
9 | 0.2248 | 9260616 | rest_api_loaded( ) | ...\class-wp-hook.php:308 |
10 | 0.2848 | 11051488 | WP_REST_Server->serve_request( ) | ...\rest-api.php:410 |
11 | 0.2863 | 11051088 | WP_REST_Server->send_header( ) | ...\class-wp-rest-server.php:311 |
12 | 0.2863 | 11051408 | header ( ) | ...\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 | ||||
# | Time | Memory | Function | Location |
1 | 0.0001 | 403304 | {main}( ) | ...\index.php:0 |
2 | 0.0001 | 403584 | require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' ) | ...\index.php:17 |
3 | 0.2242 | 9232888 | wp( ) | ...\wp-blog-header.php:16 |
4 | 0.2242 | 9232912 | WP->main( ) | ...\functions.php:1334 |
5 | 0.2242 | 9232912 | WP->parse_request( ) | ...\class-wp.php:780 |
6 | 0.2248 | 9259600 | do_action_ref_array( ) | ...\class-wp.php:399 |
7 | 0.2248 | 9259600 | WP_Hook->do_action( ) | ...\plugin.php:565 |
8 | 0.2248 | 9259600 | WP_Hook->apply_filters( ) | ...\class-wp-hook.php:332 |
9 | 0.2248 | 9260616 | rest_api_loaded( ) | ...\class-wp-hook.php:308 |
10 | 0.2848 | 11051488 | WP_REST_Server->serve_request( ) | ...\rest-api.php:410 |
11 | 0.2876 | 11051280 | WP_REST_Server->send_header( ) | ...\class-wp-rest-server.php:315 |
12 | 0.2876 | 11051648 | header ( ) | ...\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 | ||||
# | Time | Memory | Function | Location |
1 | 0.0001 | 403304 | {main}( ) | ...\index.php:0 |
2 | 0.0001 | 403584 | require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' ) | ...\index.php:17 |
3 | 0.2242 | 9232888 | wp( ) | ...\wp-blog-header.php:16 |
4 | 0.2242 | 9232912 | WP->main( ) | ...\functions.php:1334 |
5 | 0.2242 | 9232912 | WP->parse_request( ) | ...\class-wp.php:780 |
6 | 0.2248 | 9259600 | do_action_ref_array( ) | ...\class-wp.php:399 |
7 | 0.2248 | 9259600 | WP_Hook->do_action( ) | ...\plugin.php:565 |
8 | 0.2248 | 9259600 | WP_Hook->apply_filters( ) | ...\class-wp-hook.php:332 |
9 | 0.2248 | 9260616 | rest_api_loaded( ) | ...\class-wp-hook.php:308 |
10 | 0.2848 | 11051488 | WP_REST_Server->serve_request( ) | ...\rest-api.php:410 |
11 | 0.2885 | 11051168 | WP_REST_Server->send_header( ) | ...\class-wp-rest-server.php:323 |
12 | 0.2885 | 11051488 | header ( ) | ...\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 | ||||
# | Time | Memory | Function | Location |
1 | 0.0001 | 403304 | {main}( ) | ...\index.php:0 |
2 | 0.0001 | 403584 | require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' ) | ...\index.php:17 |
3 | 0.2242 | 9232888 | wp( ) | ...\wp-blog-header.php:16 |
4 | 0.2242 | 9232912 | WP->main( ) | ...\functions.php:1334 |
5 | 0.2242 | 9232912 | WP->parse_request( ) | ...\class-wp.php:780 |
6 | 0.2248 | 9259600 | do_action_ref_array( ) | ...\class-wp.php:399 |
7 | 0.2248 | 9259600 | WP_Hook->do_action( ) | ...\plugin.php:565 |
8 | 0.2248 | 9259600 | WP_Hook->apply_filters( ) | ...\class-wp-hook.php:332 |
9 | 0.2248 | 9260616 | rest_api_loaded( ) | ...\class-wp-hook.php:308 |
10 | 0.2848 | 11051488 | WP_REST_Server->serve_request( ) | ...\rest-api.php:410 |
11 | 0.2893 | 11051232 | WP_REST_Server->send_header( ) | ...\class-wp-rest-server.php:335 |
12 | 0.2894 | 11051600 | header ( ) | ...\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 | ||||
# | Time | Memory | Function | Location |
1 | 0.0001 | 403304 | {main}( ) | ...\index.php:0 |
2 | 0.0001 | 403584 | require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' ) | ...\index.php:17 |
3 | 0.2242 | 9232888 | wp( ) | ...\wp-blog-header.php:16 |
4 | 0.2242 | 9232912 | WP->main( ) | ...\functions.php:1334 |
5 | 0.2242 | 9232912 | WP->parse_request( ) | ...\class-wp.php:780 |
6 | 0.2248 | 9259600 | do_action_ref_array( ) | ...\class-wp.php:399 |
7 | 0.2248 | 9259600 | WP_Hook->do_action( ) | ...\plugin.php:565 |
8 | 0.2248 | 9259600 | WP_Hook->apply_filters( ) | ...\class-wp-hook.php:332 |
9 | 0.2248 | 9260616 | rest_api_loaded( ) | ...\class-wp-hook.php:308 |
10 | 0.2848 | 11051488 | WP_REST_Server->serve_request( ) | ...\rest-api.php:410 |
11 | 0.2901 | 11051280 | WP_REST_Server->send_header( ) | ...\class-wp-rest-server.php:359 |
12 | 0.2901 | 11051648 | header ( ) | ...\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 | ||||
# | Time | Memory | Function | Location |
1 | 0.0001 | 403304 | {main}( ) | ...\index.php:0 |
2 | 0.0001 | 403584 | require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' ) | ...\index.php:17 |
3 | 0.2242 | 9232888 | wp( ) | ...\wp-blog-header.php:16 |
4 | 0.2242 | 9232912 | WP->main( ) | ...\functions.php:1334 |
5 | 0.2242 | 9232912 | WP->parse_request( ) | ...\class-wp.php:780 |
6 | 0.2248 | 9259600 | do_action_ref_array( ) | ...\class-wp.php:399 |
7 | 0.2248 | 9259600 | WP_Hook->do_action( ) | ...\plugin.php:565 |
8 | 0.2248 | 9259600 | WP_Hook->apply_filters( ) | ...\class-wp-hook.php:332 |
9 | 0.2248 | 9260616 | rest_api_loaded( ) | ...\class-wp-hook.php:308 |
10 | 0.2848 | 11051488 | WP_REST_Server->serve_request( ) | ...\rest-api.php:410 |
11 | 0.3377 | 11269312 | WP_REST_Server->send_headers( ) | ...\class-wp-rest-server.php:475 |
12 | 0.3377 | 11269312 | WP_REST_Server->send_header( ) | ...\class-wp-rest-server.php:1774 |
13 | 0.3377 | 11269856 | header ( ) | ...\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 | ||||
# | Time | Memory | Function | Location |
1 | 0.0001 | 403304 | {main}( ) | ...\index.php:0 |
2 | 0.0001 | 403584 | require( 'C:\wamp64_2\www\docbase\wp-blog-header.php' ) | ...\index.php:17 |
3 | 0.2242 | 9232888 | wp( ) | ...\wp-blog-header.php:16 |
4 | 0.2242 | 9232912 | WP->main( ) | ...\functions.php:1334 |
5 | 0.2242 | 9232912 | WP->parse_request( ) | ...\class-wp.php:780 |
6 | 0.2248 | 9259600 | do_action_ref_array( ) | ...\class-wp.php:399 |
7 | 0.2248 | 9259600 | WP_Hook->do_action( ) | ...\plugin.php:565 |
8 | 0.2248 | 9259600 | WP_Hook->apply_filters( ) | ...\class-wp-hook.php:332 |
9 | 0.2248 | 9260616 | rest_api_loaded( ) | ...\class-wp-hook.php:308 |
10 | 0.2848 | 11051488 | WP_REST_Server->serve_request( ) | ...\rest-api.php:410 |
11 | 0.3377 | 11269312 | WP_REST_Server->send_headers( ) | ...\class-wp-rest-server.php:475 |
12 | 0.3387 | 11269312 | WP_REST_Server->send_header( ) | ...\class-wp-rest-server.php:1774 |
13 | 0.3387 | 11269632 | header ( ) | ...\class-wp-rest-server.php:1762 |
Request Endpoint: https:\/\/sandbox.interswitchng.com\/api\/v2\/quickteller\/vouchers\/create <\/code><\/p><\/blockquote>\n\n\n\n
<\/p>\n\n\n\n
Request Body Description<\/h4>\n\n\n\n
Field#<\/th> Field name<\/th> Data type<\/th> Max length<\/th> Required<\/th> Description<\/th><\/tr><\/thead> 1<\/td> paymentCode<\/td> string<\/td> 5<\/td> False <\/td> This is the payment code<\/td><\/tr> 2<\/td> CustomerId<\/td> string<\/td> MAX<\/td> True<\/td> This is the id of the customer who is trying to create the voucher<\/td><\/tr> 3<\/td> Amount<\/td> Long<\/td>
<\/td>True<\/td> This is the amount of voucher that needs to be created<\/td><\/tr> 4<\/td> Type<\/td> string<\/td> 10<\/td> True<\/td> This is the type of voucher been created; gift | recharge <\/td><\/tr> 5<\/td> ExpiryDate<\/td> datetime<\/td>
<\/td>True<\/td> This is the expiry date of the voucher<\/td><\/tr> 6<\/td> StartDate<\/td> dateTime<\/td>
<\/td>True<\/td> This is the start date of the voucher<\/td><\/tr> 7<\/td> Redemption.Quantity<\/td> int<\/td>
<\/td>False<\/td> This specifies the total number of time a user can redeem the voucher<\/td><\/tr> 8<\/td> CodeConfig.allowedChar<\/td> string<\/td> 50<\/td> False<\/td> This specifies the length and pattern of the voucher<\/td><\/tr><\/tbody><\/table>\n\n\n\n Request Header<\/strong><\/p>\n\n\n\n
{
\"terminalId\" :\" 3DMO0001 \",
\"Content-Type\":\"application\/json\",
\"authorization\":\"InterswitchAuth SUtJQUYzRDNGMkQyMEY1MTM2REVGNUExMjUwMzZDN0U0QjgzMzgwQjBGMjA=\",
\"nonce\":\"a42a92fa5718bf480684cb75c3d25fb1\",
\"timeStamp\":\"1588858522\",
\"signature\":\"5+NUy30sMxQM3VzNIS\/CPTkjixo=\",
\"signatureMethod\":\"SHA1\"
} <\/code><\/p><\/blockquote>\n\n\n\nRequest<\/strong> Body<\/strong><\/p>\n\n\n\n
{
\u00a0\u00a0\u00a0\u00a0\"customerId\":\u00a0\"081242267646\",
\u00a0\u00a0\u00a0\u00a0\"amount\":\u00a0\"5000\",
\u00a0\u00a0\u00a0\u00a0\"type\":\u00a0\"recharge\",
\u00a0\u00a0\u00a0\u00a0\"startDate\":\u00a0\"2021-01-22\",
\u00a0\u00a0\u00a0\u00a0\"expiryDate\":\u00a0\"2023-11-29\"
} <\/code><\/p><\/blockquote>\n\n\n\nSample Response (Success)<\/strong><\/p>\n\n\n\n
{<\/code><\/p>
\"TransactionRef\": \"PBL|Web|3PBL0001|VOS|261119122709|3BYAHU7EB3\",
\"RechargePIN\": \"u865tO9ycr\",
\"ApprovedAmount\": \"5000\",
\"MiscData\": \"u865tO9ycr\",
\"ResponseCode\": \"90000\",
\"ResponseDescription\": \"Success\",
\"ResponseCodeGrouping\": \"SUCCESSFUL\" <\/code><\/p>
}<\/code><\/p><\/blockquote>\n\n\n\n
Sample Response (Failed)<\/strong><\/p>\n\n\n\n
{
\"errors\": [
{
\"code\": \"90009\",
\"message\": \"Transaction in Progress\",
\"responseCodeGrouping\": \"PENDING\"
}
],
\"error\": {
\"code\": \"90009\",
\"message\": \"Transaction in Progress\",
\"responseCodeGrouping\": \"PENDING\"
}
} <\/code><\/p><\/blockquote>\n\n\n\nResponse Codes<\/h5>\n\n\n\n
Response Code<\/th> Response Message<\/th><\/tr><\/thead> VS005<\/td> TYPE_CANNOT_BE_EMPTY<\/td><\/tr> VS007<\/td> UNRECOGNISED_TYPE<\/td><\/tr> VS008<\/td> VOUCHER_TYPE_NOT ALLOWED<\/td><\/tr> VS009<\/td> INVALID_START_DATE<\/td><\/tr> VS010<\/td> BAD_START_DATE_FORMAT<\/td><\/tr> VS011<\/td> BAD_EXPIRY_DATE_FORMAT<\/td><\/tr> VS012<\/td> GIFT_OBJECT_NOT_SPECIFIED<\/td><\/tr> VS013<\/td> DISCOUNT_OBJECT_NOT_SPECIFIED<\/td><\/tr> VS014<\/td> INVALID_GIFT_BALANCE<\/td><\/tr> VS015<\/td> INVALID_LENGTH<\/td><\/tr> VS016<\/td> INVALID_EXPIRY_DATE<\/td><\/tr> VS017<\/td> INVALID_REDEEM_QUANTITY<\/td><\/tr> VS019<\/td> INVALID_CODE_CONFIG_LENGTH<\/td><\/tr> VS021<\/td> NOT_AUTHORISED_TO_REDEEM_VOUCHER<\/td><\/tr><\/tbody><\/table>\n","protected":false},"author":169,"featured_media":0,"parent":3668,"menu_order":0,"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\/3671"}],"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=3671"}],"version-history":[{"count":7,"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/docs\/3671\/revisions"}],"predecessor-version":[{"id":3841,"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/docs\/3671\/revisions\/3841"}],"up":[{"embeddable":true,"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/docs\/3668"}],"next":[{"title":"Redeem Voucher","link":"https:\/\/sandbox.interswitchng.com\/docbase\/docs\/quickteller-sva\/epins\/redeem-voucher\/","href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/docs\/3674"}],"wp:attachment":[{"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/media?parent=3671"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/doc_tag?post=3671"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}