We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba86d05 commit f653573Copy full SHA for f653573
mu-plugins/jquery.org/stripe.php
@@ -34,7 +34,8 @@ public static function charge() {
34
// Create Stripe subscription
35
$customer = Stripe_Customer::create( array(
36
'email' => $email,
37
- 'card' => $token
+ 'card' => $token,
38
+ 'description' => $_REQUEST['name']
39
) );
40
$charge = $customer->updateSubscription( array(
41
'plan' => $_REQUEST['planId']
@@ -49,7 +50,7 @@ public static function charge() {
49
50
'user_pass' => wp_generate_password(),
51
'user_login' => $email,
52
'user_email' => $email,
- 'display_name' => $_REQUEST[ 'name' ]
53
+ 'display_name' => $_REQUEST['name']
54
55
}
56
0 commit comments