Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested answer

Free event and event passes

(0) ShareShare
ReportReport
Posted on by 35

Hi community,

Is there any way to use event passes for free cost event?

E.g we have created event with couple of sessions and couple of passes (session 1 under pass 1 and session 2 under pass 2) Then we give both passes 0€ price, but in Dynamics portal when selecting one of those 0€ cost passes and trying to register the payment pop up. 

so wondering is there any way to use passes with free events, without the payment gateway?

  • A.Serie Profile Picture
    61 on at
    Free event and event passes
    Mika - Were you ever able to implement this change? Did you use the provided suggestion or find another way?

    @clofyMao - I'm trying to do the same thing to our event portal; If we were to try your suggestion, where could I access the code you are referencing?
  • Suggested answer
    cloflyMao Profile Picture
    25,202 on at
    RE: Free event and event passes

    Hi Mika,

    Currently we need knowledge of Angular to ahieve your requirement.

    The total price will be calcuated in eventregistration.component.ts, (get the value in browserSessionService.getRegistrationTotal() function)

    You could take following steps as reference:

    1. In following modified code, registerToEvent function(It already existed in default file, I just changed code inside the function) will be executed when we click "Checkout" button

    it will only navigate user to payment gateway when total price is greater than 0.

    pastedimage1582275007434v1.png

    2. Execute logic in finalizePurchase(in payment.demo.ts) directly in previous else condition.

    pastedimage1582276122432v3.png

    You should modify your own finalizePurchase(actually finalizeRegistration) function to complete final registration.

    (I have only trial marketing application environment, which I can't test real payment gateway feature. )

    In other word, you still need to modify your own payment gateway code to skip payment process based on value from browserSessionService.getRegistrationTotal().

    Regards,

    Clofly

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 293,276 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,975 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans