close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Create the Access rule

Thread began 10/21/2010 6:36 pm by kris517211073 | Last modified 11/09/2010 2:28 pm by kris517211073 | 5545 views | 34 replies |

kris517211073

Create the Access rule

i was creating access rule followed by the tutorial,
I open the access rule manager dialog box
give a name in the name field, in the value field, the tutorial tell me to enter "checkout" in the value field and enter 1 in the compare to field, but the thumbnail picture below in the tutorial page show php code in the value field, i so confuse do i enter 'checkout' in the value field or php code show in the picture?. why it show php code in the value field not the checkout or this picture just for demo no meaning?
i also apply Show Region to conditional text in login page but when redirect to login page this text doesn't show.
why this text not showing?
there was another problem when redirect to login page, i log it in from login page but checkout page won't be able to know it and take it back to login page again. i need a piece of code in checkout page but what it is?
why my checkout page won be able to tell it login or not?

i using checkout wizard to create login and checkout page, but checkout page only show billing and shipping info, No order info, How do i binding order info to order table before it check out,
i have attach picture below.
Please help me.

Sign in to reply to this post

Jason ByrnesWebAssist

when creating the access rule, the value is what shows the php code.

the Compare to shows the entered number 1.

For the value, you click the lightning bolt and select the dynamic checkout querystring variable. this creates the php code in the value box.

you set the compare to box to the static value "1".

In step 2 of the tutorial you add the page access rule to the checkout page, so that the checkout page will only be accessible if you are logged in.



That is correct the checkout page will not show the cart contents, it should not.


The cart contents will be shown on the confirm page, you should not be storing the cart in the database on the checkout page.

if you used the checkout wizard to create the checkout pages, it will set up the functions to store cart information for you.

Sign in to reply to this post

kris517211073

I Logged in form redirect login page, but checkout page won't be able to tell it already logged in, sent it back to log in page again. checkout page won't be access even it already logged in. what is wrong.
for the value i click the lighting bolt and select the checkout from the url variable and the code is <?php echo $_GET['checkout']; ?>, but is not the same as show in the tutorial page in tutorial page it say ;<?php echo ((isset($_GET['checkout']))?$_GET['checkout']:""); ?>
Please tell me why checkout page can not be access even i already logged in
Please help

Sign in to reply to this post

Jason ByrnesWebAssist

can you verify that session management is functioning correctly, use the sessionTest.php file from this post:
showpost.php?p=23826&postcount=2


also, could you send a copy of the checkout page so I can see the access rule code and a copy of the WA_SecurityAssist/helperGroupRulesPHP.php file in a zip archive.

Sign in to reply to this post

kris517211073

i have upload the test file to the server and test it, it has no problem it's show null first and when click the first link it's turn to test and click second link stay the same
here is my checkout page i have attach it below

Attached Files
checkout.zip
Sign in to reply to this post

Jason ByrnesWebAssist

i will also need your login page and the WA_SecurityAssist/HelperGroupRules.php file please.

Sign in to reply to this post

kris517211073

checkout page access

here is the file, and thanks for your help

Attached Files
helpergrouprulesphp.zip
login.zip
Sign in to reply to this post

Jason ByrnesWebAssist

your login page was created using the Dreamweaver authenticate User behavior.

The "Applying Register/Login to your checkout" tutorial you are following is intended for use with login pages created using Secuity Assist. it will not work with login pages created using the Dreamweaver authenticate user behavior.

Sign in to reply to this post

kris517211073

Now i using security assist created login and register page, now just fine with access to checkout page, But I still have 1 problem, the checkout page only can be access from redirect login page, if login page redirect from checkout page i can access it
but when i try logged in first before checkout, i just fine logged in to the user profile page but when i continue to checkout i get redirect to login page again to log in one more time from redirected login page to get access to checkout page even i have already logged in. Please help me
I also have one more problem, when i pass the checkout page continue to comfimation page i got to shipping failure page with shipping quote failed, what would be the problem with my shippping setup. Please help.

Sign in to reply to this post

Jason ByrnesWebAssist

sounds like you have 2 different login pages.


what is the address when you login the first time?

What is the address on the login page you are redirected to by the checkout page? it sounds to me like like these are not the same login page.


to determine the shipping problem, open the failure page, on the bindings panel, expand the eCart binding group.


there will be a binding for the shipping providers full request and full response, add these to the page.

NOTE: the full request and full response will contain sensitive information that should be removed before posting here.

Sign in to reply to this post
loading

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...