| 1 | <?xml version="1.0" encoding="iso-8859-1" ?> |
| 2 | |
| 3 | <table> |
| 4 | <base>CRM/Financial</base> |
| 5 | <class>PaymentProcessor</class> |
| 6 | <name>civicrm_payment_processor</name> |
| 7 | <add>1.8</add> |
| 8 | <field> |
| 9 | <name>id</name> |
| 10 | <type>int unsigned</type> |
| 11 | <required>true</required> |
| 12 | <comment>Payment Processor ID</comment> |
| 13 | <add>1.8</add> |
| 14 | </field> |
| 15 | <primaryKey> |
| 16 | <name>id</name> |
| 17 | <autoincrement>true</autoincrement> |
| 18 | </primaryKey> |
| 19 | <field> |
| 20 | <name>domain_id</name> |
| 21 | <type>int unsigned</type> |
| 22 | <required>true</required> |
| 23 | <pseudoconstant> |
| 24 | <table>civicrm_domain</table> |
| 25 | <keyColumn>id</keyColumn> |
| 26 | <labelColumn>name</labelColumn> |
| 27 | </pseudoconstant> |
| 28 | <comment>Which Domain is this match entry for</comment> |
| 29 | <add>3.0</add> |
| 30 | </field> |
| 31 | <foreignKey> |
| 32 | <name>domain_id</name> |
| 33 | <table>civicrm_domain</table> |
| 34 | <key>id</key> |
| 35 | <add>3.0</add> |
| 36 | </foreignKey> |
| 37 | <field> |
| 38 | <name>name</name> |
| 39 | <title>Payment Processor</title> |
| 40 | <type>varchar</type> |
| 41 | <length>64</length> |
| 42 | <comment>Payment Processor Name.</comment> |
| 43 | <add>1.8</add> |
| 44 | </field> |
| 45 | <field> |
| 46 | <name>description</name> |
| 47 | <type>varchar</type> |
| 48 | <length>255</length> |
| 49 | <comment>Payment Processor Description.</comment> |
| 50 | <add>1.8</add> |
| 51 | </field> |
| 52 | <field> |
| 53 | <name>payment_processor_type</name> |
| 54 | <type>varchar</type> |
| 55 | <length>255</length> |
| 56 | <comment>Payment Processor Type.</comment> |
| 57 | <add>1.8</add> |
| 58 | <drop>4.3</drop> |
| 59 | </field> |
| 60 | <field> |
| 61 | <name>payment_processor_type_id</name> |
| 62 | <type>int unsigned</type> |
| 63 | <length>10</length> |
| 64 | <add>4.3</add> |
| 65 | </field> |
| 66 | <foreignKey> |
| 67 | <name>payment_processor_type_id</name> |
| 68 | <table>civicrm_payment_processor_type</table> |
| 69 | <key>id</key> |
| 70 | <add>4.3</add> |
| 71 | </foreignKey> |
| 72 | <field> |
| 73 | <name>is_active</name> |
| 74 | <type>boolean</type> |
| 75 | <comment>Is this processor active?</comment> |
| 76 | <add>1.8</add> |
| 77 | </field> |
| 78 | <field> |
| 79 | <name>is_default</name> |
| 80 | <type>boolean</type> |
| 81 | <comment>Is this processor the default?</comment> |
| 82 | <add>1.8</add> |
| 83 | </field> |
| 84 | <field> |
| 85 | <name>is_test</name> |
| 86 | <type>boolean</type> |
| 87 | <comment>Is this processor for a test site?</comment> |
| 88 | <add>1.8</add> |
| 89 | </field> |
| 90 | <index> |
| 91 | <name>UI_name_test_domain_id</name> |
| 92 | <fieldName>name</fieldName> |
| 93 | <fieldName>is_test</fieldName> |
| 94 | <fieldName>domain_id</fieldName> |
| 95 | <unique>true</unique> |
| 96 | <add>1.8</add> |
| 97 | </index> |
| 98 | <field> |
| 99 | <name>user_name</name> |
| 100 | <title>User Name</title> |
| 101 | <type>varchar</type> |
| 102 | <length>255</length> |
| 103 | <add>1.8</add> |
| 104 | </field> |
| 105 | <field> |
| 106 | <name>password</name> |
| 107 | <title>Password</title> |
| 108 | <type>varchar</type> |
| 109 | <length>255</length> |
| 110 | <add>1.8</add> |
| 111 | </field> |
| 112 | <field> |
| 113 | <name>signature</name> |
| 114 | <title>Signature</title> |
| 115 | <type>text</type> |
| 116 | <add>1.8</add> |
| 117 | </field> |
| 118 | <field> |
| 119 | <name>url_site</name> |
| 120 | <title>Site URL</title> |
| 121 | <type>varchar</type> |
| 122 | <length>255</length> |
| 123 | <add>1.8</add> |
| 124 | </field> |
| 125 | <field> |
| 126 | <name>url_api</name> |
| 127 | <title>API URL</title> |
| 128 | <type>varchar</type> |
| 129 | <length>255</length> |
| 130 | <add>1.8</add> |
| 131 | </field> |
| 132 | <field> |
| 133 | <name>url_recur</name> |
| 134 | <title>Recurring Payments URL</title> |
| 135 | <type>varchar</type> |
| 136 | <length>255</length> |
| 137 | <add>1.8</add> |
| 138 | </field> |
| 139 | <field> |
| 140 | <name>url_button</name> |
| 141 | <title>Button URL</title> |
| 142 | <type>varchar</type> |
| 143 | <length>255</length> |
| 144 | <add>1.8</add> |
| 145 | </field> |
| 146 | <field> |
| 147 | <name>subject</name> |
| 148 | <title>Subject</title> |
| 149 | <type>varchar</type> |
| 150 | <length>255</length> |
| 151 | <add>1.8</add> |
| 152 | </field> |
| 153 | <field> |
| 154 | <name>class_name</name> |
| 155 | <title>Suffix for PHP clas name implementation</title> |
| 156 | <type>varchar</type> |
| 157 | <length>255</length> |
| 158 | <add>1.8</add> |
| 159 | </field> |
| 160 | <field> |
| 161 | <name>billing_mode</name> |
| 162 | <type>int unsigned</type> |
| 163 | <required>true</required> |
| 164 | <comment>Billing Mode</comment> |
| 165 | <add>1.8</add> |
| 166 | </field> |
| 167 | <field> |
| 168 | <name>is_recur</name> |
| 169 | <type>boolean</type> |
| 170 | <comment>Can process recurring contributions</comment> |
| 171 | <add>1.8</add> |
| 172 | </field> |
| 173 | <field> |
| 174 | <name>payment_type</name> |
| 175 | <type>int unsigned</type> |
| 176 | <default>1</default> |
| 177 | <comment>Payment Type: Credit or Debit</comment> |
| 178 | <add>3.0</add> |
| 179 | </field> |
| 180 | </table> |