Файловый менеджер - Редактировать - /var/www/html/plugins/osmembership/http/http.xml
Ðазад
<?xml version="1.0" encoding="utf-8"?> <extension version="2.5.0" type="plugin" group="osmembership" method="upgrade"> <name>Membership Pro - Webhook</name> <author>Tuan Pham Ngoc</author> <authorEmail>tuanpn@joomdonation.com</authorEmail> <authorUrl>http://www.joomdonation.com</authorUrl> <copyright>Copyright (C) 2012 - 2025 Ossolution Team</copyright> <license>GNU General Public License version 3, or later</license> <creationDate>Jan 2024</creationDate> <version>4.3.1</version> <description>This plugin will make a HTTP POST REQUEST to configured URL when subscription becomes active.</description> <files> <filename plugin="http">http.php</filename> </files> <config> <fields name="params"> <fieldset name="basic"> <field name="url" type="url" default="" label="URL" description="The URL which will receive data from Membership Pro" /> <field name="content_type" type="list" label="Content Type" default="application/json"> <option value="application/json">application/json</option> <option value="application/x-www-form-urlencoded">application/x-www-form-urlencoded</option> </field> <field name="send_webhook_on" multiple="true" type="list" label="Send Webhook On" default="1"> <option value="0">Subscription Store Offline Payment</option> <option value="1">Subscription Active</option> <option value="2">Subscription Expired</option> </field> </fieldset> <fieldset name="headers" label="HTTP Headers" description="HTTP headers (beside Content-Type header which is sent by default) you want to send in the request"> <field name="headers" type="subform" layout="joomla.form.field.subform.repeatable-table" icon="list" multiple="true" > <form hidden="true" name="list_headers" repeat="true"> <field name="name" type="text" label="Name" /> <field name="value" type="text" label="Value" /> </form> </field> </fieldset> <fieldset name="fields_mapping" label="Fields Mapping" description="If the external system which you want to pass data to expects to receive difference field with the field passed by the plugin, define the field mapping here (kind of field name alias). For example, the plugin pass first_name by default, but your system expect to receive firstname, you can add a mapping first_name => firstname"> <field name="fields_mapping" type="subform" layout="joomla.form.field.subform.repeatable-table" icon="list" multiple="true" > <form hidden="true" name="fields_mapping" repeat="true"> <field name="original_field_name" type="text" label="Original Field Name" /> <field name="new_field_name" type="text" label="New Field Name" /> </form> </field> </fieldset> </fields> </config> </extension>
| ver. 1.1 | |
.
| PHP 8.4.18 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка