Hi all - so worked through the docs on the miniShop site - andit’s all fairly straight forward, until i get to accepting payments.
I’ve selected Paypal as the payment option - but when I go to the checkout, it processes the order, and sends me a confirmation email without going to paypal to take a payment.
In the system settings there are the following settings for paypal, which i assume need completing or changing, but I can’t find anything on the paypal site which correlates with these settings:
Thank you - I don’t speak Russian so will have to try and translate that page!
With the PP API credentials - I will check - but i can’t see in the system settings where it asks for an API key?
So I’ve just managed to set up API keys in paypal - but the system settings isn’t asking for any of those details - see original post - those are the settings it’s asking for.
[L_ERRORCODE0] => 10002
[L_SHORTMESSAGE0] => Security error
[L_LONGMESSAGE0] => Security header is not valid
[L_SEVERITYCODE0] => Error
I think this piece is most important here.
Please check these links as well:
as for me system settings may have wrong credentials still. Could please share (hide sensitive data of course) them? Btw what kind of user login do you use? something like yourlogin_api1.domain.com?
Thanks for this - very much appreciated!!
When installed, the paypal settings already had some fields completed, so i assumed they were correct:
ms2_payment_paypal_api_url:
https://api-3t.paypal.com/nvp
ms2_payment_paypal_cancel_id:
(blank)
ms2_payment_paypal_cancel_order:
no
ms2_payment_paypal_checkout_url:
https://www.paypal.com/webscr?cmd=_express-checkout&token=
(I think the above is missing a token??)
ms2_payment_paypal_currency:
GBP
ms2_payment_paypal_pwd:
(blank - wasn't sure what passwod to put here - is it my actual paypal login password??)
ms2_payment_paypal_signature:
I won't put this here, but it came from the paypal API settings)
ms2_payment_paypal_success_id:
blank - I assume this should just the id of a thanks page?
ms2_payment_paypal_user:
I've put my email address here that I log in to Paypal with - not sure if that's right though!
But there’s nowere to put the APi credentials that were generated by Paypal, apart from the signature - so I’m very confused!
Unfortunatly the provider above (fondy) isn’t going to work for various reasons.
I’m a little surprised how little information I can find online about setting up a payment gateway for minishop2. It seems a great little extra, but doesn’t work if I can take transactions.
I just realised I had mixed V1 with V2, so changed the above URls to both be V2 - and got this error instead:
[2022-04-28 16:29:10] (ERROR @ /home/site/public_html/core/components/minishop2/custom/payment/paypal.class.php : 92) [miniShop2] Payment error while request. Request: Array
(
[METHOD] => SetExpressCheckout
[PAYMENTREQUEST_0_CURRENCYCODE] => GBP
[PAYMENTREQUEST_0_ITEMAMT] => 20
[PAYMENTREQUEST_0_SHIPPINGAMT] => 0
[PAYMENTREQUEST_0_AMT] => 20
[RETURNURL] => https://www.site.co.uk/assets/components/minishop2/payment/paypal.php?action=success
[CANCELURL] => https://www.site.co.uk/assets/components/minishop2/payment/paypal.php?action=cancel
[PAYMENTREQUEST_0_INVNUM] => 19
[L_PAYMENTREQUEST_0_NAME0] => Fiat 500 Print
[L_PAYMENTREQUEST_0_AMT0] => 20
[L_PAYMENTREQUEST_0_QTY0] => 1
)
, response: Array
(
[{"name":"RESOURCE_NOT_FOUND","message":"The_specified_resource_does_not_exist_","debug_id":"d95395e670b76","details":] => Array
(
[0] =>
)
)
[2022-04-28 16:29:19] (ERROR in modMenu::getSubMenus @ /home/site/public_html/core/model/modx/modmenu.class.php : 148) modAction support is deprecated since version 2.3.0. Support for modAction has been replaced with routing based on a namespace and action name. Please update the extra with the namespace moddevtools to the routing based system.