Aimeos Pay - Omnipay does not work
Forum rules
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Aimeos Pay - Omnipay does not work
Hi aimeos,
Omnipay does not work after update to the latest version of Aimeos.
I got a Error when i came back to the confirm in aimeos:
Omnipay does not work after update to the latest version of Aimeos.
I got a Error when i came back to the confirm in aimeos:
You have an idea how to fix this problem?Invalid response from payment gateway
- Attachments
-
- Screen Shot 2017-06-13 at 15.54.50.png (120.62 KiB) Viewed 3016 times
Re: Aimeos Pay - Omnipay does not work
Which versions do you exactly use and most important, which Omnipay payment driver?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
Re: Aimeos Pay - Omnipay does not work
Hi Aimeos,
I use the Omnipay payment driver Postfinance:
https://github.com/bummzack/omnipay-postfinance
TYPO3 8.7.1
Aimeos 17.4.1
Aimeos_Pay 16.10.0
I use the Omnipay payment driver Postfinance:
https://github.com/bummzack/omnipay-postfinance
TYPO3 8.7.1
Aimeos 17.4.1
Aimeos_Pay 16.10.0
Re: Aimeos Pay - Omnipay does not work
Does this also happen with the latest aimeos_pay version (17.6.0)?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
Re: Aimeos Pay - Omnipay does not work
It does not change anything! The same error in aimeos_pay 17.06.0.
Code: Select all
Invalid response from payment gateway
Re: Aimeos Pay - Omnipay does not work
I have found out that the orderid is not attached to the following values.
in the old version with aimeos 16 it looks like
Where are the set?
Code: Select all
<input type="hidden" name="ACCEPTURL" value="https://www.doami.de/shop/confirm/cc/postfinance/"/>
<input type="hidden" name="CANCELURL" value="https://www.doami.de/shop/confirm/cc/postfinance/"/>
Code: Select all
<input type="hidden" name="ACCEPTURL" value="https://www.domain.de/shop/confirm/cc/postfinance/215/"/>
<input type="hidden" name="CANCELURL" value="https://www.domain.de/shop/confirm/cc/postfinance/215/"/>
Re: Aimeos Pay - Omnipay does not work
The order ID isn't necessary and can't be trusted so it was removed. But the removed order ID in the URL shouldn't be the source of the problem.
The message is created by the Omnipay/Postfinance driver:
https://github.com/bummzack/omnipay-pos ... st.php#L97
The message is created by the Omnipay/Postfinance driver:
https://github.com/bummzack/omnipay-pos ... st.php#L97
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
Re: Aimeos Pay - Omnipay does not work
i think the orderid is necessary, in the vardump of $signData is the orderid empty:
https://github.com/bummzack/omnipay-postfinance/blob/master/src/Message/CompletePurchaseRequest.php#L87
https://github.com/bummzack/omnipay-postfinance/blob/master/src/Message/CompletePurchaseRequest.php#L87
Code: Select all
"3021[/url]417812" ["STATUS"]=> string(1) "5" } array(4) { ["NCERROR"]=> string(1) "0" ["ORDERID"]=> string(0) "" ["PAYID"]=> string(10) "3021417812" ["STATUS"]=> string(1) "5" } array(4) { ["NCERROR"]=> string(1) "0" ["ORDERID"]=> string(0) "" ["PAYID"]=> string(10) "3021417812" ["STATUS"]=> string(1) "5" } array(4) { ["NCERROR"]=> string(1) "0" ["ORDERID"]=> string(0) "" ["PAYID"]=> string(10) "3021417812" ["STATUS"]=> string(1) "5" } array(4) { ["NCERROR"]=> string(1) "0" ["ORDERID"]=> string(0) "" ["PAYID"]=> string(10) "3021417812" ["STATUS"]=> string(1) "5" }
Re: Aimeos Pay - Omnipay does not work
The ORDERID parameter is one that is sent as POST payload FROM the payment gateway and it only has the same name as the previously used Aimeos URL parameter:
https://github.com/bummzack/omnipay-pos ... st.php#L59
If it's an empty string, it might be a problem that it's not sent within the original POST request TO the payment gateway, even if it should be passed correctly as "transactionId" to the Omnipay driver:
https://github.com/aimeoscom/ai-payment ... y.php#L616
Can you confirm that there's an empty ORDERID value passed to the driver?
https://github.com/bummzack/omnipay-pos ... st.php#L31
https://github.com/bummzack/omnipay-pos ... st.php#L59
If it's an empty string, it might be a problem that it's not sent within the original POST request TO the payment gateway, even if it should be passed correctly as "transactionId" to the Omnipay driver:
https://github.com/aimeoscom/ai-payment ... y.php#L616
Can you confirm that there's an empty ORDERID value passed to the driver?
https://github.com/bummzack/omnipay-pos ... st.php#L31
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star