EB PayU - Order with given extOrderId already exists

  • Vladimír Tvardek
  • Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 1 week ago - 5 years 1 week ago #133865 by Vladimír Tvardek
EB PayU - Order with given extOrderId already exists was created by Vladimír Tvardek
I started preparing and testing another payment module for PayU, this time for the Event Booking component. It exhibits the same problem as the recently created Payment Form module
(Order with given extOrderId already exists)
This line causes the problem again
$ order = $ row-> id;
Is there anything you can do about it?

Maybe there will be the same problem with other modules such as membership, etc.
Last edit: 5 years 1 week ago by Vladimír Tvardek.

Please Log in or Create an account to join the conversation.

More
5 years 1 week ago #133875 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic EB PayU - Order with given extOrderId already exists
Hello

I updated the plugin to add Order Prefix parameter, too

You can access to My Downloads menu item, download the plugin to use it and it will be fine

Tuan

Please Log in or Create an account to join the conversation.

  • Vladimír Tvardek
  • Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 1 week ago - 5 years 1 week ago #133878 by Vladimír Tvardek
Replied by Vladimír Tvardek on topic EB PayU - Order with given extOrderId already exists
It no longer has a problem idorders, it currently reports error ERROR_ORDER_NOT_UNIQUE - Order with given extOrderId already exists
or

ERROR_INCONSISTENT_CURRENCIES - Order and pos currencies are inconsistent

the currency PLN remained fixed in the PHP file, as it would be good to load it from the settings as in the previous module.
writes, but the payment remains unpaid
Last edit: 5 years 1 week ago by Vladimír Tvardek.

Please Log in or Create an account to join the conversation.

More
5 years 1 week ago #133888 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic EB PayU - Order with given extOrderId already exists
Hello

I modified code of the payment plugin to get currency from Configuration. Please access to My Downloads menu item, download latest package of the payment plugin, update it to your site and check it again?

Please note that you will need to go to Events Booking -> Configuration, set Currency config option to the right currency (supported by PLN account)

Regards,

Tuan

Please Log in or Create an account to join the conversation.

  • Vladimír Tvardek
  • Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 6 days ago #133890 by Vladimír Tvardek
Replied by Vladimír Tvardek on topic EB PayU - Order with given extOrderId already exists
Good day.

A little more doesn't work there yet. Payment will be fine but the return is with this error

"omething went wrong, you are NOT successfully registered"

The registration is registered correctly, but the registration status remained = red cross

The following entries appear in the eb_registrants table after the transaction: transaction_id logged, payment_date = NULL, payment_method logged, payment_status = 1, register_date OK, payment_date = NULL, published = 0

After manually changing the value to published = 1, then the registration status is OK, paid OK.

Please Log in or Create an account to join the conversation.

More
5 years 6 days ago #133898 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic EB PayU - Order with given extOrderId already exists
Hello

Please:

1. Click on os_payu payment plugin to edit, set Log IPN Messages parameter to Yes

2. Then try to register again, make payment

Once the change is done, please submit a support ticket sending us super admin account of the site so that I can check the log to see why the issue happens and get it sorted

Tuan

Please Log in or Create an account to join the conversation.

  • Vladimír Tvardek
  • Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 6 days ago #133901 by Vladimír Tvardek
Replied by Vladimír Tvardek on topic EB PayU - Order with given extOrderId already exists
Did not help:
still reports error: Something went wrong, you are NOT successfully registered
Ad2 - I admit that I do not know how to send the required log.

Please Log in or Create an account to join the conversation.

More
5 years 6 days ago #133902 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic EB PayU - Order with given extOrderId already exists
Hi

Please go to joomdonation.com/support-tickets.html , submit a support ticket sending us super admin account of your site so that I can check the logs myself

Tuan

Please Log in or Create an account to join the conversation.

Moderators: Tuan Pham Ngoc