Forums / Developer / Paypal as Optional

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

Paypal as Optional

Author Message

Mohammad Tufail

Monday 25 May 2009 12:13:08 am

Hi,

I want paypal in my Exponential 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 X

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/

Mohammad Tufail

Thursday 28 May 2009 3:20:12 am

hi,

can you explain it a little further?

Björn X

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.