The gateway requirements was removed from the payment gateway listing, most likely because it didn't play nice with the drag'n'drop.

I've created a patch that show it on the gateway configuration page, so it's at least visible somewhere, as some gateways use it to inform the user about necessary setup steps.

Comments

gordon’s picture

+++ ec_receipt/ec_receipt.admin.inc	18 Nov 2009 20:13:06 -0000
@@ -169,6 +169,15 @@ function ec_receipt_admin_type_form(&$fo
+
+  if (isset($info->gateway_requirements)) {
+    $form['requirements'] = array(
+      '#type' => 'item',
+      '#title' => t('Requirements'),
+      '#value' => is_array($info->gateway_requirements) ? theme('item_list', $info->gateway_requirements) : $info->gateway_requirements,
+    );
+  }
+  

This added the field back in, but doesn't add it back into the theme. How did you get this back into the table?

I'm on crack. Are you, too?

xen’s picture

I didn't add it to the table, but to the admin form for the individual gateway edit form.

I don't think it's possible to make a table with items that spans multiple rows which still work with tabledrag, so I didn't try. I could be wrong though.

And then I got sidetracked a bit by the discovery that the admin module doesn't show the local tasks (ie. 'settings' and what the payment module might have added) when configuring gateways.

gordon’s picture

Status: Active » Needs review

test this.

Status: Needs review » Needs work

The last submitted patch, ec_receipt_gateway_requirements.patch, failed testing.

gordon’s picture

Version: 6.x-4.0-rc14 » 6.x-4.x-dev
Status: Needs work » Needs review
StatusFileSize
new1.01 KB

Reroll for 6.x-4.x-dev and testing.

gordon’s picture

Status: Needs review » Fixed

Thanks this has been committed

Status: Fixed » Closed (fixed)

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