[TYPO3-paymentlib] Donations - no donation record is inserted
Brian Bendtsen
nightowl at galnet.dk
Mon Jun 11 12:52:50 CEST 2007
Tonni Aagesen skrev:
> Brian Bendtsen wrote:
>
>> Actually im just using it as a reference for implementing paymentlib
>> into my own extension and have a problem with filling my database with
>> some user data after a payment has been accepted.
>>
>> If the donation ext. does not do this, it will probably only misguide me.
>>
>> Can you point me in the right direction?
>
> I think the best approach/flow is to store your extension record data
> *before* accepting payments. Then you can update the relevant record
> based on the reply from the payment gateway:
>
> 1. gather information for record
> 2. store the record in database
> 3. let user pay
> 4. update record data with payment gateway status
>
>
Sounds like a good approach, thanks for input.
/BB
More information about the TYPO3-project-paymentlib
mailing list