[Skip to main content](#vessel-content)

#   Payment Express PxPay plugin returns from Payment Express with an error

##

- **[hambleton](/forum/user/12408-hambleton "View hambleton's Profile")**
- [![hambleton's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/12408-hambleton "View hambleton's Profile") Topic Author
- [ Offline](/forum/user/12408-hambleton)

Less More

- Posts: 2
- Thank you received: 0
-
-

8 years 3 months ago [\#295169](#295169) by [hambleton](/forum/user/12408-hambleton "View hambleton's Profile")  *[Payment Express PxPay plugin returns from Payment Express with an error](/forum/29-payment-methods/895227-payment-express-pxpay-plugin-returns-from-payment-express-with-an-error#295169 "-- HikaShop version -- : 3.5.0 -- Joomla version -- : 3.8.5 -- PHP version -- : 5.6.31 -- Browser(s) name and version -- : Chrome -- Error-message(debug-mod must be tuned on) -- : Forbidden  You don't have permission to access /mmp&#95;upgrade/pxpay&#95;2.php on this server.  Using the Payment Express PxPay Plugin, after making a payment on Payment Express's site, the browser is passed back to the store with an error:  &gt; You don't have permission to access /mmp&#95;upgrade/pxpay&#95;2.php on this server.  The order status is showing as &quot;Created&quot;, where the Verified status is configured as &quot;Confirmed&quot;  I haven't specified a Success or Cancel URL in the PXPAY payment method configuration in case that makes a difference.  Thanks, Neil")* was created by *[hambleton](/forum/user/12408-hambleton "View hambleton's Profile")*

-- HikaShop version -- : 3.5.0
-- Joomla version -- : 3.8.5
-- PHP version -- : 5.6.31
-- Browser(s) name and version -- : Chrome
-- Error-message(debug-mod must be tuned on) -- : Forbidden

You don't have permission to access /mmp_upgrade/pxpay_2.php on this server.

Using the Payment Express PxPay Plugin, after making a payment on Payment Express's site, the browser is passed back to the store with an error:

&gt; You don't have permission to access /mmp_upgrade/pxpay_2.php on this server.

The order status is showing as "Created", where the Verified status is configured as "Confirmed"

I haven't specified a Success or Cancel URL in the PXPAY payment method configuration in case that makes a difference.

Thanks,
Neil

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84OTUyMjctcGF5bWVudC1leHByZXNzLXB4cGF5LXBsdWdpbi1yZXR1cm5zLWZyb20tcGF5bWVudC1leHByZXNzLXdpdGgtYW4tZXJyb3I/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86323
- Thank you received: 14283
-
-

8 years 3 months ago [\#295183](#295183) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Payment Express PxPay plugin returns from Payment Express with an error](/forum/29-payment-methods/895227-payment-express-pxpay-plugin-returns-from-payment-express-with-an-error#295183 "-- HikaShop version -- : 3.5.0 -- Joomla version -- : 3.8.5 -- PHP version -- : 5.6.31 -- Browser(s) name and version -- : Chrome -- Error-message(debug-mod must be tuned on) -- : Forbidden  You don't have permission to access /mmp&#95;upgrade/pxpay&#95;2.php on this server.  Using the Payment Express PxPay Plugin, after making a payment on Payment Express's site, the browser is passed back to the store with an error:  &gt; You don't have permission to access /mmp&#95;upgrade/pxpay&#95;2.php on this server.  The order status is showing as &quot;Created&quot;, where the Verified status is configured as &quot;Confirmed&quot;  I haven't specified a Success or Cancel URL in the PXPAY payment method configuration in case that makes a difference.  Thanks, Neil")*

Hi,

When you save the settings of the PxPay payment method, it has to write a file pxpay_XX.php where XX is the id of the payment method, in the root folder of your website.
That way, when customers are redirected back to your website, they go through that file.
That's because the number of letters is limited for the return URL, so if you want to have a return page with a long URL, you have to give a smaller URL which then redirects to the longer one.

The error you get indicates that the plugin couldn't write that file.
So make sure that your website root folder is writable and save again the settings of your payment method. It will try to create again the file at the root of your website.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84OTUyMjctcGF5bWVudC1leHByZXNzLXB4cGF5LXBsdWdpbi1yZXR1cm5zLWZyb20tcGF5bWVudC1leHByZXNzLXdpdGgtYW4tZXJyb3I/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[hambleton](/forum/user/12408-hambleton "View hambleton's Profile")**
- [![hambleton's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/12408-hambleton "View hambleton's Profile") Topic Author
- [ Offline](/forum/user/12408-hambleton)

Less More

- Posts: 2
- Thank you received: 0
-
-

8 years 3 months ago [\#295367](#295367) by [hambleton](/forum/user/12408-hambleton "View hambleton's Profile")  Replied by *[hambleton](/forum/user/12408-hambleton "View hambleton's Profile")* on topic *[Payment Express PxPay plugin returns from Payment Express with an error](/forum/29-payment-methods/895227-payment-express-pxpay-plugin-returns-from-payment-express-with-an-error#295367 "-- HikaShop version -- : 3.5.0 -- Joomla version -- : 3.8.5 -- PHP version -- : 5.6.31 -- Browser(s) name and version -- : Chrome -- Error-message(debug-mod must be tuned on) -- : Forbidden  You don't have permission to access /mmp&#95;upgrade/pxpay&#95;2.php on this server.  Using the Payment Express PxPay Plugin, after making a payment on Payment Express's site, the browser is passed back to the store with an error:  &gt; You don't have permission to access /mmp&#95;upgrade/pxpay&#95;2.php on this server.  The order status is showing as &quot;Created&quot;, where the Verified status is configured as &quot;Confirmed&quot;  I haven't specified a Success or Cancel URL in the PXPAY payment method configuration in case that makes a difference.  Thanks, Neil")*

As you pointed out separately it turns out the problem was not creating the pxpay_XX.php file, it was accessing it afterwards. I have Akeeba's Admintools installed, which was blocking access to the file. Once I specified pxpay_XX.php as an exception, it started working.

Thanks a lot for your help with this and keep up the good work.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84OTUyMjctcGF5bWVudC1leHByZXNzLXB4cGF5LXBsdWdpbi1yZXR1cm5zLWZyb20tcGF5bWVudC1leHByZXNzLXdpdGgtYW4tZXJyb3I/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.065 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
