web
You’re offline. This is a read only version of the page.
close
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?

I have the same question (0)
  • Suggested answer
    cloflyMao Profile Picture
    25,210 on at

    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

  • A.Serie Profile Picture
    61 on at
    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?

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 74 Super User 2025 Season 2

#2
Daniyal Khaleel Profile Picture

Daniyal Khaleel 32 Most Valuable Professional

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 31 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans