Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Suggested answer

Free event and event passes

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
    A.Serie 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
    cloflyMao 25,198 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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans