Module: Adyen::SOAP

Defined in:
lib/adyen/soap.rb

Overview

The SOAP module contains classes that interact with the Adyen SOAP services. The clients are based on the Handsoap library. Shared functionality for all services is implemented in the Adyen::SOAP::Base class.

Note that you’ll need an Adyen notification PSP reference for most SOAP calls. Because of this, store all notifications that Adyen sends to you. (e.g. using the Adyen::Notification ActiveRecord class). Moreover, most SOAP calls do not respond that they were successful immediately, but a notifications to indicate that will be sent later on.

You’ll need to provide a username and password to interact with the Adyen SOAP services:

Adyen::SOAP.username = '[email protected]'
Adyen::SOAP.password = 'very$ecret'

You can setup default values for every SOAP call that needs them:

Adyen::SOAP.default_arguments[:merchent_account] = 'MyMerchant'

For now, only the recurring payment service client is implemented (Adyen::SOAP::RecurringService).

Defined Under Namespace

Classes: Base, PaymentService, RecurringService

Class Attribute Summary collapse

Class Attribute Details

.default_argumentsObject

Set up accessors for HTTP Basic Authentication and for adding default arguments to SOAP calls.



34
35
36
# File 'lib/adyen/soap.rb', line 34

def default_arguments
  @default_arguments
end

.passwordObject

Set up accessors for HTTP Basic Authentication and for adding default arguments to SOAP calls.



34
35
36
# File 'lib/adyen/soap.rb', line 34

def password
  @password
end

.usernameObject

Set up accessors for HTTP Basic Authentication and for adding default arguments to SOAP calls.



34
35
36
# File 'lib/adyen/soap.rb', line 34

def username
  @username
end