Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Rouben Muradyan 23 posts 173 karma points
    Jun 24, 2016 @ 15:16
    Rouben Muradyan
    0

    How to create custom Payment Provider ?

    Hi guys . I'm working on custom payment provider for ARCA payment system and i'm totally stuck .My payment provider should work like this - when i click "payment" button on confirmation page , website must redirect me to ARCA website (with couple properties like amount of price , currency and bank account) where my customer fill his credit card info etc and pay . Can anyone share code snippet or give me some hints ?

    Regards R.

  • Rusty Swayne 1655 posts 4993 karma points c-trib
    Jun 27, 2016 @ 21:47
    Rusty Swayne
    1

    Hey Ruben,

    The payment provider sounds similar to the PayPal provider that is in the Core.

    Checkout the Merchello.Providers project -

    Merchello.Providers.Payment.PayPal

  • Rouben Muradyan 23 posts 173 karma points
    Jun 28, 2016 @ 08:53
    Rouben Muradyan
    0

    Hey Rusty , thank you for reply . I will try to change source code but why PayPal solution not output package file after building ? I cant find any zip file to install in my back office .

  • Rusty Swayne 1655 posts 4993 karma points c-trib
    Jun 28, 2016 @ 20:24
    Rusty Swayne
    100

    The PayPal provider is now included in the Merchello package which may be confusing you.

    Barry Fogarty did a SagePay provider a while ago as a standalone package - https://github.com/BarryFogarty/Merchello.Plugins.SagePay

    I have not used that package before myself, but it should also be similar to the PayPal provider in the Core. One thing to take not of is the authorize and capture process which I think was modeled off of the original PayPal plugin that got pulled into the Core.

    These operations were refactored a bit when I ported the PayPal code into the Merchello core so that it made more sense on the redirection to the external provider page. In the original version, the emptying the basket, retries, cancellations and order notification were more difficult to manage.

    You can look at that to get an idea of how things result and how to build the package installer.

Please Sign in or register to post replies

Write your reply to:

Draft