Skip to content

Cannot initiate recurring payment #3

@monomelodies

Description

@monomelodies

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...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions