Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to send email? 'email is missing' #25

Open
Punksolid opened this issue Nov 30, 2016 · 1 comment
Open

How to send email? 'email is missing' #25

Punksolid opened this issue Nov 30, 2016 · 1 comment

Comments

@Punksolid
Copy link

When doing
$user->subscription('monthly')->create('tok_test_visa_4242');
getting a validation error
Conekta_ParameterValidationError with message 'email is missing.'

@rcevs
Copy link

rcevs commented Dec 28, 2016

Incluye un array con información sobre el usuario como segundo parámetro de la función create().

$user->subscription( 'monthly' )->create( $token, [
    'name' => $user->nombre, 
    'email' => $user->email
]);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants