OXID Community Forum

> International Forums > Developers > register new user even if vat id wrong
Login
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Thread: register new user even if vat id wrong


Reply
 
Thread Tools Search this Thread Display Modes
#Top   #1  
Old 02-20-2017, 04:39 PM
gdabrowski gdabrowski is offline
Junior Member
Join Date: Oct 2016
Posts: 4
gdabrowski is on a distinguished road
Default register new user even if vat id wrong

Hello.

I'm working on a fully functional site which requires a valid vat id to register an account. It is checked against http://ec.europa.eu/taxation_customs...atService.wsdl

I need to allow the registration to be completed if the above service is not responding but add a warning to the confirmation email.

My condition is checked in _checkOnline() and more specifically by the _isServiceAvailable() method in
http://docu.oxid-esales.com/CE/sourc...ce.html#l00165

I'm gonna overload the _checkOnline() method.
Line 238 will be return true, but my question is:

How can I add some parameter before the return by which I can later determine if the warning needs to be added to the email?

Thanks, Greg.
Reply With Quote
#Top   #2  
Old 02-20-2017, 04:46 PM
vanilla thunder's Avatar
vanilla thunder vanilla thunder is online now
Marco's Sidekick
Join Date: Nov 2010
Posts: 6,358
vanilla thunder is on a distinguished road
Default AW: register new user even if vat id wrong

you can store anything you want in php session
Reply With Quote
#Top   #3  
Old 02-20-2017, 05:01 PM
gdabrowski gdabrowski is offline
Junior Member
Join Date: Oct 2016
Posts: 4
gdabrowski is on a distinguished road
Default Re: AW: register new user even if vat id wrong

Thank you, I tried to access the session before with different methods but now oxRegistry::getSession finally worked.
Reply With Quote
Reply

Bookmarks

Tags
register, user, vat, wrong

« Previous Thread | Next Thread »
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Nicht Sichtbar
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Logging in to a user account with the user's eMail-address and master admin's password avenger Modules 12 02-27-2016 02:08 PM
User registration causes session loss and redirect to wrong page - how to solve? mikeschaekermann Developers 3 08-21-2013 03:13 AM
Register user button gnomic Newbies 2 03-25-2013 06:45 PM
register birtday? smisonline2 Installation and configuration 1 02-12-2013 11:51 AM
You are here: / Register NHWS Templates and Design 1 10-18-2012 08:28 PM

All times are GMT +1. The time now is 02:20 PM.