Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 4 of 4 total
Thread Payment solutions and EWB
Sun, Dec 20 2015 2:52 PMPermanent Link

Christian Kaufmann

Hi,

I'm looking into a new solution for online payment. I didn't decide, which one I will use.
Currently my favorites are "Stripe" or "Paymill".

My questions:
- does anybody already use one of these and can share his experience (positive or negative)
- did anybody already do integration of these into his EWB website?
- does anybody know another provider of credit card processing? Should be not too expensive and no
fix rate per month.

cu Christian
Mon, Dec 21 2015 3:47 AMPermanent Link

Matthew Jones

Christian Kaufmann wrote:

> My questions:
> - does anybody already use one of these and can share his experience
> (positive or negative) - did anybody already do integration of these
> into his EWB website?  - does anybody know another provider of credit
> card processing? Should be not too expensive and no fix rate per
> month.

I've done card integration, and PayPal too. However, both were done
with the help of the back-end server, which is needed for the
redirections. Also cards may need the "3D-Secure" option (verified by
Visa and the Mastercard equivalent). I did that with an embedded web
page in my EWB application. From what I've heard, Stripe does fancy
javascript to talk direct to their servers so the card details never
touch your server, and that would be an interesting one to work with.

I was going to say that it may be possible to do it all on the client,
but then you risk being hacked - you just get a message saying "Mr
Jones paid $9,000, ship the goods now" and no control. On my web shop,
the cart is managed on the client browser, with pricing coming from the
server, but when it all gets to the server it is fully validated
(including that the customer is allowed to buy particular items), so
that no one can slip a fraud through. Likewise the payment side is
initiated from the server, and the client is told what to do (show the
3D-Secure pane, or redirect to PayPal). The redirects go via the server
too.

So in summary, it is quite possible in EWB, but the server will be
involved!

--

Matthew Jones
Tue, Dec 22 2015 3:01 AMPermanent Link

Christian Kaufmann

> So in summary, it is quite possible in EWB, but the server will be
> involved!

I think the Stripe Checkout Feature would be really interesting. I just wonder how I could place
that button in an EWB form.

And I already have my own server (done with Indy HTTP Server) running, so I just have to handle to
post request coming from Stripe and charge the card.

The last thing will be to send this information back to my EWB application. I already thought about
using web sockets for this.
-> could be an interesting component for other stuff too.

cu Christian
Tue, Dec 22 2015 3:47 AMPermanent Link

Matthew Jones

Christian Kaufmann wrote:

> The last thing will be to send this information back to my EWB
> application. I already thought about using web sockets for this.

I am using the RemObjects server (Delphi, with their interface stuff in
JSON), but with modifications to the Indy server to allow POST to a
special URL for the returns from the card/paypal systems. The EWB
application polls the server to ask for the status of the order
processing, which is done by a separate thread, and this allows the web
client to react accordingly (including going to the completed order
page when all is done). I've had people comment that it is nice to see
the order processing happening through the stages (rather than the
usual "please wait").


--

Matthew Jones
Image