Skip to content

Camptix_Payment::get_order() should return the first user as the attendee_id#1546

Closed
dd32 wants to merge 2 commits intoproductionfrom
fix/get_order_attendee_id
Closed

Camptix_Payment::get_order() should return the first user as the attendee_id#1546
dd32 wants to merge 2 commits intoproductionfrom
fix/get_order_attendee_id

Conversation

@dd32
Copy link
Member

@dd32 dd32 commented Oct 29, 2025

At present CampTix_Payment_Method::get_order() returns the LAST attendee added as part of the transaction as the attendee_id.

This is usually incorrect, as the first user is often the person purchasing the ticket, and in the case of requiring user logins, will always be the purchaser.

Partially related to #1427

dd32 added 2 commits October 29, 2025 16:00
…ndee_id

At present CampTix_Payment_Method::get_order() returns the LAST attendee added as part of the transaction as the attendee_id.

This is usually incorrect, as the first user is often the person purchasing the ticket, and in the case of requiring user logins, will always be the purchaser.
@dd32
Copy link
Member Author

dd32 commented Oct 31, 2025

This would break some implementations which store metadata against only the attendee_id, #1551 might be a better route.

@dd32 dd32 closed this Oct 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments