Skip to Content
author's profile photo Former Member
Former Member

How to implement my own payment adapter?

Hi there,

I'm searching for a documentation to implement a payment adapter, but unfortunately I didn't found something useful yet.... What I understand yet, is that I need the payment extension for the communication with the shop and payment adapter which made the communication with my payment provider... But at the moment I have no idea how I should implement my payment adapter or how I could register a new payment adapter in hybris...

I saw in the documentation that hybris has a sample payment adapter called "cybersource". I took a look on this extension, but I didn't see how they call the different interfaces of the payment extension. I also a little bit confused about the fact that the cybersource extension is marked as "deprecated"...

So it will be nice, if someone could give some advice how I must to go on to implement my own payment adapter?

Thank you for your help!

Greetz

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Feb 20, 2015 at 02:55 PM

    The cybersource implementation is worth review, as is has been deprecated due the integration functionality / approach being deprecated by cybersource (silent order post is no longer possible with cybersource - there is a new integration, secure acceptance). In short, you need a extension to handle api calls with the PSP and, depending on whether you are doing a front end redirect to psp hosted order pages or pure API approach, you'll need a strategy to handle the checkout implementation. You'll also need to hook into fulfilment for full order / payment lifecycle (payment capture / cancel / refund) and also consider whether using tokenisation for saved card etc. There's good info on the wiki to guide you on steps to take, see this link and it's children: https://wiki.hybris.com/display/release5/payment+Extension+-+Technical+Guide As an FYI, the 'new' cybersource implementation uses CIS to provide payment services to both hybris accelerator and oms from a single API. Another good place to start is to download partner payment plugins (cybersource, worldpay, secure trading, paypal) from the market place and see how these have been implemented.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.