{"id":18716371,"url":"https://github.com/killbill/killbill-accertify-plugin","last_synced_at":"2025-04-12T13:30:58.537Z","repository":{"id":24382807,"uuid":"27782531","full_name":"killbill/killbill-accertify-plugin","owner":"killbill","description":"Kill Bill fraud plugin based on the Accertify API","archived":false,"fork":false,"pushed_at":"2017-04-25T15:13:32.000Z","size":72,"stargazers_count":3,"open_issues_count":0,"forks_count":5,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-26T08:12:40.538Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://killbill.io","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/killbill.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-12-09T19:16:23.000Z","updated_at":"2024-02-09T12:29:38.000Z","dependencies_parsed_at":"2022-07-12T07:00:23.124Z","dependency_job_id":null,"html_url":"https://github.com/killbill/killbill-accertify-plugin","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/killbill%2Fkillbill-accertify-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/killbill%2Fkillbill-accertify-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/killbill%2Fkillbill-accertify-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/killbill%2Fkillbill-accertify-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/killbill","download_url":"https://codeload.github.com/killbill/killbill-accertify-plugin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248573413,"owners_count":21126825,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-07T13:12:29.668Z","updated_at":"2025-04-12T13:30:58.239Z","avatar_url":"https://github.com/killbill.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"Accertify plugin\n================\n\nKill Bill fraud plugin using [Accertify](http://www.accertify.com/).\n\nRelease builds are available on [Maven Central](http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22org.kill-bill.billing.plugin.java%22%20AND%20a%3A%22accertify-plugin%22) with coordinates `org.kill-bill.billing.plugin.java:accertify-plugin`.\n\nKill Bill compatibility\n-----------------------\n\n| Plugin version | Kill Bill version |\n| -------------: | ----------------: |\n| 0.1.y          | 0.14.z            |\n| 0.2.y          | 0.16.z            |\n| 0.3.y          | 0.18.z            |\n\nRequirements\n------------\n\nThe plugin needs a database. The latest version of the schema can be found [here](https://github.com/killbill/killbill-accertify-plugin/blob/master/src/main/resources/ddl.sql).\n\nConfiguration\n-------------\n\nThe following properties are required:\n\n* `org.killbill.billing.plugin.accertify.url`: your Accertify url\n* `org.killbill.billing.plugin.accertify.username`: your username\n* `org.killbill.billing.plugin.accertify.password`: your password\n\nThe following properties are optional:\n\n* `org.killbill.billing.plugin.accertify.plugins`: names of the payment plugins for which automatic rejection is enabled (separated by comma)\n* `org.killbill.billing.plugin.accertify.proxyHost`: proxy host\n* `org.killbill.billing.plugin.accertify.proxyPort`: proxy port\n* `org.killbill.billing.plugin.accertify.strictSSL`: if false, unverified certificates are trusted\n\nThese properties can be specified globally via System Properties or on a per tenant basis:\n\n```\ncurl -v \\\n     -X POST \\\n     -u admin:password \\\n     -H 'X-Killbill-ApiKey: bob' \\\n     -H 'X-Killbill-ApiSecret: lazar' \\\n     -H 'X-Killbill-CreatedBy: admin' \\\n     -H 'Content-Type: text/plain' \\\n     -d 'org.killbill.billing.plugin.accertify.url=XXX\norg.killbill.billing.plugin.accertify.username=YYY\norg.killbill.billing.plugin.accertify.password=ZZZ' \\\n     http://127.0.0.1:8080/1.0/kb/tenants/uploadPluginConfig/killbill-accertify\n```\n\nUsage\n-----\n\n### Accertify\n\nBecause your organization will have its own XML schema configured in Accertify, you need to pass relevant data for Accertify via plugin properties.\nAny property starting with `accertify_` will be passed through, with the following naming convention:\n\n* Single keys like `accertify_ipAddress` are passed as top elements in the `\u003ctransaction\u003e` request element\n* Composed keys like `accertify_collectionTransaction-\u003ebillingFirstName` are passed as children elements\n* Use brackets to create list elements: `orderDetails-\u003eorderDetail[0]-\u003eshippingName`\n\nFor example, the properties\n\n* `accertify_ipAddress=127.0.0.1`\n* `accertify_collectionTransaction-\u003ebillingFirstName=John`\n* `accertify_orderDetails-\u003eorderDetail[0]-\u003eshippingName=John Doe`\n\nwill produce the following XML:\n\n```\n\u003ctransactions\u003e\n  \u003ctransaction\u003e\n    \u003cipAddress\u003e127.0.0.1\u003c/ipAddress\u003e\n    \u003ccollectionTransaction\u003e\n      \u003cbillingFirstName\u003eJohn\u003c/billingFirstName\u003e\n    \u003c/collectionTransaction\u003e\n    \u003corderDetails\u003e\n      \u003corderDetail\u003e\n        \u003cshippingName\u003eJohn Doe\u003c/shippingName\u003e\n      \u003c/orderDetail\u003e\n    \u003c/orderDetails\u003e\n  \u003c/transaction\u003e\n\u003c/transactions\u003e\n```\n\nBy default, the plugin simply calls Accertify and stores the response. Automatic rejection of the payments needs to be enabled on a per payment plugin basis.\n\nFor example, if the plugins `killbill-cybersource`, `killbill-paypal-express` and `killbill-bitpay` are installed and you want to reject only payments going to CyberSource and PayPal, specify:\n\n```\norg.killbill.billing.plugin.accertify.plugins=killbill-cybersource,killbill-paypal-express\n```\n\nAny payment for these plugins for which the assessment is `REJECT` will be aborted.\n\n### Kill Bill\n\nTo enable the plugin on a per payment basis, use the `controlPluginName` query parameter:\n\n```\ncurl -v \\\n     -X POST \\\n     -u admin:password \\\n     -H 'X-Killbill-ApiKey: bob' \\\n     -H 'X-Killbill-ApiSecret: lazar' \\\n     -H 'X-Killbill-CreatedBy: admin' \\\n     -H 'Content-Type: application/json' \\\n     --data-binary '{\"transactionType\":\"AUTHORIZE\",\"amount\":\"10\",\"currency\":\"USD\"}' \\\n     \"http://127.0.0.1:8080/1.0/kb/accounts/2a55045a-ce1d-4344-942d-b825536328f9/payments?controlPluginName=killbill-accertify\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkillbill%2Fkillbill-accertify-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkillbill%2Fkillbill-accertify-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkillbill%2Fkillbill-accertify-plugin/lists"}