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

Cannot initiate recurring payment #3

Open
monomelodies opened this issue May 2, 2017 · 6 comments
Open

Cannot initiate recurring payment #3

monomelodies opened this issue May 2, 2017 · 6 comments

Comments

@monomelodies
Copy link

Calling checkout with the following data succesfully creates a new payment:

$data = [
'Amount' => (int)$plan->price,
'Currency' => 'EUR',
'Paymentmethod' => strtoupper($method),
'Issuer' => $provider,
'Country' => 'NL',
'Language' => 'NL',
'Description' => 'Recurring subscription',
'OrderID' => (string)$subscription->id,
'Reference' => (string)$subscription->id,
'CustomerID' => (string)$this->user->ID,
];

Using the same data to initiate a vault checkout raises the following error:

object(stdClass)#25 (1) { ["Message"]=> string(99) "Validation failed for one or more entities. See 'EntityValidationErrors' property for more details." }

I have no idea where I would find the EntityValidationErrors property to debug this further...

@tsygankov
Copy link
Contributor

Hi monomelodies,

Looks like this is a model validation error on the gateway side. I will contact ICEPAY development team and ask them to add exception shielding.

["Message"]=> string(99)
It looks like one of the parameters is not valid. Probably ICEPAY Payment Gateway expects string parameter with maximum length of 99 chars, however for some reason the value that you are sending is invalid.

Can you please var_dump the $data array and check the values sent to the gateway?

@monomelodies
Copy link
Author

monomelodies commented May 2, 2017 via email

@monomelodies
Copy link
Author

bump Any news on this? My client is getting a bit anxious, and we've been trying to get this sorted for a number of weeks now... ;)

@ghost
Copy link

ghost commented May 4, 2017

Due to compliance reasons this product, Recurring Billing, is upon request only.

@ghost
Copy link

ghost commented May 5, 2017 via email

@monomelodies
Copy link
Author

monomelodies commented May 5, 2017 via 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