[TYPO3-shop] handleScript

John Nicholas J_nicholas at excite.com
Fri Nov 21 16:14:05 CET 2008


Currently I my handleScript does connect successfully to authorize.net 
by using products_customized_payment and by setting paymentActivity to 
customized. No other variations seem to actually run the handleScript code.

This leaves the finalize step of closing out the cart and sending the 
emails. I have tried setting $bFinalize = true with no effect.
The DIBS and 2Checkout examples see to use $this->order->finalize or 
$this->pibase->order->finalize for this but I don't see an effect from 
that either.

One thing I might need to note is that nothing is being rendered at 
authorize.net. My handlescript simply connects to them and uses the 
result to render and error message or success message. I just need the 
success message to trigger the the finalize step instead

Franz Holzinger wrote:
> John Nicholas a écrit :
>> Additionally the only thing I can tell that effects how the next page 
>> loads is the submit button in the template as
>>
>> <input type="Submit" name="products_customized_payment" value="Pay / 
>> Order" onClick="document.forms[0].action='###FORM_URL_FINALIZE###';">
>>
>> which renders in the output as
>>
>> <input type="Submit" name="products_customized_payment" value="Pay / 
>> Order"onClick="document.forms[0].action='store/cart.html?tx_ttproducts_pi1%5BbackPID%5D=21&amp;cHash=c5503959c5';"> 
>>
>>
>> I tried changing name="products_customized_payment" to a few other 
>> values like "products_payment" based on what _control is looking for 
>> but that just made it loop back to the first page of the checkout.
> 
> products_customized_payment is needed if the gateway needs an 
> intermediate step before or after entering of the credit card data.
> 
> This is the activity which will be done by the shop on the next step.
> 
> - Franz
> 
> 
> 


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