You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using your code for a SEPA Direct Debit payment.
Now i'm having a problem. It works almost correctly, but when I do a request with the "Pay" action it's getting to Buckaroo with a statuscode 790 (Pending input: the request has been received, possibly the gateway is waiting for the customer to enter his details.)
So i need the send the customer details with it. There is an action called "ExtraInfo" for sending customer details. But my question is how too send this action together with the "Pay" action?
Here is a part of the code so far:
// Configuration$websiteKey = 'xxx';
$req = newBuckaroo\Request($websiteKey);
$req->loadPem(public_path().'/BuckarooPrivateKey.pem');
// Create the message body (actual request)$TransactionRequest = newSOAP\Body();
$TransactionRequest->Currency = 'EUR';
$TransactionRequest->AmountDebit = 2.10;
$TransactionRequest->Invoice = 'DNK_PHP_1';
$TransactionRequest->Description = 'Example description for this request';
$TransactionRequest->ReturnURL = 'http://192.168.33.116/';
$TransactionRequest->StartRecurrent = FALSE;
// Specify which service / action we are calling$TransactionRequest->Services = newSOAP\Services();
$TransactionRequest->Services->Service = newSOAP\Service('sepadirectdebit', 'Pay', 1);
// Add parameters for this service$TransactionRequest->Services->Service->RequestParameter = newSOAP\RequestParameter('customeraccountname', 'ABNAMRO');
$TransactionRequest->Services->Service->RequestParameter = newSOAP\RequestParameter('CustomerIBAN', 'NL91ABNA0417164300');
/* // Specify which service / action we are calling $TransactionRequest->Services->Service = new SOAP\Service('sepadirectdebit', 'ExtraInfo', 1); // Add parameters for this service $TransactionRequest->Services->Service->RequestParameter = new SOAP\RequestParameter('MandateReference', 'Basis lidmaatschap'); $TransactionRequest->Services->Service->RequestParameter = new SOAP\RequestParameter('MandateDate', Date('d-m-Y')); $TransactionRequest->Services->Service->RequestParameter = new SOAP\RequestParameter('CustomerName', 'Voor Achternaam');*/// Optionally pass the client ip-address for logging$TransactionRequest->ClientIP = newSOAP\IPAddress('123.123.123.123');
dd($TransactionRequest);
// Send the request to Buckaroo, and retrieve the response$response = $req->sendRequest($TransactionRequest, 'transaction');
// Display the response:var_dump($response);
The text was updated successfully, but these errors were encountered:
Hi there,
I'm using your code for a SEPA Direct Debit payment.
Now i'm having a problem. It works almost correctly, but when I do a request with the "Pay" action it's getting to Buckaroo with a statuscode 790 (Pending input: the request has been received, possibly the gateway is waiting for the customer to enter his details.)
So i need the send the customer details with it. There is an action called "ExtraInfo" for sending customer details. But my question is how too send this action together with the "Pay" action?
Here is a part of the code so far:
The text was updated successfully, but these errors were encountered: