Sage Payment Solutions Gateway Guide

close

Services and Compatibility

Payment Gateway Company Name:
Sage Payment Solutions
Services that work with Spreedly:
  • Sage Payment Solutions
Supported operations:
Purchase, Authorize, Capture, Refund, Void, Store, General Credit
Supported payment types:
Credit Card, Bank Account
Spreedly 3DS2 Global Supported
No
Gateway Specific 3DS2 Supported
No
Populate MIT GSF Support
No
Regions:
North America
API endpoint URL:
https://www.sagepayments.net/cgi-bin

Authentication and Security

Specific names for credentials:
Merchant ID Number, Merchant Key Number

Onboarding Merchants in:

Adding a Sage Payment Solutions gateway

To add a Sage Payment Solutions gateway:


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

<gateway>
  <token>TOnESRlEQgkn6nIP1LGxhxQmSVA</token>
  <gateway_type>sage</gateway_type>
  <name>Sage Payment Solutions</name>
  <description nil="true"/>
  <merchant_id_number>login</merchant_id_number>
  <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">true</supports_general_credit>
    <supports_void type="boolean">true</supports_void>
    <supports_adjust type="boolean">false</supports_adjust>
    <supports_verify type="boolean">false</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_3dsecure_2_mpi_purchase type="boolean">false</supports_3dsecure_2_mpi_purchase>
    <supports_3dsecure_2_mpi_authorize type="boolean">false</supports_3dsecure_2_mpi_authorize>
    <supports_store type="boolean">true</supports_store>
    <supports_remove type="boolean">true</supports_remove>
    <supports_fraud_review type="boolean">false</supports_fraud_review>
  </characteristics>
  <credentials>
    <credential>
      <name>merchant_id_number</name>
      <value>login</value>
    </credential>
  </credentials>
  <gateway_settings>
  </gateway_settings>
  <gateway_specific_fields>
    <gateway_specific_field>originator_id</gateway_specific_field>
  </gateway_specific_fields>
  <payment_methods>
    <payment_method>credit_card</payment_method>
    <payment_method>third_party_token</payment_method>
    <payment_method>bank_account</payment_method>
  </payment_methods>
  <state>retained</state>
  <redacted type="boolean">false</redacted>
  <created_at type="dateTime">2019-12-23T20:23:13Z</created_at>
  <updated_at type="dateTime">2019-12-23T20:23:13Z</updated_at>
</gateway>


env = Spreedly::Environment.new('C7cRfNJGODKh4Iu5Ox3PToKjniY', '4UIuWybmdythfNGPqAqyQnYha6s451ri0fYAo4p3drZUi7q2Jf4b7HKg8etDtoKJ', base_url: 'https://core.spreedly.com')
env.add_gateway(:sage, merchant_id_number: "Your merchant_id_number",
                merchant_key_number: "Your merchant_key_number")


#<Spreedly::Gateway:0x007fe332bb8f38
@token="PGf0EuAI18CrT9sD1NyddZn6fhU",
@created_at="2017-07-27T17:50:33Z",
@updated_at="2017-07-27T17:50:33Z",
@gateway_type="sage",
@state="retained",
@name="Sage Payment Solutions",
@credentials={"merchant_id_number"=>"Your merchant_id_number"}>

Optional Gateway Specific Fields

Spreedly supports the following gateway specific field when transacting with Sage Payment Solutions:


curl https://core.spreedly.com/v1/gateways/LlkjmEk0xNkcWrNixXa1fvNoTP4/purchase.xml \
  -u 'C7cRfNJGODKh4Iu5Ox3PToKjniY:4UIuWybmdythfNGPqAqyQnYha6s451ri0fYAo4p3drZUi7q2Jf4b7HKg8etDtoKJ' \
  -H 'Content-Type: application/xml' \
  -d '<transaction>
        <payment_method_token>56wyNnSmuA6CWYP7w0MiYCVIbW6</payment_method_token>
        <amount>100</amount>
        <currency_code>USD</currency_code>
        <gateway_specific_fields>
          <sage>
            <originator_id>originator ID</originator_id>
          </sage>
        </gateway_specific_fields>
      </transaction>'

Please refer to using a payment method for more information on how to send GSFs