Instead of porting uc_conditional_payment to 7.x, let's include it in core. This works with the original order but doesn't yet use Ajax to handle, for example, payment methods conditional on the billing address.

I think #1330592: Allow credit card gateways to be enabled and configured separately would make this even more useful as admins would be able to switch between credit card gateways using conditions.

CommentFileSizeAuthor
conditional_payment.patch3.08 KBlongwave
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

TR’s picture

This would be a great addition. I didn't test it completely - I just browsed through the admin UI. Looks good.

TR’s picture

conditional_payment.patch queued for re-testing.

longwave’s picture

Status: Needs review » Fixed

Committed, as this is at least a start on this feature.

Reacting on address changes at checkout was brought up in #1263808: Ajax http error on Flat Rate Shipping Quotes so I will break that out into a new issue, as we need a common solution for it.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

JaseerKinangattil’s picture

I have two payment options

1. PayPal Website Payments Standard
2. Cash on delivery

if customer choose 1st option, the price should be 40$ and if selected 2nd condition, the price should be 50$.

how to set this using condition.

please help

thanks in advance