Update from 7.x-2.x-dev.
This commit is contained in:
		@@ -150,14 +150,14 @@ function uc_stripe_form_uc_cart_checkout_form_alter(&$form, &$form_state) {
 | 
				
			|||||||
    '#weight' => -1000,
 | 
					    '#weight' => -1000,
 | 
				
			||||||
  );
 | 
					  );
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    // Powered by Stripe (logo from https://stripe.com/about/resources)
 | 
					  // Powered by Stripe (logo from https://stripe.com/about/resources)
 | 
				
			||||||
    if (variable_get('uc_stripe_poweredby', FALSE)) {
 | 
					  if (variable_get('uc_stripe_poweredby', FALSE)) {
 | 
				
			||||||
		$payment_form['field_message'] = array(
 | 
					    $payment_form['field_message'] = array(
 | 
				
			||||||
		'#type' => 'item',
 | 
					      '#type' => 'item',
 | 
				
			||||||
		'#markup' => "<a href='http://stripe.com'><img src=".base_path().drupal_get_path('module', 'uc_stripe') . '/images/solid-dark.svg' . " alt='Powered by Stripe'></a>",
 | 
					      '#markup' => "<a href='http://stripe.com'><img src=" . '/' . drupal_get_path('module', 'uc_stripe') . '/images/solid-dark.svg' . " alt='Powered by Stripe'></a>",
 | 
				
			||||||
		'#weight' => 1,
 | 
					      '#weight' => 1,
 | 
				
			||||||
	    );
 | 
					    );
 | 
				
			||||||
	}
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  $payment_form['stripe_token'] = array(
 | 
					  $payment_form['stripe_token'] = array(
 | 
				
			||||||
    '#type' => 'hidden',
 | 
					    '#type' => 'hidden',
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user