Skip to content

## SMART CONTRACT: Add Affiliate Support to Ticket Payments #1149

Description

@OSEH-svg

Description

Extend the ticket payment flow to support affiliate commissions. When an affiliate address is provided during ticket purchase, a configurable percentage of the payment should be sent directly to the affiliate while the remaining funds are distributed as normal.

Tasks

  • Add an optional affiliate_address parameter to the ticket purchase function
  • Calculate affiliate commission based on the configured percentage
  • Transfer commission to the affiliate wallet
  • Ensure normal payment flow remains unchanged when no affiliate is supplied
  • Add unit tests

Acceptance Criteria

  • Affiliate commissions are paid correctly.
  • Standard ticket purchases continue working without affiliates.
  • Contract tests cover both successful and invalid scenarios.
  • Commission calculations are accurate.

Depends on: None

Activity

  1. barnabasolutayo-lgtm commented on Jul 30, 2026

    @barnabasolutayo-lgtm

    @barnabasolutayo-lgtm has applied to work on this issue as part of the Stellar Wave Program's 7th wave.

    Please assign this issue to me. Thank you so much

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @barnabasolutayo-lgtm to this issue.

  2. akinboyewaSamson commented on Jul 30, 2026

    @akinboyewaSamson
    Contributor

    @akinboyewaSamson has applied to work on this issue as part of the Stellar Wave Program's 7th wave.

    Hello maintainer, i would love to work on this

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @akinboyewaSamson to this issue.

  3. Truphile commented on Jul 30, 2026

    @Truphile

    @Truphile has applied to work on this issue as part of the Stellar Wave Program's 7th wave.

    Hi, I'd like to take this one. I'm a returning contributor and I'm familiar with the project's conventions, so I'll keep the implementation aligned with the existing architecture rather than introducing new patterns.

    My approach will be to trace the affected execution path end-to-end, identify the minimal change set, preserve backwards compatibility, and add regression coverage around the modified behaviour. I'll also validate edge cases, error handling, and any cross-module interactions before submitting the PR, keeping the scope focused on the acceptance criteria unless I find a closely related issue worth addressing separately.

    I'll reference the issue in the PR, include implementation notes, and attach the relevant test results.

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @Truphile to this issue.

  4. Heazzy500 commented on Jul 30, 2026

    @Heazzy500
    Contributor

    @Heazzy500 has applied to work on this issue as part of the Stellar Wave Program's 7th wave.

    my applications

    Hello Maintainer, I’ve reviewed the issue description and I’m confident I can work on it effectively. Please assign it to me.

    Hi! I’d love to contribute to this issue. It looks interesting and I’d be happy to take it on if it’s still available.

    Hello, I’ve gone through the requirements and I’m confident I can implement a proper solution that matches the acceptance criteria. Kindly assign this issue to me.

    Hi Maintainer, I’d like to work on this issue. I have experience handling similar tasks and can start immediately.

    Hello, I’m interested in working on this issue and would appreciate being assigned to it. Thank you.

    Hi there, I carefully reviewed the issue details and I’m confident I can deliver a clean and efficient solution.

    Hello Maintainer, I’d love to take ownership of this issue and submit a high-quality pull request once completed.

    Hi, I’m a full-stack Web2 & Web3 developer with open-source contribution experience, and I’d be glad to work on this issue.

    Hello, this issue aligns well with my skill set and I’m confident I can resolve it properly. Please assign it to me.

    Hi Maintainer! I’m interested in contributing to this task and can ensure timely delivery with clean implementation.

    Hello, I’ve thoroughly read the issue description and understand the expected outcome. I’d love to work on it.

    Want me to clean these up into one stronger template you can reuse?

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @Heazzy500 to this issue.

  5. opeolarewaju5-glitch commented on Jul 30, 2026

    @opeolarewaju5-glitch

    @opeolarewaju5-glitch has applied to work on this issue as part of the Stellar Wave Program's 7th wave.

    Hello maintainer, I can fix this issue

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @opeolarewaju5-glitch to this issue.

  6. OlaBakare commented on Jul 30, 2026

    @OlaBakare

    @OlaBakare has applied to work on this issue as part of the Stellar Wave Program's 7th wave.

    Hi, I would like to work on this issue. I can handle it.
    Thank you.

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @OlaBakare to this issue.

  7. Kaybee973 commented on Jul 30, 2026

    @Kaybee973

    @Kaybee973 has applied to work on this issue as part of the Stellar Wave Program's 7th wave.

    I’m interested in working on this issue and have experience fixing similar problems. I’d be happy to contribute.

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @Kaybee973 to this issue.

  8. deslawson commented on Jul 30, 2026

    @deslawson

    @deslawson has applied to work on this issue as part of the Stellar Wave Program's 7th wave.

    Id love to work on this

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @deslawson to this issue.

  9. OLAMIGHTY010 commented on Jul 30, 2026

    @OLAMIGHTY010

    @OLAMIGHTY010 has applied to work on this issue as part of the Stellar Wave Program's 7th wave.

    I would like to work on this project

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @OLAMIGHTY010 to this issue.

  10. chikawobishie-sketch commented on Jul 30, 2026

    @chikawobishie-sketch

    @chikawobishie-sketch has applied to work on this issue as part of the Stellar Wave Program's 7th wave.

    Hello maintainer, I will love to work on this issues, please assign it to me

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @chikawobishie-sketch to this issue.

  11. Fury03 commented on Jul 30, 2026

    @Fury03

    @Fury03 has applied to work on this issue as part of the Stellar Wave Program's 7th wave.

    I'd like to work on this issue. I've reviewed the requirements and have a clear implementation plan. If assigned, I'll submit a high-quality PR that follows the project's guidelines.

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @Fury03 to this issue.

  12. drips-wave commented on Jul 30, 2026

    @drips-wave

    Congratulations, @Heazzy500! 🎉 Your application was accepted by the repo's maintainers, and the issue is due on July 30, 2026.

    🧑‍💻 @Heazzy500: Please resolve the issue such that the repo's maintainers have enough time to review your contribution before the due date. You'll earn Points for completing the issue on-time, which will make you eligible for a share of the Stellar Wave Program's reward pool.

    Warning

    When opening a PR, please link it to this issue to ensure it gets tracked accurately. Points are awarded when this issue is marked as completed by the maintainer.

    🤠 Repo maintainers: Please keep an eye on the contributor's progress and review their work before the due date. You can manage this issue, including adjusting its complexity and points, here.

    🌊 Happy Wave 🌊

  13. 4 remaining items

  14. Okibe2002 commented on Aug 31, 2026

    @Okibe2002

    @Okibe2002 has applied to work on this issue as part of the Stellar Wave Program's 8th wave.

    I will implement a solution that adheres to the specified design requirements and satisfies all of the outlined acceptance criteria, while maintaining clean and maintainable code.

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @Okibe2002 to this issue.

  15. mikevill20 commented on Aug 31, 2026

    @mikevill20

    @mikevill20 has applied to work on this issue as part of the Stellar Wave Program's 8th wave.

    Hi Maintainer,
    I’ve carefully reviewed the issue requirements and the relevant documentation. I’m confident I can handle this task effectively and deliver a solid solution.

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @mikevill20 to this issue.

  16. femiolutayo commented on Aug 31, 2026

    @femiolutayo

    @femiolutayo has applied to work on this issue as part of the Stellar Wave Program's 8th wave.

    Please Maintainer, have mercy on me. Assign me this issue pls

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @femiolutayo to this issue.

  17. WallexCoder commented on Aug 31, 2026

    @WallexCoder

    @WallexCoder has applied to work on this issue as part of the Stellar Wave Program's 8th wave.

    i would like to take on this point

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @WallexCoder to this issue.

  18. Hibhee01 commented on Aug 31, 2026

    @Hibhee01

    @Hibhee01 has applied to work on this issue as part of the Stellar Wave Program's 8th wave.

    Hi Maintainer, I’ve taken some time to review the issue and understand the work involved. I’m ready to take this on and will make sure the final solution aligns with the requirements. I’d appreciate the assignment.

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @Hibhee01 to this issue.

  19. pelumixxril commented on Aug 31, 2026

    @pelumixxril

    @pelumixxril has applied to work on this issue as part of the Stellar Wave Program's 8th wave.

    Hello sir Maintainer,
    I have vast knowledge on getting this particular type of issue done within the expected time sir,kindly do well to assign this to me sir❤️.
    Thank you sir.🙏

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @pelumixxril to this issue.

  20. emmyafolly123-coder commented on Aug 31, 2026

    @emmyafolly123-coder

    @emmyafolly123-coder has applied to work on this issue as part of the Stellar Wave Program's 8th wave.

    SMART CONTRACT: Add Affiliate Support to Ticket Payments

    #1149

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @emmyafolly123-coder to this issue.

  21. Ikechukwu-Patrick commented on Sep 23, 2026

    @Ikechukwu-Patrick

    @Ikechukwu-Patrick has applied to work on this issue as part of the Stellar Wave Program's 9th wave.

    Hello Maintainer, please I would love to work on this task, i have reviewed it, is what i can do as a full-stack developer.

    Please 🙏, Maintainer i need this task .

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @Ikechukwu-Patrick to this issue.

  22. simonpeters298 commented on Sep 23, 2026

    @simonpeters298

    @simonpeters298 has applied to work on this issue as part of the Stellar Wave Program's 9th wave.

    Hi Maintainer! I'd like to work on this issue. I'm confident I can complete this task and submit a PR within 24 hours.

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @simonpeters298 to this issue.

  23. ONEONUORA commented on Sep 24, 2026

    @ONEONUORA
    Contributor

    @ONEONUORA has applied to work on this issue as part of the Stellar Wave Program's 9th wave.

    Hi
    I am a full stack Blockchain developer with 5 years of experience
    I believe i can handle this issue

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @ONEONUORA to this issue.

  24. drips-wave commented on Sep 24, 2026

    @drips-wave

    Congratulations, @ONEONUORA! 🎉 Your application was accepted by the repo's maintainers, and the issue is due on September 30, 2026.

    🧑‍💻 @ONEONUORA: Please resolve the issue such that the repo's maintainers have enough time to review your contribution before the due date. You'll earn Points for completing the issue on-time, which will make you eligible for a share of the Stellar Wave Program's reward pool.

    Warning

    When opening a PR, please link it to this issue to ensure it gets tracked accurately. Points are awarded when this issue is marked as completed by the maintainer.

    🤠 Repo maintainers: Please keep an eye on the contributor's progress and review their work before the due date. You can manage this issue, including adjusting its complexity and points, here.

    🌊 Happy Wave 🌊

  25. grantfox-oss commented on Sep 24, 2026

    @grantfox-oss

    🎉 This issue has been marked as completed on GrantFox!

    @ONEONUORA's PR #1479 was approved and merged by @Yunusabdul38.

    🏆 @ONEONUORA: You earned 35 FoxPoints for this contribution! Your current tier: Builder (1,025 total points). Track your full progress on GrantFox.

    👏 Great work, @ONEONUORA! Keep contributing to Agora-Events.

  26. drips-wave commented on Sep 24, 2026

    @drips-wave

    This issue has been completed by @ONEONUORA as part of the Stellar Wave Program's 9th Wave 🥳

    😎 @ONEONUORA: You earned 200 Points for completing this issue! After the current Wave ends, you'll be eligible for a percentage of the Wave's reward pool based on the percentage of total points you've earned. Learn more here. You can also Leave a review to share your experience working on this issue.

    🧑‍💻 Repo maintainers: How'd the contributor do? Leave a review to share your experience working with them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions