Class: Adyen::API::PaymentService
- Inherits:
-
SimpleSOAPClient
- Object
- SimpleSOAPClient
- Adyen::API::PaymentService
- Defined in:
- lib/adyen/api.rb,
lib/adyen/api.rb
Defined Under Namespace
Classes: AuthorizationResponse
Constant Summary collapse
- ENDPOINT_URI =
'https://pal-%s.adyen.com/pal/servlet/soap/Payment'
- LAYOUT =
"<?xml version=\"1.0\"?>\n<soap:Envelope xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\n <soap:Body>\n <payment:authorise xmlns:payment=\"http://payment.services.adyen.com\" xmlns:recurring=\"http://recurring.services.adyen.com\" xmlns:common=\"http://common.services.adyen.com\">\n <payment:paymentRequest>\n <payment:merchantAccount>%s</payment:merchantAccount>\n <payment:reference>%s</payment:reference>\n%s\n </payment:paymentRequest>\n </payment:authorise>\n </soap:Body>\n</soap:Envelope>\n"
- AMOUNT_PARTIAL =
" <payment:amount>\n <common:currency>%s</common:currency>\n <common:value>%s</common:value>\n </payment:amount>\n"
- CARD_PARTIAL =
" <payment:card>\n <payment:holderName>%s</payment:holderName>\n <payment:number>%s</payment:number>\n <payment:cvc>%s</payment:cvc>\n <payment:expiryYear>%s</payment:expiryYear>\n <payment:expiryMonth>%02d</payment:expiryMonth>\n </payment:card>\n"
- RECURRING_PARTIAL =
" <payment:recurring>\n <payment:contract>RECURRING</payment:contract>\n </payment:recurring>\n"
- RECURRING_PAYMENT_BODY_PARTIAL =
" <payment:recurring>\n <payment:contract>RECURRING</payment:contract>\n </payment:recurring>\n <payment:selectedRecurringDetailReference>%s</payment:selectedRecurringDetailReference>\n <payment:shopperInteraction>ContAuth</payment:shopperInteraction>\n"
- SHOPPER_PARTIALS =
{ :reference => ' <payment:shopperReference>%s</payment:shopperReference>', :email => ' <payment:shopperEmail>%s</payment:shopperEmail>', :ip => ' <payment:shopperIP>%s</payment:shopperIP>', }
Constants inherited from SimpleSOAPClient
Instance Attribute Summary
Attributes inherited from SimpleSOAPClient
Instance Method Summary collapse
Methods inherited from SimpleSOAPClient
#call_webservice_action, endpoint, #initialize
Constructor Details
This class inherits a constructor from Adyen::API::SimpleSOAPClient
Instance Method Details
#authorise_payment ⇒ Object
182 183 184 |
# File 'lib/adyen/api.rb', line 182 def make_payment_request() end |
#authorise_recurring_payment ⇒ Object
186 187 188 |
# File 'lib/adyen/api.rb', line 186 def make_payment_request() end |