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

#   order is being set to CANCELLED on payment

##

- **[li\_gordon](/forum/user/32895-li-gordon "View li&#95;gordon's Profile")**
- [![li&#95;gordon's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/32895-li-gordon "View li&#95;gordon's Profile") Topic Author
- [ Offline](/forum/user/32895-li-gordon)

Less More

- Posts: 25
- Thank you received: 2
-
-

3 years 4 months ago [\#352897](#352897) by [li\_gordon](/forum/user/32895-li-gordon "View li&#95;gordon's Profile")  *[order is being set to CANCELLED on payment](/forum/29-payment-methods/906639-order-is-being-set-to-cancelled-on-payment#352897 "-- HikaShop version -- : 4.7.4 -- Joomla version -- : 4.2 -- PHP version -- : 7.4  After payment is CONFIRMED, the order is being set to CANCELLED  Order:   gam-anon.org/mm4/literature-summary/shop...order&#95;token-DdIM9qFw  I have attached images of the email that I received that it was CANCELLED  The payment settings in the system, Cancelled is only if it is invalid  thank you, Laura")* was created by *[li\_gordon](/forum/user/32895-li-gordon "View li&#95;gordon's Profile")*

-- HikaShop version -- : 4.7.4
-- Joomla version -- : 4.2
-- PHP version -- : 7.4

After payment is CONFIRMED, the order is being set to CANCELLED

Order:
[ gam-anon.org/mm4/literature-summary/shop...order\_token-DdIM9qFw](https://gam-anon.org/mm4/literature-summary/shopping-cart/order/show/cid-1577/order_token-DdIM9qFw)

I have attached images of the email that I received that it was CANCELLED

The payment settings in the system, Cancelled is only if it is invalid

[ ![payment-settings&#95;2023-07-01.png](/forum/attachment/57292) ](/forum/attachment/57292 "...2023-07-01.png")

[ ![email-cancelled.png](/forum/attachment/57293) ](/forum/attachment/57293 "...-cancelled.png")

[ ![order-page.png](/forum/attachment/57294) ](/forum/attachment/57294 "order-page.png")

thank you,
Laura

- [ ![payment-settings&#95;2023-07-01.png](/forum/attachment/57292) ](/forum/attachment/57292 "...2023-07-01.png") [ ](/forum/attachment/57292?download=1 "...2023-07-01.png")
- [ ![email-cancelled.png](/forum/attachment/57293) ](/forum/attachment/57293 "...-cancelled.png") [ ](/forum/attachment/57293?download=1 "...-cancelled.png")
- [ ![order-page.png](/forum/attachment/57294) ](/forum/attachment/57294 "order-page.png") [ ](/forum/attachment/57294?download=1 "order-page.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy85MDY2Mzktb3JkZXItaXMtYmVpbmctc2V0LXRvLWNhbmNlbGxlZC1vbi1wYXltZW50P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) 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: 86587
- Thank you received: 14325
-
-

3 years 4 months ago [\#352909](#352909) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[order is being set to CANCELLED on payment](/forum/29-payment-methods/906639-order-is-being-set-to-cancelled-on-payment#352909 "-- HikaShop version -- : 4.7.4 -- Joomla version -- : 4.2 -- PHP version -- : 7.4  After payment is CONFIRMED, the order is being set to CANCELLED  Order:   gam-anon.org/mm4/literature-summary/shop...order&#95;token-DdIM9qFw  I have attached images of the email that I received that it was CANCELLED  The payment settings in the system, Cancelled is only if it is invalid  thank you, Laura")*

Hi,

Can you try again after activating the "debug" setting of the payment method settings page ? Then, please look at the "payment log file" option of the HikaShop configuration. It should have information on what's going on.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy85MDY2Mzktb3JkZXItaXMtYmVpbmctc2V0LXRvLWNhbmNlbGxlZC1vbi1wYXltZW50P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[li\_gordon](/forum/user/32895-li-gordon "View li&#95;gordon's Profile")**
- [![li&#95;gordon's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/32895-li-gordon "View li&#95;gordon's Profile") Topic Author
- [ Offline](/forum/user/32895-li-gordon)

Less More

- Posts: 25
- Thank you received: 2
-
-

3 years 4 months ago -  3 years 4 months ago [\#352919](#352919) by [li\_gordon](/forum/user/32895-li-gordon "View li&#95;gordon's Profile")  Replied by *[li\_gordon](/forum/user/32895-li-gordon "View li&#95;gordon's Profile")* on topic *[order is being set to CANCELLED on payment](/forum/29-payment-methods/906639-order-is-being-set-to-cancelled-on-payment#352919 "-- HikaShop version -- : 4.7.4 -- Joomla version -- : 4.2 -- PHP version -- : 7.4  After payment is CONFIRMED, the order is being set to CANCELLED  Order:   gam-anon.org/mm4/literature-summary/shop...order&#95;token-DdIM9qFw  I have attached images of the email that I received that it was CANCELLED  The payment settings in the system, Cancelled is only if it is invalid  thank you, Laura")*

Here is my order link:
[ gam-anon.org/mm4/literature-summary/shop...order\_token-2YiQQO38](https://gam-anon.org/mm4/literature-summary/shopping-cart/order/show/cid-1578/order_token-2YiQQO38)

I used the CREDIT CARD option for payment.

Here is the payment log file.

Once you review, can you 'hide' this log file from public view?

My personal information is in it.

At a quick glance I can see the errors:
07.01.23 11:47:50

5WX90003VA920401T
07.01.23 11:47:50

{"error":"invalid_client","error_description":"Client Authentication failed"}
07.01.23 11:47:50

5WX90003VA920401T
07.01.23 11:47:50

Notice: Undefined variable: response in /home/customer/www/gam-anon.org/public_html/mm4/plugins/hikashoppayment/paypalcheckout/paypalcheckout.php on line 876

thanks,
Laura

Last edit: 3 years 4 months ago by [nicolas](/forum/user/63-nicolas "View nicolas's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy85MDY2Mzktb3JkZXItaXMtYmVpbmctc2V0LXRvLWNhbmNlbGxlZC1vbi1wYXltZW50P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) 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: 86587
- Thank you received: 14325
-
-

3 years 4 months ago [\#352932](#352932) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[order is being set to CANCELLED on payment](/forum/29-payment-methods/906639-order-is-being-set-to-cancelled-on-payment#352932 "-- HikaShop version -- : 4.7.4 -- Joomla version -- : 4.2 -- PHP version -- : 7.4  After payment is CONFIRMED, the order is being set to CANCELLED  Order:   gam-anon.org/mm4/literature-summary/shop...order&#95;token-DdIM9qFw  I have attached images of the email that I received that it was CANCELLED  The payment settings in the system, Cancelled is only if it is invalid  thank you, Laura")*

Hi,

This debug log basically says that either the client id or the client secret are wrong.
Just to make sure:
- donwload again the install package of HikaShop 4.7.4 on our website and install it on yours to make sure you have all the latest patchs.
- use the "connect" button of the settings page of your payment method to connect it to your PayPal account. This should avoid having an authentication failure.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy85MDY2Mzktb3JkZXItaXMtYmVpbmctc2V0LXRvLWNhbmNlbGxlZC1vbi1wYXltZW50P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[li\_gordon](/forum/user/32895-li-gordon "View li&#95;gordon's Profile")**
- [![li&#95;gordon's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/32895-li-gordon "View li&#95;gordon's Profile") Topic Author
- [ Offline](/forum/user/32895-li-gordon)

Less More

- Posts: 25
- Thank you received: 2
-
-

3 years 4 months ago [\#352939](#352939) by [li\_gordon](/forum/user/32895-li-gordon "View li&#95;gordon's Profile")  Replied by *[li\_gordon](/forum/user/32895-li-gordon "View li&#95;gordon's Profile")* on topic *[order is being set to CANCELLED on payment](/forum/29-payment-methods/906639-order-is-being-set-to-cancelled-on-payment#352939 "-- HikaShop version -- : 4.7.4 -- Joomla version -- : 4.2 -- PHP version -- : 7.4  After payment is CONFIRMED, the order is being set to CANCELLED  Order:   gam-anon.org/mm4/literature-summary/shop...order&#95;token-DdIM9qFw  I have attached images of the email that I received that it was CANCELLED  The payment settings in the system, Cancelled is only if it is invalid  thank you, Laura")*

Thank you. To confirm I re-downloaded hikashop just yesterday. After you made some patch fixes, so I know I have the most recent version.

I'm working with my client to do the 'connect option' in the paypal checkout plugin, and I'll see if that works.

As an fyi... I understand that the log says that it isn't connected, but I did receive an email from PAYPAL that the payment WAS PROCESSED, as the customer... but I don't see the most recent amount in my credit card statement yet, so maybe it did not go through.

thanks,
Laura

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy85MDY2Mzktb3JkZXItaXMtYmVpbmctc2V0LXRvLWNhbmNlbGxlZC1vbi1wYXltZW50P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[li\_gordon](/forum/user/32895-li-gordon "View li&#95;gordon's Profile")**
- [![li&#95;gordon's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/32895-li-gordon "View li&#95;gordon's Profile") Topic Author
- [ Offline](/forum/user/32895-li-gordon)

Less More

- Posts: 25
- Thank you received: 2
-
-

3 years 4 months ago [\#353015](#353015) by [li\_gordon](/forum/user/32895-li-gordon "View li&#95;gordon's Profile")  Replied by *[li\_gordon](/forum/user/32895-li-gordon "View li&#95;gordon's Profile")* on topic *[order is being set to CANCELLED on payment](/forum/29-payment-methods/906639-order-is-being-set-to-cancelled-on-payment#353015 "-- HikaShop version -- : 4.7.4 -- Joomla version -- : 4.2 -- PHP version -- : 7.4  After payment is CONFIRMED, the order is being set to CANCELLED  Order:   gam-anon.org/mm4/literature-summary/shop...order&#95;token-DdIM9qFw  I have attached images of the email that I received that it was CANCELLED  The payment settings in the system, Cancelled is only if it is invalid  thank you, Laura")*

We did the following:

1. used the CONFIRM PAYPAL BUTTON this time to connect hikashop to paypal
2. I processed an order
3. I do not see the 'view of payment options'
4. I went to my email and clicked PAYNOW

I received the following error on the page after I clicked paypal
Notice: Trying to get property 'user_email' of non-object in /home/customer/www/gam-anon.org/public_html/mm4/plugins/hikashoppayment/paypalcheckout/paypalcheckout.php on line 960
Please select a payment method

This is the SAME ERROR that I had a few days ago, that I mentioned... is there something going on with the user_email address field???

[ ![paypal-error.png](/forum/attachment/57323) ](/forum/attachment/57323 "paypal-error.png")

- [ ![paypal-error.png](/forum/attachment/57323) ](/forum/attachment/57323 "paypal-error.png") [ ](/forum/attachment/57323?download=1 "paypal-error.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy85MDY2Mzktb3JkZXItaXMtYmVpbmctc2V0LXRvLWNhbmNlbGxlZC1vbi1wYXltZW50P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[li\_gordon](/forum/user/32895-li-gordon "View li&#95;gordon's Profile")**
- [![li&#95;gordon's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/32895-li-gordon "View li&#95;gordon's Profile") Topic Author
- [ Offline](/forum/user/32895-li-gordon)

Less More

- Posts: 25
- Thank you received: 2
-
-

3 years 4 months ago [\#353017](#353017) by [li\_gordon](/forum/user/32895-li-gordon "View li&#95;gordon's Profile")  Replied by *[li\_gordon](/forum/user/32895-li-gordon "View li&#95;gordon's Profile")* on topic *[order is being set to CANCELLED on payment](/forum/29-payment-methods/906639-order-is-being-set-to-cancelled-on-payment#353017 "-- HikaShop version -- : 4.7.4 -- Joomla version -- : 4.2 -- PHP version -- : 7.4  After payment is CONFIRMED, the order is being set to CANCELLED  Order:   gam-anon.org/mm4/literature-summary/shop...order&#95;token-DdIM9qFw  I have attached images of the email that I received that it was CANCELLED  The payment settings in the system, Cancelled is only if it is invalid  thank you, Laura")*

I GOT IT!!! I tried again and I found the SECRET had a SPACE IN IT!

The orders are now set automatically to CONFIRMED!!!

Please mark this as SOLVED.

thanks,
Laura

The following user(s) said Thank You: [nicolas](/forum/user/63-nicolas "View nicolas's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy85MDY2Mzktb3JkZXItaXMtYmVpbmctc2V0LXRvLWNhbmNlbGxlZC1vbi1wYXltZW50P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) 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.093 seconds

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