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

Magento payment module response path
 
duke
Jr. Member
 
Total Posts:  16
Joined:  2008-07-08
 

Hi, I’m new to magento and i’m developing a payment module. I just came across a required POST variable in the integration manual from ClearCommerce’s Payworks, its called “ResponsePath” and its the URL that the paygate service is supposed to reply to with the result of the transaction. Does anyone know the url where should the payment gate reply to?

thanks in advance

 
Magento Community Magento Community
Magento Community
Magento Community
 
ClementN
Jr. Member
 
Total Posts:  22
Joined:  2008-07-30
 

Hello duke,

For example, in my 2Checkout module, the return url is:

http://www.MYstore.com/twocheckout/shared/success/

within code this is: 

Mage::getUrl('twocheckout/shared/success', array('_secure' => true));

Now, twocheckout is the name of the module, shared is the name of the Model file and success is the name of a controller function who is named like:

successAction {

Use that function to write the behaviour after returning.

Hope this helps ..

Good luck,
Clement

 
Magento Community Magento Community
Magento Community
Magento Community
 
duke
Jr. Member
 
Total Posts:  16
Joined:  2008-07-08
 

Hi Clement, thanks for the advice, I will check on it =)

 
Magento Community Magento Community
Magento Community
Magento Community
 
duke
Jr. Member
 
Total Posts:  16
Joined:  2008-07-08
 

Hi again Clement, could you post your module files please?, magentoconnect is not working for me.

 
Magento Community Magento Community
Magento Community
Magento Community
 
ClementN
Jr. Member
 
Total Posts:  22
Joined:  2008-07-30
 

Hello duke,

Sure.
Here is the last version.

Best regards
Clement

File Attachments
2Checkout_extention_v.1.3.2.zip  (File Size: 34KB - Downloads: 96)
 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top