Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Payment Modules / Redirect Issues?? 
 
bolasevich
Sr. Member
 
Avatar
Total Posts:  235
Joined:  2008-03-04
Newington, CT USA
 

Im currently trying to do a redirect on checkout. Process is basically this..

Click place “order”

posts all information to payment server.. server returns a response that is parse.. this response contains a url with parameters that needs to post to that url it contains and post those parameters.. (basically need to post a request to a url and view that page)

How is this possible.. ive been reviewing the paypal payment module but cant get it to work..

Here is some example code

$http = new Varien_Http_Adapter_Curl();
$http->write(Zend_Http_Client::POST,$uri3D, ‘1.1’, array(), $request3D);
$http->close();
$this->setRedirectUrl($uri3D);

what am i missing? how is this possible? is there any examples?

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top