Paymill Gateway Guide

close

Services and Compatibility

Payment Gateway Company Name:
Paymill
Services that work with Spreedly:
  • Paymill
Supported operations:
Purchase, Authorize, Capture, Refund, Void, Store
Regions:
Europe

Authentication and Security

Specific names for credentials:
Public Key, Private Key
Additional steps needed to activate?
Yes, additional steps must be taken to support recurring transactions. (See notes)

Onboarding Merchants in:

Additional Notes

If you plan to process recurring transactions between Spreedly and PayMill there are two approaches.

One, ask for your customer to re-enter their CVV manually at time of subsequent transaction via our re-caching sensitive data API.

If that’s not practical you’ll need to adjust your settings with PayMill so you can successfully charge against a stored token without needing the CVV again. You’ll need to email Paymill with the production email you have listed with them. PayMill can then make the changes to your setup.

To add a Paymill gateway:


curl https://core.spreedly.com/v1/gateways.xml \
  -u 'Ll6fAtoVSTyVMlJEmtpoJV8S:RKOCG5D8D3fZxDSg504D0IxU2XD4Io5VXmyzdCtTivHFTTSy' \
  -H 'Content-Type: application/xml' \
  -d '<gateway>
        <gateway_type>paymill</gateway_type>
        <public_key>YourPublicKey</public_key>
        <private_key>YourPrivateKey</private_key>
      </gateway>'

<gateway>
  <token>9i0jILeZa2ucr6BEFYepegDMLmR</token>
  <gateway_type>paymill</gateway_type>
  <name>Paymill</name>
  <description nil="true"/>
  <public_key>YourPublicKey</public_key>
  <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">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_store type="boolean">true</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>public_key</name>
      <value>YourPublicKey</value>
    </credential>
  </credentials>
  <gateway_specific_fields>
  </gateway_specific_fields>
  <payment_methods>
    <payment_method>credit_card</payment_method>
    <payment_method>third_party_token</payment_method>
  </payment_methods>
  <state>retained</state>
  <redacted type="boolean">false</redacted>
  <created_at type="dateTime">2016-08-11T17:15:31Z</created_at>
  <updated_at type="dateTime">2016-08-11T17:15:31Z</updated_at>
</gateway>


env = Spreedly::Environment.new('Ll6fAtoVSTyMlJEm', 'RKcG5D8D3fZxDSg504U2XD4Io5VXz')
env.add_gateway(:paymill, public_key: "Your public_key", private_key: "Your private_key")


#<Spreedly::Gateway:0x007ff76248a8a8
 @created_at="2016-08-11T17:15:32Z",
 @credentials={"public_key"=>"Your public_key"},
 @gateway_type="paymill",
 @name="Paymill",
 @state="retained",
 @token="N3zvaksZv0FQE9JvXF1S6yLO9Be",
 @updated_at="2016-08-11T17:15:32Z">