Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

1 Simple Question


mustdoit

Recommended Posts

Posted

I have 1 hopefully simple question; what is the return url for paypal? Is it checkout_success?

 

Thanks,

 

Terry

Posted
I have 1 hopefully simple question; what is the return url for paypal? Is it checkout_success?

 

Thanks,

 

Terry

 

I guess I had better explain myself a little better :blush: If I have paypal installed and I want to have the customer return after paying with paypal what should be the return url? Is it checkout_success? I just want to ensure to be able to see the sale and have autoresponder send the email etc... Can anyone tell me if this is the correct url back to complete the order?

 

Thanks,

 

Terry

Posted
I guess I had better explain myself a little better :blush: If I have paypal installed and I want to have the customer return after paying with paypal what should be the return url? Is it checkout_success? I just want to ensure to be able to see the sale and have autoresponder send the email etc... Can anyone tell me if this is the correct url back to complete the order?

 

Thanks,

 

Terry

Hi Terry,

 

Yes, the right URL should be like this:

http://www.myshop.com/catalog/checkout_success.php

 

Regards,

Edze

Posted
It should actually be checkout_process.php.

Sorry, do not agree.

A test showed me that checkout_success was the best option.

 

Please let me know if you think otherwise...

 

Regards,

Edze

Posted

here are the return pages as defined in the default paypal module of osc

 

							   tep_draw_hidden_field('return', tep_href_link(FILENAME_CHECKOUT_PROCESS, '', 'SSL')) .
						   tep_draw_hidden_field('cancel_return', tep_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL'));

 

If you skip the checkout_process.php there will be no email messages sent to the customer or store owner. The checkout_process.php sends the emails then calls checkout_success.php

Posted
here are the return pages as defined in the default paypal module of osc

 

							   tep_draw_hidden_field('return', tep_href_link(FILENAME_CHECKOUT_PROCESS, '', 'SSL')) .
						   tep_draw_hidden_field('cancel_return', tep_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL'));

 

If you skip the checkout_process.php there will be no email messages sent to the customer or store owner. The checkout_process.php sends the emails then calls checkout_success.php

 

So basically, the return url shoud be http://www.myshop.com/public_html/checkout_process.php that returns the customer to shop where checkout_success.php is then shone to customer thereby completing the payment process. Then the sale would be logged and an email sent? Is this correct?

 

Terry

Posted

Should be. It is aldready defined in the code I posted. Its from the default osc paypal payment.

FILENAME_CHECKOUT_PROCESS

 

Unless you've changed it.

Posted

It definately works how Mark described as above. I have used this method for over a week with no problems and everything being logged as it should be.

Posted
It definately works how Mark described as above. I have used this method for over a week with no problems and everything being logged as it should be.

 

Thanks guys for your help. I just need to clarify that I need to put the public_html in the url or just everything else without the public_html part? Just to be totally clear!

 

Thanks,

 

Terry

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...