Paypal and eZ permissions

Author Message

Christian Johansen

Thursday 24 November 2005 2:27:36 am

I've been dealing with the paypal extension for eZ now, and everything seems to be working fine except for one thing (d'oh). If the user shopping is not logged in they get an access denied page when returning from paypal.

I want it to be possible to shop without logging in so I tried to remove password protection from the callback url. I tried:

PolicyOmitList[] = paypal/callback_url
I assume this is just a dummy to be replaced by the real url? So I tried:
PolicyOmitList[] = shop/orderview
and
PolicyOmitList[] = shop

alas, it does not work. I also went to the administration and chose the Anonymous user and created permissions like so:
Module: shop
Function: buy
Limitation: none

Still not working... So I tried to set limitation none to all functions in the shop module. STILL no luck, so I'm here asking for help. Does anyone know what I can do?

Christian Johansen

Saturday 26 November 2005 5:51:36 am

Has anyone got an idea on how to do this?

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 31 2025 08:15:44
Script start
Timing: Jan 31 2025 08:15:44
Module start 'layout'
Timing: Jan 31 2025 08:15:44
Module start 'content'
Timing: Jan 31 2025 08:15:44
Module end 'content'
Timing: Jan 31 2025 08:15:44
Script end

Main resources:

Total runtime0.0142 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0042 588.2344151.2109
Module start 'layout' 0.00420.0018 739.445336.6484
Module start 'content' 0.00600.0068 776.093890.0625
Module end 'content' 0.01280.0013 866.156329.9922
Script end 0.0141  896.1484 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002115.0138140.0002
Check MTime0.00107.1602140.0001
Mysql Total
Database connection0.00064.108610.0006
Mysqli_queries0.001913.335730.0006
Looping result0.00000.070710.0000
Template Total0.00096.610.0009
Template load0.00075.189210.0007
Template processing0.00021.363410.0002
Override
Cache load0.00053.734910.0005
General
dbfile0.002819.839480.0004
String conversion0.00000.042140.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs