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 have a question.
It's the first time that i'm building a website that needs to make use of the Omnikassa 2.0 payment provider. I'm working in Laravel so after some research i found thephpleague/omnipay and the thephpleague/omnipay-rabobank repo's. Thanks for that! After some reading and trying i ran into some troubles. My first question: does someone have some example code for me? I can't figure out how my dataset needs to look like. My function for a payment request looks like this:
` $sOrderId = 'WEB' . time(); // This should be unique - Order id
$sTransactionReference = $sOrderId . date('His'); // This should be unique - Identifier of transaction
$amount = 10.00;
(Of course i replaced the properties with ****** with the right values).
But when i approach this function, i'm getting error: Undefined index: token in function fetchAccessToken (/vendor/omnipay/rabobank/src/Message/Request/AbstractRabobankRequest.php). Can someone tell me how, and where i need to configure this token. I build some apps in past which uses Mollie as payment provider but never build apps with Omnikassa. So hopefully someone can help me out of this.
I have installed this packages with composer:
"league/omnipay": "^3",
"omnipay/rabobank": "^v3.0.0-beta1",
Thank you very much in advance,
Martijn
The text was updated successfully, but these errors were encountered:
Maybe this is a bit late 😄 but I also had difficulties testing this with the latest version. But it's very important whenever you test that you but in the testMode value upfront the payment like:
Hello collegues,
I have a question.
It's the first time that i'm building a website that needs to make use of the Omnikassa 2.0 payment provider. I'm working in Laravel so after some research i found thephpleague/omnipay and the thephpleague/omnipay-rabobank repo's. Thanks for that! After some reading and trying i ran into some troubles. My first question: does someone have some example code for me? I can't figure out how my dataset needs to look like. My function for a payment request looks like this:
` $sOrderId = 'WEB' . time(); // This should be unique - Order id
$sTransactionReference = $sOrderId . date('His'); // This should be unique - Identifier of transaction
$amount = 10.00;
(Of course i replaced the properties with ****** with the right values).
But when i approach this function, i'm getting error: Undefined index: token in function fetchAccessToken (/vendor/omnipay/rabobank/src/Message/Request/AbstractRabobankRequest.php). Can someone tell me how, and where i need to configure this token. I build some apps in past which uses Mollie as payment provider but never build apps with Omnikassa. So hopefully someone can help me out of this.
I have installed this packages with composer:
"league/omnipay": "^3",
"omnipay/rabobank": "^v3.0.0-beta1",
Thank you very much in advance,
Martijn
The text was updated successfully, but these errors were encountered: