Please Log in to join the conversation.
FAILED
Données brutes $response="{
"error": {
"type": "invalid_request_error",
"message": "Missing required param: customer.",
"param": "customer"
}
}
"
$results=array (
'error' =>
array (
'type' => 'invalid_request_error',
'message' => 'Missing required param: customer.',
'param' => 'customer',
),
);
$return=array (
'level' => 'fatal',
'errorText' => 'Missing required param: customer.. Veuillez contacter l\'administrateur du site pour vérifier les logs d\'erreur.',
'errorCode' => 400,
);
$request=array (
'currency' => 'eur',
'statement_descriptor' => 'ACTIV HA Negopack N3 avec paiement mensuel pour Activ\'H.A - Jean',
'owner[name]' => 'Jean',
'owner[email]' => 'myemail@me.com',
'owner[address][city]' => 'Chapt',
'owner[address][country]' => 'FR',
'owner[address][line1]' => '6 rue Jules',
'owner[address][postal_code]' => '69630',
'owner[address][state]' => 'ne',
'metadata[order_id]' => 5283,
'type' => 'sepa_debit',
'sepa_debit[iban]' => '89370400440532013000',
);
SUCCESS
Données brutes $response="{
"id": "ch_1ByeEuDq739h3iODQqq66a9v",
"object": "charge",
"amount": 18000,
"amount_refunded": 0,
"application": null,
"application_fee": null,
"balance_transaction": "txn_1ByeEuDq739h3iODyQpFOC3g",
"captured": true,
"created": 1519383440,
"currency": "eur",
"customer": "cus_CKnpue29oakIxo",
"description": "ACTIV HA Frais et pénalités pour retard de paiement pour Activ'H.A - Jean",
"destination": null,
"dispute": null,
"failure_code": null,
"failure_message": null,
"fraud_details": {},
"invoice": null,
"livemode": false,
"metadata": {
"user_id": "57",
"order_id": "5284",
"invoice": "ACTIVHA-U-331"
},
"on_behalf_of": null,
"order": null,
"outcome": {
"network_status": "approved_by_network",
"reason": null,
"risk_level": "normal",
"seller_message": "Payment complete.",
"type": "authorized"
},
"paid": true,
"receipt_email": "myemail@me.com",
"receipt_number": null,
"refunded": false,
"refunds": {
"object": "list",
"data": [],
"has_more": false,
"total_count": 0,
"url": "/v1/charges/ch_1ByeEuDq739h3iODQqq66a9v/refunds"
},
"review": null,
"shipping": null,
"source": {
"id": "card_1ByGpWDq739h3iODZN7Ciy2f",
"object": "card",
"address_city": null,
"address_country": null,
"address_line1": null,
"address_line1_check": null,
"address_line2": null,
"address_state": null,
"address_zip": null,
"address_zip_check": null,
"brand": "Visa",
"country": "US",
"customer": "cus_CKnpue29oakIxo",
"cvc_check": null,
"dynamic_last4": null,
"exp_month": 2,
"exp_year": 2020,
"fingerprint": "Y9llor3Ru8tOVDjo",
"funding": "credit",
"last4": "4242",
"metadata": {},
"name": "myemail@me.com",
"tokenization_method": null
},
"source_transfer": null,
"statement_descriptor": null,
"status": "succeeded",
"transfer_group": null
}
"
$results=array (
'id' => 'ch_1ByeEuDq739h3iODQqq66a9v',
'object' => 'charge',
'amount' => 18000,
'amount_refunded' => 0,
'application' => NULL,
'application_fee' => NULL,
'balance_transaction' => 'txn_1ByeEuDq739h3iODyQpFOC3g',
'captured' => true,
'created' => 1519383440,
'currency' => 'eur',
'customer' => 'cus_CKnpue29oakIxo',
'description' => 'ACTIV HA Frais et pénalités pour retard de paiement pour Activ\'H.A - Jean',
'destination' => NULL,
'dispute' => NULL,
'failure_code' => NULL,
'failure_message' => NULL,
'fraud_details' =>
array (
),
'invoice' => NULL,
'livemode' => false,
'metadata' =>
array (
'user_id' => '57',
'order_id' => '5284',
'invoice' => 'ACTIVHA-U-331',
),
'on_behalf_of' => NULL,
'order' => NULL,
'outcome' =>
array (
'network_status' => 'approved_by_network',
'reason' => NULL,
'risk_level' => 'normal',
'seller_message' => 'Payment complete.',
'type' => 'authorized',
),
'paid' => true,
'receipt_email' => 'myemail@me.com',
'receipt_number' => NULL,
'refunded' => false,
'refunds' =>
array (
'object' => 'list',
'data' =>
array (
),
'has_more' => false,
'total_count' => 0,
'url' => '/v1/charges/ch_1ByeEuDq739h3iODQqq66a9v/refunds',
),
'review' => NULL,
'shipping' => NULL,
'source' =>
array (
'id' => 'card_1ByGpWDq739h3iODZN7Ciy2f',
'object' => 'card',
'address_city' => NULL,
'address_country' => NULL,
'address_line1' => NULL,
'address_line1_check' => NULL,
'address_line2' => NULL,
'address_state' => NULL,
'address_zip' => NULL,
'address_zip_check' => NULL,
'brand' => 'Visa',
'country' => 'US',
'customer' => 'cus_CKnpue29oakIxo',
'cvc_check' => NULL,
'dynamic_last4' => NULL,
'exp_month' => 2,
'exp_year' => 2020,
'fingerprint' => 'Y9llor3Ru8tOVDjo',
'funding' => 'credit',
'last4' => '4242',
'metadata' =>
array (
),
'name' => 'myemail@me.com',
'tokenization_method' => NULL,
),
'source_transfer' => NULL,
'statement_descriptor' => NULL,
'status' => 'succeeded',
'transfer_group' => NULL,
);
$return='ch_1ByeEuDq739h3iODQqq66a9v';
$request=array (
'amount' => 18000.0,
'currency' => 'eur',
'description' => 'ACTIV HA Frais et pénalités pour retard de paiement pour Activ\'H.A - Jean',
'receipt_email' => 'myemail@me.com',
'metadata[user_id]' => 57,
'metadata[order_id]' => 5284,
'metadata[invoice]' => 'ACTIVHA-U-331',
'customer' => 'cus_CKnpue29oakIxo',
);
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
Test builds of the gateway will be installed and debug information will be output. If that's not a problem then I can check there, but be sure to make a full backup. Really recommended to make a clone of the site where the issue is present so I can investigate without risk to your live site.Can you check on the live one ?
My priority is fixing SEPA. I've informed Beat of the mailer issue.And have a look at the Mailer at the same time ?
Please Log in to join the conversation.
Please Log in to join the conversation.