Booking System with Payments for Events

curtis shannon asked on December 9, 2014 19:28

Booking System Payment We would like to build a system where users can register for an event and pay its fee via credit/debit card (PayPal).

Scenerio : User will view forthcoming events and clicks on register. On register button click, he/she must be redirected to gateway where amount will be debited from his account.

Is there any way to achieve this functionality?

Correct Answer

Brenden Kehren answered on December 9, 2014 20:23

Have you read this Article yet?

0 votesVote for this answer Unmark Correct answer

Recent Answers


Virgil Carroll answered on December 10, 2014 00:41

I just did this on a project. Take a look at the article Brendan and you can use it with the default PayPal provider. Works well, but realize that you will probably have to modify some to meet your unique scenario. I know I had to extend the example quite a bit to grab all the event info we wanted into the order object.

0 votesVote for this answer Mark as a Correct answer

curtis shannon answered on December 10, 2014 14:04

First, thanks to all that replied.

I followed the instructions in the article, but being new to this, I still have questions not covered by the article. Not sure what to do after following the instructions to get this working.

  1. Does this require that the ecommerce with a shopping cart be set up and running?
  2. Would we need to run the Booking System and Ecommerce in order to have Events with Payments?

It would be nice if the article listed everything that is needed to implement this.

0 votesVote for this answer Mark as a Correct answer

Brenden Kehren answered on December 10, 2014 15:18

The shopping cart will need to be setup.

The article talks about using Event (booking system) so yes that would be used as well.

0 votesVote for this answer Mark as a Correct answer

curtis shannon answered on December 11, 2014 17:31

I followed the steps in the article, but cannot figure out where to create the transformation. I am using version 8.1

  1. Create a new product document of type “Event (booking system)” in the content tree, go to the Document (Page) types -> Event (booking system) -> Transformations tab, and modify or create transformation to show the button for adding a booking event to the shopping cart, see another product’s transformation for more details.

I wish the article walked through setting up everything..... When I click the add to cart button, nothing happens....

<uc1:CartItemSelector id="cartItemSelector" runat="server" SKUID='<%# ValidationHelper.GetInteger(Eval("SKUID"), 0) %> ' SKUEnabled=' <%# ValidationHelper.GetBoolean(Eval("SKUEnabled"), true) %> ' AddToCartImageButton="addtocart.gif" AddToCartLinkText="Add to shopping cart" />

0 votesVote for this answer Mark as a Correct answer

Juraj Ondrus answered on December 12, 2014 13:40

Hi,

How is the shopping cart and checkout process configured on your web site? This is the second part of the configuration. The article is just proof of concept how to allow the events to be products. The pre-requisite is that the e-commerce part of the system is configured.

Best regards,
Juraj Ondrus

0 votesVote for this answer Mark as a Correct answer

curtis shannon answered on December 12, 2014 13:51

Thanks Juraj,I followed the steps in the article while using the sample Corporate Site.

It already has the ecommerce piece setup.

I modified the EventRegisitrationDetail (Event (booking system) transformation to include the following, my only issue is that when I click add to cart, nothing happens.

<uc1:CartItemSelector id="cartItemSelector" runat="server" SKUID='<%# ValidationHelper.GetInteger(Eval("SKUID"), 0) %> ' SKUEnabled=' <%# ValidationHelper.GetBoolean(Eval("SKUEnabled"), true) %> ' AddToCartImageButton="addtocart.gif" AddToCartLinkText="Add to shopping cart" />

I am trying to implement this as a proof of concept that our company can use Kentico for promoting paid events.

0 votesVote for this answer Mark as a Correct answer

Juraj Ondrus answered on December 15, 2014 13:45

Hi Curtis,

How is the event document configured? Is it showing the SKU tab just like for other e-commerce products? This is very strange. I have just followed the article on the sample Corporate site template and it is working fine without any additional settings.

Best regards,
Juraj Ondrus

0 votesVote for this answer Mark as a Correct answer

curtis shannon answered on December 16, 2014 14:07

The event document does show the SKU tab just like other e-commerce products. Everything in the article works, the issue is when I click the add to cart button, nothing happens.

Is the EventRegisitrationDetail (booking system) transformation the one to modify?

0 votesVote for this answer Mark as a Correct answer

Juraj Ondrus answered on December 17, 2014 13:57

Hi,

Could you please describe me the settings for the shopping cart page path set in the settings and also the checkout process settings? Are there any errors in the event log? Also, please check the browser console to see if there are any errors.

Best regards,
Juraj Ondrus

0 votesVote for this answer Mark as a Correct answer

Chandrababu Nambi answered on January 27, 2015 16:26 (last edited on January 28, 2015 06:00)

Hi Juraj,

I am working on the same implementation.I am getting the same issue. As per my analysis,There are two events getting triggered.

1)Selecting an Event from the "Calender of events".

2)Add to Cart

While debugging the code in FileName:-"ShoppingCartItemSelector.ascx.cs"

MethodName:"AddProductToShoppingCart"

Code:

if (!IsValid() || (SKU == null))

    {
        // Do not proces

        return;
    }

Here "SKU" is always null even if the "SKU "tab is present for EVENTS(Booking System)
Can You Guys please help me on this ?

0 votesVote for this answer Mark as a Correct answer

Juraj Ondrus answered on February 5, 2015 12:29

Hello,

Does it work for normal products, SKUs? I do not see if this is related just to the modification or not.

0 votesVote for this answer Mark as a Correct answer

Chandrababu Nambi answered on February 18, 2015 07:47

hi,

I was able to implement it for kentico7,will the package of "Events as products in Kentico 8" work fine for kentico 8.2 ?.

0 votesVote for this answer Mark as a Correct answer

Juraj Ondrus answered on February 21, 2015 17:45

Hi,

There could have been some minor API changes that may be taken into account. However, the idea is still the same.

0 votesVote for this answer Mark as a Correct answer

Chandrababu Nambi answered on February 23, 2015 06:58

My shopping Cart button is not visible,even after copying the code of button to transformations?.

0 votesVote for this answer Mark as a Correct answer

Chandrababu Nambi answered on February 23, 2015 13:18

hi Juraj,

i am not able to find the difference ,i am getting the sku tab when i create the event but in code "sku" is not getting set to a value.Shopping cart button is not visible in the events page .I have copied the proper transformation code for shopping cart button.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.