[Typo3-shop] Integration of other banks than DIBS

Jesper Weissglas jesper at seventhwave.se
Tue Nov 22 21:13:26 CET 2005


The basic payment info flow of the DIBS module assumes that you submit a
form to the bank, which responds with a redirect back to some
result-depending URLs you specify on your system.

I am trying to integrate with a bank that has a completely different
procedure. The customers browser never contacts the banks server, only
my server. My server communicates using SOAP with the bank.

So the whole setup in the DIBS package gets me nowhere. The right way of
doing this would be to have my payment.handleScript do the bank
communication, finalize the order if payment was successful, and then
redirect to an apropriate page displaying the result. This

But I need some pointers from Mr Holzinger, I think, to understand how
to do this :-)

Questions:

I need access to the customer data (name etc) in the handleScript. How
can I get that? I get the basket with:
$content=$basket->getBasket($localTemplateCode,$tSubpart); Where can I 
find out what fields to get the customer name & address from?

My bank insist on First Name and Surnamne in two separate fields.
So I need to modify the whole tt_products plugin to have two fields 
here? Is it at all possible?

I don't understand how the handlescript communicates if the order has 
been finalized or not? If the bank says payment is OK, you do 
tx_ttproducts_finalize_div::finalizeOrder(). That's fine. But when I run 
the DIBS script to test now (with version 2.3.8) I ALLWAYS get the 
"Thanks for your order" page below the creditcard info form, even if I'm 
only on the first "Enter You Credit Card Number" step? How is this 
intended to work??

/j



More information about the TYPO3-project-tt-products mailing list