Jump to content

Set payment gateway for configurable option.


Recommended Posts

I have a product set up, for that product I can limit the available payment gateways by editing the product group that the it belongs to.

I have a configurable option set up which is available for that product.  When this configurable option is purchased by a customer who already subscribes to the product all the payment gateways I have set up are available as options.  

I'd like to be able to limit the available payment gateways when the configurable option is purchased just like I can with the product itself.

Is this possible?

Link to comment
Share on other sites

Hi @Abernee,

On 12/09/2018 at 14:00, Abernee said:

I have a configurable option set up which is available for that product.  When this configurable option is purchased by a customer who already subscribes to the product all the payment gateways I have set up are available as options.

so in other words, the client is upgrading configurable options...

10cvqJh.png

On 12/09/2018 at 14:00, Abernee said:

I'd like to be able to limit the available payment gateways when the configurable option is purchased just like I can with the product itself.

Is this possible?

yes it is - either by modifying the template, or preferably by using a ClientAreaPageUpgrade action hook.

effectively, all you're doing is manipulating the values in the gateway dropdown based upon whether a specific configurable option has been upgraded/ordered.

0JpbG2d.png

now, it could theoretically get very complicated if you wanted multiple configurable options each require specific gateways (e.g priorities and conflicts etc), but if all you want you want to do if specify one gateway, e.g PayPal, when a certain configurable option has been ordered during a product/service upgrade, then that will be possible.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated