Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
TR CreditAttribution: TR commentedThis would be a great addition. I didn't test it completely - I just browsed through the admin UI. Looks good.
Comment #2
TR CreditAttribution: TR commentedconditional_payment.patch queued for re-testing.
Comment #3
longwaveCommitted, 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.
Comment #5
JaseerKinangattil CreditAttribution: 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