recurring billing - Multiple cancel links do not redirect properly in drupal -



recurring billing - Multiple cancel links do not redirect properly in drupal -

if user clicks "update" link in recurring fees table, decides not create changes , clicks cancel instead of update, access denied because cancel link redirects admin view of recurring fees, not user view. authorize.net handler, url in question following:

example.com/user/263/recurring/715/cancel/authorizenet_cim?destination=user/263/recurring-fees

this code got when doing research, changed code according mentioned below,but does't work me help!

in uc_recurring.uc_authorizenet.inc around lines 140-147:

$form['submit'] = array( '#type' => 'submit', '#value' => t('update'), // '#suffix' => l(t('cancel'), 'admin/store/orders/recurring/view/fee/' . $rfid), '#suffix' => l(t('cancel'), $_server['http_referer']), //this line have added );

it easy, can add together rules, redirect.

drupal recurring-billing

Comments

Popular posts from this blog

web services - java.lang.NoClassDefFoundError: Could not initialize class net.sf.cglib.proxy.Enhancer -

Accessing MATLAB's unicode strings from C -

javascript - mongodb won't find my schema method in nested container -