[TYPO3-commerce] payment methods : orderID available before insert order into DB ?

Idar Creative mail at idar.nl
Wed Apr 22 20:50:48 CEST 2009


Hi List,

I also have this problem.
The Payment Provider needs a Invoice number (commerce_ext) and/or the 
orderId   (from generateOrderId() = dl_comorderidgen)
My orderId is a timestamp so, 2 customer checking out the same this is very 
obvious.

How can I solve this problem?

Kind regards,

Idar


"Sascha Egerer" <seg at softvision.de> schreef in bericht 
news:mailman.1.1197305502.11299.typo3-project-commerce at lists.netfielders.de...
>I think this is not possible. What if there are 2 customers who check out 
>at the same time? I mean the orderID is not reserved for a customer 
>session...
>
> daTib schrieb:
>> Hello list,
>> i'm trying to implement a payment method that needs an orderID. The 
>> method basically consists of a form with a series of hidden fields and a
>> submit button. That form has to be submitted to the payment service, 
>> which
>> requires an orderID. I guess I could provide a fake orderID to the 
>> payment service but I would
>> like it to be the real one. So is it possible to generate the orderID 
>> before
>> the "finishIt" function in pi3? Or do I have to search another way? Any 
>> ideas would be helpful, thank you.
>> 



More information about the TYPO3-project-commerce mailing list