Here is the message from my programmer
I am having problems with forwarding transaction request to Pagamento. I am trying this for the past 2 days with no success. Below are the details
Step 5 is where the problem is occurring.
1. User selects product &amp; performs checkout
2. User provides all necessary information &amp; selects PAgamento as payment method.
3. User provides CPF at review section &amp; clicks “Place Order”
4. These details are sent to Web Service &amp; Web service returns transactionid
5. Now call should be forwarded to pagamento url with transaction id to complete payment.
6. After payment is successful, user will be sent to magento success page.
In my case, after transaction id is retrieved, user is forwarded to success page immediately. Magento only supports internal redirects. If we have to do external redirect, we need to setup a block with template &amp; forward call to that template. Now the problem is transaction id cannot be retrieved in template.
Programmer should write code to redirect response to external url.