Inhalte aufrufen

Profilbild

WorldPay configuration


  • Bitte melden Sie sich an, um eine Antwort zu verfassen.
4 Antworten zu diesem Thema

#1 nickh

nickh

    Erfahrener Benutzer

  • Members
  • 129 Beiträge

Geschrieben: 05 January 2015 - 16:23

Hi all,

 

I'm currently having a problem understanding payment methods.  I am hoping to use SmartStore.Net to replace an existing commerce website that is using WorldPay as the payment gateway, but I can't see anywhere in the store configuration that I can add this information.  Am I missing a plugin or something?

 

By the way, do you know why my original forum account was renamed (from nickh to "Guest_nickh_*")?  I've made several posts (e.g http://community.sma...-rewrite-rules/) using this login, but now I can't even log in to that account so I presume it had been deleted...?

 

Thanks,

Nick



#2 Michael Herzog

Michael Herzog

    SmartStore AG

  • Administrators
  • 3498 Beiträge

Geschrieben: 05 January 2015 - 16:41

Hi,

 

currently there is no WorldPay plugin available for SmartStore.NET. But I remeber when I've intergrated WorldPay into SmartStore.biz.

It should be pretty easy to implement. Please have a look at the PayPal Plugin especially at the StandardProvider. I think it's the closest

to a imaginable WorldPay implementation as it also performs a form post with name value pairs.

 

Regarding your account information you'll receive a PM for another SmartStore forum admin to whom I've tramsitted this post of yours.

 

Regards


Michael Herzog
Smartstore AG


#3 nickh

nickh

    Erfahrener Benutzer

  • Members
  • 129 Beiträge

Geschrieben: 05 January 2015 - 17:15

Hi Michael,

 

Thanks for your reply.  I've just taken a look at the SmartStore.PayPal project and can see that there is a lot of code in there.  Could you provide some documentation on exactly how the payment process currently works, as I need to have the WorldPay integration complete very soon.  How can I isolate only the parts that I need to replicate for WorldPay?

 

Regards,

Nick



#4 Michael Herzog

Michael Herzog

    SmartStore AG

  • Administrators
  • 3498 Beiträge

Geschrieben: 06 January 2015 - 17:28

You need to take a look at PostProcessPayment. First the service URL gets appended to the string helper and then all the parameters are added.

At the end the following code performs the redirection to PayPal:

_httpContext.Response.Redirect(builder.ToString());

Please consider creating a fork of SmartStore.NET so I could easily pull your code and have a closer look at it if wanted and needed ;-)

 

Regards,

Michael

 

PS: Currently I'm writing a tutorial which explains in detail the development of a generic plugin. I'll inform you when it's published.

I guess there could be some hints contained which could help you during the development of your plugin.


Michael Herzog
Smartstore AG


#5 nickh

nickh

    Erfahrener Benutzer

  • Members
  • 129 Beiträge

Geschrieben: 01 February 2015 - 14:15

Hi Michael,

 

Has there been any progress towards this plugin tutorial?