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.
| Comment | File | Size | Author |
|---|---|---|---|
| conditional_payment.patch | 3.08 KB | longwave |
Comments
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.
Automatically closed -- issue fixed for 2 weeks with no activity.
Comment #5
jaseerkinangattil commentedI 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
Comment #1
tr commentedThis would be a great addition. I didn't test it completely - I just browsed through the admin UI. Looks good.