Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

All other Modules /

Discuss all other Modules here.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

issues with confirmation page when registering for an event


Go to End


4 Posts   2302 Views

Avatar
the_ehb

Community Member, 8 Posts

16 April 2011 at 7:18pm

when i get to the confirmation page, while registering for an event, i get two labels overlapping (see attached screenshot). The word Amount and the total price, right below the payment method, are being rendered/displayed on top of each other so you cannot read either one. I have looked through all of the .SS files everywhere and have not been able to find where the error is. Any ideas?

I have SS 2.4.5 with ecommerce, payment, paypal payment, event calendar, and event registration modules installed, with all required dependency modules.

Avatar
the_ehb

Community Member, 8 Posts

28 April 2011 at 6:01am

Edited: 28/04/2011 7:54am

60 views and nobody has an idea or even a response? I am now having even more issues because I cannot process payments via paypal and get a silverstripe error that states "Sorry, there was a problem with handling your request." No payments are going through and this is very bad because the site needs to be live in less than 24 hrs! Any help is greatly appreciated!!!!!

Avatar
the_ehb

Community Member, 8 Posts

28 April 2011 at 7:26am

This is the error i receive when used dev mode and try to process a paypal payment.

[Warning] Invalid argument supplied for foreach()
POST /calendar/ball-hard-intro-camp2/details/91/register/RegisterForm?MultiFormSessionID=eebb8b687724c521b9930b43ffc19c9eb7a9d828

Line 171 in /home/content/48/5436148/html/ballharde/payment/code/PayPalPayment/PayPalPayment.php
Source

162 // 2) Main Settings
163
164 $url = self::$test_mode ? self::$test_url : self::$url;
165 $inputs['cmd'] = '_cart';
166 $inputs['upload'] = '1';
167
168 // 3) Items Informations
169
170 $cpt = 0;
171 foreach($items as $item) {
172 $inputs['item_name_' . ++$cpt] = $item->TableTitle();
173 // item_number is unnecessary
174 $inputs['amount_' . $cpt] = $item->UnitPrice();
175 $inputs['quantity_' . $cpt] = $item->Quantity;
176 }
177

Trace

* PayPalPayment->PayPalForm()
Line 131 of PayPalPayment.php
* PayPalPayment->processPayment(Array,EventRegisterForm)
Line 77 of EventRegisterPaymentStep.php
* EventRegisterPaymentStep->validateStep(Array,EventRegisterForm)
Line 82 of EventRegisterForm.php
* EventRegisterForm->finish(Array,EventRegisterForm,SS_HTTPRequest)
Line 332 of Form.php
* Form->httpSubmission(SS_HTTPRequest)
Line 143 of RequestHandler.php
* RequestHandler->handleRequest(SS_HTTPRequest)
Line 161 of RequestHandler.php
* RequestHandler->handleRequest(SS_HTTPRequest)
Line 147 of Controller.php
* Controller->handleRequest(SS_HTTPRequest)
Line 199 of ContentController.php
* ContentController->handleRequest(SS_HTTPRequest)
Line 161 of RequestHandler.php
* RequestHandler->handleRequest(SS_HTTPRequest)
Line 147 of Controller.php
* Controller->handleRequest(SS_HTTPRequest)
Line 199 of ContentController.php
* ContentController->handleRequest(SS_HTTPRequest)
Line 161 of RequestHandler.php
* RequestHandler->handleRequest(SS_HTTPRequest)
Line 147 of Controller.php
* Controller->handleRequest(SS_HTTPRequest)
Line 199 of ContentController.php
* ContentController->handleRequest(SS_HTTPRequest)
Line 184 of ContentController.php
* ContentController->handleRequest(SS_HTTPRequest)
Line 67 of ModelAsController.php
* ModelAsController->handleRequest(SS_HTTPRequest)
Line 282 of Director.php
* Director::handleRequest(SS_HTTPRequest,Session)
Line 125 of Director.php
* Director::direct(/calendar/ball-hard-intro-camp2/details/91/register/RegisterForm)
Line 127 of main.php

Avatar
nat.pike

Community Member, 21 Posts

15 November 2012 at 9:17am

Hi there,

I have the exact same problem/error - did you get this fixed at all?

Cheers

Natalie