Skip to content

Revamping the Express Documentation from the Oscar Upgrade #216

@daniel-butler

Description

@daniel-butler

The #176 update made some of the getting started documentation out of date. I love the progress and keeping up with the newest LTS versions!

The pull request #215 was only a minor fix to the buyer/seller verbage. I'll keep all of the other changes in this Issue.

First is this section no longer works

urls.py

from django.contrib import admin
from oscar.app import shop

from paypal.express.dashboard.app import application

urlpatterns = [
    url(r'^admin/', admin.site.urls),
    url(r'^checkout/paypal/', include('paypal.express.urls')),
    # Optional
    url(r'^dashboard/paypal/express/', application.urls),
    url(r'', shop.urls),
]

it looks like this has all been refactored into the paypal/payflow/dashboard/apps.py module. However when creating an application we are missing the following OscarDashboardConfig Parameters

from paypal.payflow.dashboard.apps import PayFlowDashboardApplication

application = PayFlowDashboardApplication(
    app_name=,  # missing
    app_module=, # missing
    namespace=,  # looks like it is in the file but isn't being brought into the intialization
)

Documentation page

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions