Hi -- looking for suggestions.
Migrating a site from SOAP to REST; client has an automatic donation set up when reserving seats. The automatic donation is set to go to a fund which is tied to a membership.
This is causing problems because the patron has not yet logged in, so adding the membership fails. GENERAL_PUBLIC_OPERATION_NOT_ALLOWED; Operation not allowed in general public mode.
In the old world, I'd be logged in as the anonymous web user and then transfer the cart after login. I'm trying to avoid that... is there a better way? My other thought was to make an alternate fund for use before the patron logs in, then switch the donation on the server after they log in.
Any ideas or suggestions are appreciated.
-- Alan
Hi Alan. I conferred with development on this question and your expierence is indeed expected behavior. There are complexities around what to do with the membership that is created under various scenarios that make this challenging with customer 0. It is unclear if this behavior will change with the membership refactor coming with v16. Your options right now are to add the contribution to the cart at a later point in the purchase path after login or to continue to use the old way of using an anonymous user instead of constituent 0.
Hope that helps!
--Matt
Thanks. That's what it looked like to me.