Another offline payment and automatical paid status

  • Téglás Gergely
  • Topic Author
  • Offline
  • New Member
  • New Member
More
6 years 6 months ago #113464 by Téglás Gergely
Another offline payment and automatical paid status was created by Téglás Gergely
Hello OS Solution!

Another offline payment plugin:
I would like to ask how can I make another offline payment "plugin"?
I try to duplicate the os_offline files (php and xml) and install it: the installation worked and the new payment detected but if someone payed through this he didn't get into the Donor's list and wasn't counted by the system.
Something more need to be modified in the code?

Automatic paid status for offline payments:
Where can I change it in the code to every offline payments immediately turn into "Paid" and be counted by the system?

Thanks,
Gergely

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

More
6 years 6 months ago #113520 by Mr. Dam
Hi Gergely,
I guest you are turning off Configure option: Show Pending donor. That's the reason the donors (who using Offline payment) aren't show in Donor list.
Thanks
Dam

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

  • Téglás Gergely
  • Topic Author
  • Offline
  • New Member
  • New Member
More
6 years 6 months ago #113546 by Téglás Gergely
Replied by Téglás Gergely on topic Another offline payment and automatical paid status
Thanks Dam,

and how can be set that after offline donation the status automatically turns into "Paid" instead of default "Unpaid".

Thanks,
Gergely

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

  • Téglás Gergely
  • Topic Author
  • Offline
  • New Member
  • New Member
More
6 years 6 months ago #113725 by Téglás Gergely
Replied by Téglás Gergely on topic Another offline payment and automatical paid status
Dear Dam,
sorry, my previous post might have been a question.
Do you have any idea of making status of offline payment automatically "paid"?

Thanks,
Gergely

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

More
6 years 6 months ago #113761 by Mr. Dam
Hi Gergely,
Please submit ticket and i will send you another copied version of Offline payment.
By the way, you can modify function "processPayment" to apply status "Paid" with donation records.
Thanks
Dam

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

  • Téglás Gergely
  • Topic Author
  • Offline
  • New Member
  • New Member
More
6 years 6 months ago #114019 by Téglás Gergely
Replied by Téglás Gergely on topic Another offline payment and automatical paid status
Hello Dam,

it seems I could find the solution for automatic paid status of offline payments:
com_jdonation/model/donation.php row 46 $row->published = 0; changed to "1"

Thanks,
Gergely

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

More
6 years 6 months ago #114067 by Mr. Dam
Ok Gergely

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

Moderators: Mr. DamDũng Nguyễn Việt