hannesc wrote:
> I have maid the changes and it installed perfectly thanks. I am now
> having an issue trying to override one of the GetPaid default pages. I
> need to override the checkout-review-pay page, as I don't want to take
> the credit card details because VCS handles that.
> 
> The updated code can be found at: 
> http://www.opennetworks.co.za/getpaid.vcs.tar.gz
> 
> The error message I am getting is as follows:
> 
> zope.configuration.config.ConfigurationConflictError: Conflicting
> configuration actions
>   For: ('view', None, u'checkout-review-pay', <InterfaceClass
> zope.publisher.interfaces.browser.IBrowserRequest>, <InterfaceClass
> zope.publisher.interfaces.browser.IDefaultBrowserLayer>)
>     File "/home/hannes/zope1/eggs/Products.PloneGetPaid-0.7.4-
> py2.4.egg/Products/PloneGetPaid/browser/configure.zcml", line
> 103.2-108.7
>         <browser:page
>            for="*"
>            name="checkout-review-pay"
>            class=".checkout.CheckoutReviewAndPay"
>            permission="zope2.View"
>            />
>     File "/home/hannes/zope1/src/getpaid.vcs/src/getpaid/vcs/
> overrides.zcml", line 6.2-11.7
>         <browser:page
>            for="*"
>            name="checkout-review-pay"
>            class=".browser.checkout.VcsCheckoutPayment"
>            permission="zope2.View"
>            />
> 
> Thanks for all the help so far guys. It really is appreciated. :)
> 

This is where I ran into the problems with the checkout wizard.  First off, you 
cannot include the overrides.zcml file in your configure.zcml - that's why you 
get into this problem.  getpaid.paypal uses the following zcml registrations:

zcml =
     getpaid.paypal
     getpaid.paypal-overrides


That will get the override working properly.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"getpaid-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/getpaid-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to