Forums / Developer / Paypal as Optional
Mohammad Tufail
Monday 25 May 2009 12:13:08 am
Hi,
I want paypal in my ezpublish site as optional payment gateway i.e on confirm order page there should be a checkbox "Pay via Paypal" if it is selected the payment should be done via paypal else the normal flow should be executed.
Anyone has idea?
-- Regards,
Björn Dieding@xrow.de
Monday 25 May 2009 2:36:16 am
I would create something like a void payment gateway in addition ... like "pay by invoice"
http://svn.projects.ez.no/xrowecommerce/trunk/extension/xrowecommerce/classes/gateways/
Looking for a new job? http://www.xrow.com/xrow-GmbH/Jobs Looking for hosting? http://hostingezpublish.com ----------------------------------------------------------------------------- GMT +01:00 Hannover, Germany Web: http://www.xrow.com/
Thursday 28 May 2009 3:20:12 am
hi,
can you explain it a little further?
Thursday 28 May 2009 11:57:57 am
you create a this new payment gateway that basicly does nothing...
then on the page where the shop users select the gateway you will have then a option list wiht two options
- Pay via Paypal- Pay by Invoice / Advance Payment
That way you circumvent the fact that you need to rewrite the gateway workflow for what you need to archive.
Script start
Module start 'content'
Module end 'content'
Script end
Time used to render debug report: 0.0002 secs