( ! ) 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.22809229472wp( )...\wp-blog-header.php:16
40.22809229496WP->main( )...\functions.php:1334
50.22809229496WP->parse_request( )...\class-wp.php:780
60.22869256184do_action_ref_array( )...\class-wp.php:399
70.22869256184WP_Hook->do_action( )...\plugin.php:565
80.22869256184WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.22869257200rest_api_loaded( )...\class-wp-hook.php:308
100.22869257232rest_get_server( )...\rest-api.php:403
110.22869260168do_action( )...\rest-api.php:577
120.22869260544WP_Hook->do_action( )...\plugin.php:517
130.22869260544WP_Hook->apply_filters( )...\class-wp-hook.php:332
140.22959299744Jetpack_Core_Json_Api_Endpoints::register_endpoints( )...\class-wp-hook.php:308
150.22979307736Jetpack::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.22809229472wp( )...\wp-blog-header.php:16
40.22809229496WP->main( )...\functions.php:1334
50.22809229496WP->parse_request( )...\class-wp.php:780
60.22869256184do_action_ref_array( )...\class-wp.php:399
70.22869256184WP_Hook->do_action( )...\plugin.php:565
80.22869256184WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.22869257200rest_api_loaded( )...\class-wp-hook.php:308
100.290011048072WP_REST_Server->serve_request( )...\rest-api.php:410
110.290111047728WP_REST_Server->send_header( )...\class-wp-rest-server.php:310
120.290111048056header ( )...\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.22809229472wp( )...\wp-blog-header.php:16
40.22809229496WP->main( )...\functions.php:1334
50.22809229496WP->parse_request( )...\class-wp.php:780
60.22869256184do_action_ref_array( )...\class-wp.php:399
70.22869256184WP_Hook->do_action( )...\plugin.php:565
80.22869256184WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.22869257200rest_api_loaded( )...\class-wp-hook.php:308
100.290011048072WP_REST_Server->serve_request( )...\rest-api.php:410
110.291111047672WP_REST_Server->send_header( )...\class-wp-rest-server.php:311
120.291111047992header ( )...\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.22809229472wp( )...\wp-blog-header.php:16
40.22809229496WP->main( )...\functions.php:1334
50.22809229496WP->parse_request( )...\class-wp.php:780
60.22869256184do_action_ref_array( )...\class-wp.php:399
70.22869256184WP_Hook->do_action( )...\plugin.php:565
80.22869256184WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.22869257200rest_api_loaded( )...\class-wp-hook.php:308
100.290011048072WP_REST_Server->serve_request( )...\rest-api.php:410
110.292511047864WP_REST_Server->send_header( )...\class-wp-rest-server.php:315
120.292511048232header ( )...\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.22809229472wp( )...\wp-blog-header.php:16
40.22809229496WP->main( )...\functions.php:1334
50.22809229496WP->parse_request( )...\class-wp.php:780
60.22869256184do_action_ref_array( )...\class-wp.php:399
70.22869256184WP_Hook->do_action( )...\plugin.php:565
80.22869256184WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.22869257200rest_api_loaded( )...\class-wp-hook.php:308
100.290011048072WP_REST_Server->serve_request( )...\rest-api.php:410
110.293311047752WP_REST_Server->send_header( )...\class-wp-rest-server.php:323
120.293311048072header ( )...\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.22809229472wp( )...\wp-blog-header.php:16
40.22809229496WP->main( )...\functions.php:1334
50.22809229496WP->parse_request( )...\class-wp.php:780
60.22869256184do_action_ref_array( )...\class-wp.php:399
70.22869256184WP_Hook->do_action( )...\plugin.php:565
80.22869256184WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.22869257200rest_api_loaded( )...\class-wp-hook.php:308
100.290011048072WP_REST_Server->serve_request( )...\rest-api.php:410
110.294311047816WP_REST_Server->send_header( )...\class-wp-rest-server.php:335
120.294311048184header ( )...\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.22809229472wp( )...\wp-blog-header.php:16
40.22809229496WP->main( )...\functions.php:1334
50.22809229496WP->parse_request( )...\class-wp.php:780
60.22869256184do_action_ref_array( )...\class-wp.php:399
70.22869256184WP_Hook->do_action( )...\plugin.php:565
80.22869256184WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.22869257200rest_api_loaded( )...\class-wp-hook.php:308
100.290011048072WP_REST_Server->serve_request( )...\rest-api.php:410
110.295011047864WP_REST_Server->send_header( )...\class-wp-rest-server.php:359
120.295011048232header ( )...\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.22809229472wp( )...\wp-blog-header.php:16
40.22809229496WP->main( )...\functions.php:1334
50.22809229496WP->parse_request( )...\class-wp.php:780
60.22869256184do_action_ref_array( )...\class-wp.php:399
70.22869256184WP_Hook->do_action( )...\plugin.php:565
80.22869256184WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.22869257200rest_api_loaded( )...\class-wp-hook.php:308
100.290011048072WP_REST_Server->serve_request( )...\rest-api.php:410
110.335611348544WP_REST_Server->send_headers( )...\class-wp-rest-server.php:475
120.335611348544WP_REST_Server->send_header( )...\class-wp-rest-server.php:1774
130.335611349184header ( )...\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.22809229472wp( )...\wp-blog-header.php:16
40.22809229496WP->main( )...\functions.php:1334
50.22809229496WP->parse_request( )...\class-wp.php:780
60.22869256184do_action_ref_array( )...\class-wp.php:399
70.22869256184WP_Hook->do_action( )...\plugin.php:565
80.22869256184WP_Hook->apply_filters( )...\class-wp-hook.php:332
90.22869257200rest_api_loaded( )...\class-wp-hook.php:308
100.290011048072WP_REST_Server->serve_request( )...\rest-api.php:410
110.335611348544WP_REST_Server->send_headers( )...\class-wp-rest-server.php:475
120.336811348544WP_REST_Server->send_header( )...\class-wp-rest-server.php:1774
130.336811348864header ( )...\class-wp-rest-server.php:1762
{"id":1873,"date":"2017-09-08T14:44:37","date_gmt":"2017-09-08T14:44:37","guid":{"rendered":"http:\/\/sandbox.interswitchng.com\/docbase\/docs\/webpay-direct-paydirect-web\/transaction-payment-leg\/payment-with-split-instruction-xml\/"},"modified":"2017-09-08T14:58:30","modified_gmt":"2017-09-08T14:58:30","slug":"payment-with-split-instruction-xml","status":"publish","type":"docs","link":"https:\/\/sandbox.interswitchng.com\/docbase\/docs\/webpay-direct-paydirect-web\/transaction-payment-leg\/payment-with-split-instruction-xml\/","title":{"rendered":"Payment with SPLIT Instruction XML"},"content":{"rendered":"

Additional HTTP POST Fields<\/h3>\n\n\n\n\n\t\n\n\t\n\t
FIELD<\/th>DESCRIPTION<\/th>EXPECTED VALUE<\/th>FIELD<\/th>\n<\/tr>\n<\/thead>\n
payment_params<\/td>For miscellaneous payment parameters\t<\/td>variable<\/td>alphanumeric<\/td>\n<\/tr>\n
xml_data<\/td>Any other data that needs to be sent
\n
\nwill be packaged as xml and put in this field<\/td>
variable<\/td>XML<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n\n

\u2018xml_data\u2019 Format<\/h4>\n
<payment_item_detail>\r\n<item_details detail_ref=\"12345\" institution=\"MyCompanyNigeriaLTD\" sub_location=\"LogisticsTeam\" location=\"Abuja\">\r\n<item_detail item_id=\"1\" item_name=\"Butter\" item_amt=\"5000\" bank_id=\"7\" acct_num=\"1284736289\" \/>\r\n<item_detail item_id=\"2\" item_name=\"Juice\" item_amt=\"12000\" bank_id=\"10\" acct_num=\"1277731890\" \/> <\/item_details>\r\n<\/payment_item_detail><\/pre>\n

The addition of the item_amt in the split data must<\/strong> be the equal to the amount–<\/strong>transaction fee<\/p>\n

Hence (item_amt_1<\/em><\/span> + item_amt_2<\/span> + \u2026item_amt_X<\/span>) = (Amount<\/span> – TransactionFee<\/span>).<\/p>\n

This is to say, that you would like to split a specified amount after the transaction fee has been deducted.<\/p>\n

For instance if,<\/p>\n

Split Item 1 = N500 (destined for a \u00a0UBA account – 9876543210)<\/p>\n

Split Item 2 = N2,000\u00a0(destined for a \u00a0GTBank account – 1234567890)<\/p>\n

Transaction Fee = N38.07 (Interswitch Fee to be deducted from total amount before settlement)<\/p>\n

The above scenario can be represented in XML like below:-<\/p>\n

<input name=\"amount\" type=\"hidden\" value=\"253807\" \/>\r\n<item_detail item_id=\"1\" item_name=\"Butter\" item_amt=\"50000\" bank_id=\"7\" acct_num=\"9876543210\" \/>\r\n<item_detail item_id=\"2\" item_name=\"Juice\" item_amt=\"200000\"bank_id=\"10\" acct_num=\"1234567890\" \/><\/pre>\n

Please note, on the sandbox environment real funds are not used, hence for account number, any 10 digit number string can be used. Once Live please use only authorised account details.<\/p>\n

For the complete list of SPLIT bank codes, click here<\/a><\/em><\/strong>.<\/p>\n

Sample Request<\/h4>\n
<form name=\"form1\" action=\" https:\/\/sandbox.interswitchng.com\/webpay\/pay\" method=\"post\"> \r\n<input name=\"product_id\" type=\"hidden\" value=\"6204\" \/> \r\n<input name=\"amount\" type=\"hidden\" value=\"175900\" \/> \r\n<input name=\"currency\" type=\"hidden\" value=\"566\" \/> \r\n<input name=\"site_redirect_url\" type=\"hidden\" value=\"http:\/\/abc.com\/page\/getresponse.aspx?echo=\" \r\n<input name=\"site_name\" type=\"hidden\" value=\"http:\/\/www.abc.com\" \/> \r\n<input name=\"cust_id\" type=\"hidden\" value=\"a\" \/> \r\n<input name=\"cust_id_desc\" type=\"hidden\" value=\"Value Name\" \/> \r\n<input name=\"cust_name\" type=\"hidden\" value=\"Name <B>Surname<\/B>\" \/> \r\n<input name=\"cust_name_desc\" type=\"hidden\" value=\"Full name\" \/> \r\n<input name=\"txn_ref\" type=\"hidden\" value=\"AB-12345-TD\" \/> \r\n<input name=\"pay_item_id\" type=\"hidden\" value=\"101\" \/> \r\n<input name=\"pay_item_name\" type=\"hidden\" value=\"Name of Fees\/Payment\" \/> \r\n<input name=\"local_date_time\" type=\"hidden\" value=\"\" \/> \r\n<input name=\"hash\" type=\"hidden\" value=\"402D39A072B15B557D0E04E74D6F896EAA98EDFF5B81726C52F6A73C6CC729075C526CCF56EB1ADA1E 336BFA297D2288A069385BD4ED210F381B5F61135BBF0D \" \/> \r\n<input name=\"payment_params\" type=\"hidden\" value=\"payment_split\" \/>  \r\n<input name=\"xml_data\" type=\"hidden\" value='\r\n<payment_item_detail>  \r\n<item_details detail_ref=\"AB-12345-TD\" institution=\"MyCompanyNigeriaLTD\" sub_location=\"LogisticsTeam\" location=\"Abuja\">  \r\n<item_detail item_id=\"1\" item_name=\"Butter\" item_amt=\"50000\" bank_id=\"7\" acct_num=\"9876543210\" \/>  \r\n<item_detail item_id=\"2\" item_name=\"Juice\" item_amt=\"200000\"bank_id=\"10\" acct_num=\"1234567890\" \/>  \r\n<\/item_details>  \r\n<\/payment_item_detail>' \/>\r\n<\/form><\/pre>\n

 <\/p>\n

PASSING TRANSACTION FEE TO THE CUSTOMER<\/strong><\/span><\/h4>\n

Please note, you will be settled whatever customer was debited less the respective transaction fee. In order to pass this transaction fee to the customer, you can use the following method:-<\/p>\n

For transaction fee 1.5% to a cap of N2,000, do the following,
\nLet\u2019s say the Merchant has an item worth N4,500.
\nAmount to be Sent to Webpay, Y = 4500\/0.985 = 4568.53
\nFee = 0.015 * 4568.53 = 68.53.
\nAmount Settled to Merchant = Y \u2013 Fee
\n= 4568.53 \u2013 68.53 = 4500.<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":457,"menu_order":4,"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\/1873"}],"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=1873"}],"version-history":[{"count":3,"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/docs\/1873\/revisions"}],"predecessor-version":[{"id":1881,"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/docs\/1873\/revisions\/1881"}],"up":[{"embeddable":true,"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/docs\/457"}],"prev":[{"title":"Sample Response & Fields","link":"https:\/\/sandbox.interswitchng.com\/docbase\/docs\/webpay-direct-paydirect-web\/transaction-payment-leg\/sample-response-fields\/","href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/docs\/1865"}],"wp:attachment":[{"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/media?parent=1873"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/sandbox.interswitchng.com\/docbase\/wp-json\/wp\/v2\/doc_tag?post=1873"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}