Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
ruskid committed Mar 18, 2015
1 parent 6695082 commit 6325223
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion StripeCheckout.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,8 @@ class StripeCheckout extends \yii\base\Widget {
*/
public $allowRemember;

const BUTTON_CLASS = 'stripe-button';

/**
* @see Init extension default
*/
Expand Down Expand Up @@ -138,7 +140,7 @@ private function generateScriptTag() {
'data-email' => $this->userEmail,
'data-label' => $this->label,
'data-allow-remember-me' => $this->allowRemember,
'class' => 'stripe-button',
'class' => self::BUTTON_CLASS,
]);
}

Expand Down

0 comments on commit 6325223

Please sign in to comment.