maxiPago! Gateway Guide

close

Services and Compatibility

Payment Gateway Company Name:
maxiPago!
Services that work with Spreedly:
  • maxiPago!
Supported operations:
Purchase, Authorize, Capture, Refund, Void, Verify
Supported payment types:
Credit Card
Regions:
South America

Authentication and Security

Specific names for credentials:
Login, Processor, Password

Onboarding Merchants in:

To add a maxiPago! gateway:


curl https://core.spreedly.com/v1/gateways.xml \
  -u 'C7cRfNJGODKh4Iu5Ox3PToKjniY:4UIuWybmdythfNGPqAqyQnYha6s451ri0fYAo4p3drZUi7q2Jf4b7HKg8etDtoKJ' \
  -H 'Content-Type: application/xml' \
  -d '<gateway>
        <gateway_type>maxipago</gateway_type>
        <login>Your login</login>
        <password>Your password</password>
      </gateway>'

<gateway>
  <token>PidebJuPiCShxnWk9A0WmoOk7Sj</token>
  <gateway_type>maxipago</gateway_type>
  <name>maxiPago!</name>
  <description nil="true"/>
  <login>Your login</login>
  <processor_id nil="true"/>
  <characteristics>
    <supports_purchase type="boolean">true</supports_purchase>
    <supports_authorize type="boolean">true</supports_authorize>
    <supports_capture type="boolean">true</supports_capture>
    <supports_credit type="boolean">true</supports_credit>
    <supports_general_credit type="boolean">false</supports_general_credit>
    <supports_void type="boolean">true</supports_void>
    <supports_verify type="boolean">true</supports_verify>
    <supports_reference_purchase type="boolean">false</supports_reference_purchase>
    <supports_purchase_via_preauthorization type="boolean">false</supports_purchase_via_preauthorization>
    <supports_offsite_purchase type="boolean">false</supports_offsite_purchase>
    <supports_offsite_authorize type="boolean">false</supports_offsite_authorize>
    <supports_3dsecure_purchase type="boolean">false</supports_3dsecure_purchase>
    <supports_3dsecure_authorize type="boolean">false</supports_3dsecure_authorize>
    <supports_store type="boolean">false</supports_store>
    <supports_remove type="boolean">false</supports_remove>
    <supports_fraud_review type="boolean">false</supports_fraud_review>
    <supports_disburse type="boolean">false</supports_disburse>
  </characteristics>
  <credentials>
    <credential>
      <name>login</name>
      <value>Your login</value>
    </credential>
    <credential>
      <name>processor_id</name>
      <value nil="true"/>
    </credential>
  </credentials>
  <gateway_specific_fields>
  </gateway_specific_fields>
  <payment_methods>
    <payment_method>credit_card</payment_method>
  </payment_methods>
  <state>retained</state>
  <redacted type="boolean">false</redacted>
  <created_at type="dateTime">2018-06-19T17:07:41Z</created_at>
  <updated_at type="dateTime">2018-06-19T17:07:41Z</updated_at>
</gateway>


env = Spreedly::Environment.new('C7cRfNJGODKh4Iu5Ox3PToKjniY', '4UIuWybmdythfNGPqAqyQnYha6s451ri0fYAo4p3drZUi7q2Jf4b7HKg8etDtoKJ', base_url: 'https://core.spreedly.com')
env.add_gateway(:maxipago, login: "Your login", password: "Your password")


#<Spreedly::Gateway:0x007fe333a3fac0
@token="EgrGyEN8BGmMEHnASoya47q8b3R",
@created_at="2017-07-27T17:49:21Z",
@updated_at="2017-07-27T17:49:21Z",
@gateway_type="maxipago",
@state="retained",
@name="maxiPago!",
@credentials={"login"=>"Your login", "processor_id"=>""}>

Specifying a processor_id

You may specify a processor_id like so:


curl https://core.spreedly.com/v1/gateways.xml \
  -u 'C7cRfNJGODKh4Iu5Ox3PToKjniY:4UIuWybmdythfNGPqAqyQnYha6s451ri0fYAo4p3drZUi7q2Jf4b7HKg8etDtoKJ' \
  -H 'Content-Type: application/xml' \
  -d '<gateway>
        <gateway_type>maxipago</gateway_type>
        <login>Your login</login>
        <password>Your password</password>
        <processor_id>6</processor_id>
      </gateway>'

<gateway>
  <token>I7panjQxGOXjVgfaBbZdibRiChj</token>
  <gateway_type>maxipago</gateway_type>
  <name>maxiPago!</name>
  <description nil="true"/>
  <login>Your login</login>
  <processor_id>6</processor_id>
  <characteristics>
    <supports_purchase type="boolean">true</supports_purchase>
    <supports_authorize type="boolean">true</supports_authorize>
    <supports_capture type="boolean">true</supports_capture>
    <supports_credit type="boolean">true</supports_credit>
    <supports_general_credit type="boolean">false</supports_general_credit>
    <supports_void type="boolean">true</supports_void>
    <supports_verify type="boolean">true</supports_verify>
    <supports_reference_purchase type="boolean">false</supports_reference_purchase>
    <supports_purchase_via_preauthorization type="boolean">false</supports_purchase_via_preauthorization>
    <supports_offsite_purchase type="boolean">false</supports_offsite_purchase>
    <supports_offsite_authorize type="boolean">false</supports_offsite_authorize>
    <supports_3dsecure_purchase type="boolean">false</supports_3dsecure_purchase>
    <supports_3dsecure_authorize type="boolean">false</supports_3dsecure_authorize>
    <supports_store type="boolean">false</supports_store>
    <supports_remove type="boolean">false</supports_remove>
    <supports_fraud_review type="boolean">false</supports_fraud_review>
    <supports_disburse type="boolean">false</supports_disburse>
  </characteristics>
  <credentials>
    <credential>
      <name>login</name>
      <value>Your login</value>
    </credential>
    <credential>
      <name>processor_id</name>
      <value>6</value>
    </credential>
  </credentials>
  <gateway_specific_fields>
  </gateway_specific_fields>
  <payment_methods>
    <payment_method>credit_card</payment_method>
  </payment_methods>
  <state>retained</state>
  <redacted type="boolean">false</redacted>
  <created_at type="dateTime">2017-07-27T17:49:22Z</created_at>
  <updated_at type="dateTime">2017-07-27T17:49:22Z</updated_at>
</gateway>

Gateway specific response fields

A response from maxiPago! gateway may contain information from the processor which you can find in the gateway_specific_response_fields. For example, a transaction could have something like this:

<transaction>
  <token>LgpTNGjsWQs9DwdxcbreUVz0R8p</token>
  <transaction_type>Purchase</transaction_type>
  <gateway_specific_response_fields>
     <maxipago>
       <processor_code>A</processor_code>
       <processor_message>APPROVED</processor_message>
       <processor_transaction_id>487732</processor_transaction_id>
       <processor_reference_number>568667</processor_reference_number>
     </maxipago>
  </gateway_specific_response_fields>
</transaction>

If you’d like to request any additional gateway_specific_fields or gateway_specific_response_fields, please contact Support with your request and the gateway documentation for the fields of interest.