Initial patch by DamZ to allow testing of payment methods.

The current issue is that the they payment details form is loaded by a javascript callback, which prevents testing. This patch automatically adds the primary payment method's (the one on the top of the list) form to the payment pane.

CommentFileSizeAuthor
uc_payment_degrade.patch1.39 KBmikejoconnor

Comments

rszrama’s picture

Assigned: Unassigned » rszrama
Status: Needs work » Postponed
Issue tags: +payment, +checkout

+100 for this. Postponing till we open up 3.x dev, but definitely needs to happen... thinking, too, that the whole checkout form should use the FAPI #ahah framework instead of all those custom callbacks. : P

adamo’s picture

I wish you would include this in 2.x. Having the payment details loaded only via AHAH causes problems. Like form fields with errors not being highlighted for example.

adamo’s picture

On second thought, there seems to be some issues with this... like the form gets rendered before any of the submitted data is validated...? Well, I will be very happy to see this whenever it does get implemented.

tr’s picture

Version: 6.x-2.x-dev » 7.x-3.x-dev
Status: Postponed » Active

Re-opening, as this is important to address so we can get some SimpleTests into the 7.x-3.x branch.

longwave’s picture

Status: Active » Fixed

This is fixed in 7.x.

Status: Fixed » Closed (fixed)
Issue tags: -payment, -checkout

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