Your shopping cart is empty. Browse our Store

Magento

Open Source eCommerce Evolved

Magento Forum

   
Urgent | Please Help - IIIrd Party Payment Gateway Redirection like 2CO and Paypal
 
AKS
Jr. Member
 
Total Posts:  4
Joined:  2007-11-20
 

Hi,

This is slightly urgent.  I am working on a remotely hosted Payment Gateway like 2CO and Paypal. 

I have followed the instructions on creating a new payment module.

My payment process works as follows

1. Customer clicks on place order button
2.

Model/Method.php/onOrderValidate
method obtains a Payment ID and a redirect URL from remote gateway using Curl HTTPS POST request.  I am able to get this URL and Payment ID which are used for generating redirection URL.
3. Customer is redirected to the Payment Gateway web site (like 2CO/Paypal) where customer is supposed to enter CC details and CVV information in 3DSecure/VBV environment.  I am stuck at this step onwards.
4. Upon successfull payment, the gateway redirects me back to a success page which I posted using Curl in step 2
5. Upon error, gateway redirects me back to a failure page which is also posted using Curl in step 2.

I am stuck at step 3, 4 and 5.  Please help.  I have gone through the ExpressController of Paypal Express but unable to correlate its code with the new payment module example given in forums.

Below are my problems for which I need help.

Step 3 - I am not able to redirect. I tried PHP header, $this->setRedirect(), $this-getMethod()->setRedirect().  Everything takes me back to the shopping cart page.  I am doing these in the onOrderValidate method of the Model class after obtaining redirect URL from remote PG.

Step 4 - which URL should I pass for successfull payment?

Step 5 - which URL should I pass for failed payment?

And, most importantly I want to save the order before redirection so that if customer wishes, it can pay for the order later through My Account section.

Please respond urgently as I am planning to go live with this project asap and I am stuck at this step. 

Your help and attention is greatly appreciated.

Cheers!

 
Magento Community Magento Community
Magento Community
Magento Community
 
dikomo
Jr. Member
 
Total Posts:  6
Joined:  2008-01-29
 

Would like to know answers for this as well. Anybody?

 
Magento Community Magento Community
Magento Community
Magento Community
 
bolasevich
Jr. Member
 
Total Posts:  15
Joined:  2008-03-04
 

I also am at the same point and having the same exact issue. Is there any documentation on this? I also tried this and tried using the paypal method? Anyone have any info?

 
Magento Community Magento Community
Magento Community
Magento Community
 
Stev
Jr. Member
 
Total Posts:  3
Joined:  2008-04-14
 

Me too, any answer?

Tnx

 
Magento Community Magento Community
Magento Community
Magento Community
 
bolasevich
Jr. Member
 
Total Posts:  15
Joined:  2008-03-04
 

still wondering..??

 
Magento Community Magento Community
Magento Community
Magento Community
 
stereotomy
Jr. Member
 
Total Posts:  25
Joined:  2008-02-10
 

6 months and nothing..

kinda funny

this might help

http://www.magentocommerce.com/boards/viewthread/11795/

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top
 
Sales: Call 877.832.5289 (North America) 310.295.4144 (International) to request a call-back.
© Copyright 2008 Varien. Magento is a trademark of Irubin Consulting Inc. DBA Varien
Privacy Policy|Terms of Service
Magento Community Count
32072 users|504 users currently online|71927 forum posts