{"_id":"57e4d559f3d7fc0e009c5066","project":"571f5e8cd8667f0e00a3c498","parentDoc":null,"__v":0,"category":{"_id":"571f884be54f2d0e003ebb0a","project":"571f5e8cd8667f0e00a3c498","version":"571f5e8cd8667f0e00a3c49b","__v":0,"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2016-04-26T15:24:59.312Z","from_sync":false,"order":0,"slug":"general","title":"General"},"user":"5720c075db52d01700f5d1e4","version":{"_id":"571f5e8cd8667f0e00a3c49b","hasDoc":true,"__v":12,"hasReference":true,"project":"571f5e8cd8667f0e00a3c498","createdAt":"2016-04-26T12:26:52.312Z","releaseDate":"2016-04-26T12:26:52.312Z","categories":["571f5e8cd8667f0e00a3c49c","571f73cfcb4baa0e00d13a80","571f7451cb4baa0e00d13a88","571f7d2720695f3400f38797","571f7fb0ac2a080e0014c661","571f884be54f2d0e003ebb0a","572200c9ecb38d0e00d80ebd","572c301e7c8eff0e00aaa174","57df91b2c6348d0e0020c452","57e104db9ff1e21900a721ab","57fd04caeaa77f19008b8202","5899c7113514ce0f0014da84"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"1.0.0","version":"1.0"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-09-23T07:10:17.228Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":2,"body":"The Meta Info can contain some useful additional informations for donation, recurring payment and transaction. Of course all values are optional. Following keys are possible:\n\n    // personal message from the donor\n    message\n    \n    // selected item of the form\n    item_id\n    item_name\n    \n    // charity sms info\n    charitySms_phone\n    charitySms_shortId\n    charitySms_keyword\n    charitySms_operator\n    charitySms_message\n    \n    // if company donation some employee info\n    employee\n    employee_salutation\n    employee_title\n    employee_first_name\n    employee_last_name\n    employee_birthday\n    \n    // indicates if newsletter checkbox was active\n    wants_newsletter\n    \n    // paypal info\n    paypal_mc_fee\n    paypal_reason_code\n    \n    // micropayment info\n    micropayment_direct_debit_pay_date\n    micropayment_prepay_due_date //only available for single donations, not for recurring payments!\n    micropayment_prepay_pay_text\n    micropayment_prepay_bank_name\n    micropayment_prepay_iban\n    micropayment_prepay_bic\n    \n    // Cubits info\n    cubits_id\n    cubits_bitcoin_amount\n    \n    // Adresslabor info\n    raw_salutation\n    raw_title\n    raw_first_name\n    raw_last_name\n    raw_address\n    raw_city\n    raw_post_code\n    adresslabor_name_trafficlight\n    adresslabor_fake_trafficlight\n    adresslabor_address_trafficlight\n    \n    \n##XML\nMost of the values of these keys are CDATA, except:\n- item_id (integer)\n- wants_newsletter (integer, 0 | 1)\n- employee_salutation (predefined string see [Predefined values](doc:predefined-values))\n- micropayment_direct_debit_pay_date (date)\n- micropayment_prepay_due_date (date)\n- cubits_bitcoin_amount (number)\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"<meta_info>\\n  <message>\\n    <![CDATA[Danke für Ihren Einsatz!]]>\\n  </message>\\n  <item_id type=\\\"integer\\\">123</item_id>\\n  <item_name>\\n    <![CDATA[Beispiel]]>\\n  </item_name>\\n  ...\\n</meta_info>\",\n      \"language\": \"xml\"\n    }\n  ]\n}\n[/block]\n##JSON\nSimple key value pairs:\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"{\\n  \\\"item_id\\\": 123,\\n  \\\"item_name\\\": \\\"Beispiel\\\",\\n  \\\"wants_newsletter\\\": 1\\n  ...\\n}\",\n      \"language\": \"json\"\n    }\n  ]\n}\n[/block]","excerpt":"","slug":"meta-info","type":"basic","title":"Meta Info"}
The Meta Info can contain some useful additional informations for donation, recurring payment and transaction. Of course all values are optional. Following keys are possible: // personal message from the donor message // selected item of the form item_id item_name // charity sms info charitySms_phone charitySms_shortId charitySms_keyword charitySms_operator charitySms_message // if company donation some employee info employee employee_salutation employee_title employee_first_name employee_last_name employee_birthday // indicates if newsletter checkbox was active wants_newsletter // paypal info paypal_mc_fee paypal_reason_code // micropayment info micropayment_direct_debit_pay_date micropayment_prepay_due_date //only available for single donations, not for recurring payments! micropayment_prepay_pay_text micropayment_prepay_bank_name micropayment_prepay_iban micropayment_prepay_bic // Cubits info cubits_id cubits_bitcoin_amount // Adresslabor info raw_salutation raw_title raw_first_name raw_last_name raw_address raw_city raw_post_code adresslabor_name_trafficlight adresslabor_fake_trafficlight adresslabor_address_trafficlight ##XML Most of the values of these keys are CDATA, except: - item_id (integer) - wants_newsletter (integer, 0 | 1) - employee_salutation (predefined string see [Predefined values](doc:predefined-values)) - micropayment_direct_debit_pay_date (date) - micropayment_prepay_due_date (date) - cubits_bitcoin_amount (number) [block:code] { "codes": [ { "code": "<meta_info>\n <message>\n <![CDATA[Danke für Ihren Einsatz!]]>\n </message>\n <item_id type=\"integer\">123</item_id>\n <item_name>\n <![CDATA[Beispiel]]>\n </item_name>\n ...\n</meta_info>", "language": "xml" } ] } [/block] ##JSON Simple key value pairs: [block:code] { "codes": [ { "code": "{\n \"item_id\": 123,\n \"item_name\": \"Beispiel\",\n \"wants_newsletter\": 1\n ...\n}", "language": "json" } ] } [/block]