|
|
|
@ -254,9 +254,12 @@ sub do_register_stripe ( $c ) { |
|
|
|
}); |
|
|
|
}); |
|
|
|
$person->new_related('auth_password', {})->set_password($c->param('password')); |
|
|
|
$person->new_related('auth_password', {})->set_password($c->param('password')); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Create the subscription. |
|
|
|
|
|
|
|
$person->subscription->insert; |
|
|
|
|
|
|
|
|
|
|
|
# Notify the system about the new account. |
|
|
|
# Notify the system about the new account. |
|
|
|
$c->db->system_notes->create({ |
|
|
|
$c->db->system_notes->create({ |
|
|
|
source => 'User Registration (Open)', |
|
|
|
source => 'User Registration (Stripe)', |
|
|
|
content => 'An account was created for ' . $person->email, |
|
|
|
content => 'An account was created for ' . $person->email, |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
|