Permalink
Browse files

Removed useless files

  • Loading branch information...
chrisglass committed Apr 1, 2011
1 parent d6deaf9 commit e84df5284cf5e146b0ef10e04ec82756d510de7c
Showing with 0 additions and 30 deletions.
  1. +0 −7 shop_paypal/urls.py
  2. +0 −23 shop_paypal/views.py
View
@@ -1,7 +0,0 @@
-#-*- coding: utf-8 -*-
-''' A normal URLs file, like you would do for any Django application. '''
-from django.conf.urls.defaults import patterns, url
-
-ulrpatterns = patterns('',
- url(r'^$', my_view),
-)
View
@@ -1,23 +0,0 @@
-#-*- coding: utf-8 -*-
-
-
-
-
-def view_that_asks_for_money(request):
- ''' This is lifted straight from django-paypal's readme file'''
- # What you want the button to do.
- paypal_dict = {
- "business": "yourpaypalemail@example.com",
- "amount": "10000000.00",
- "item_name": "name of the item",
- "invoice": "unique-invoice-id",
- "notify_url": "http://www.example.com/your-ipn-location/",
- "return_url": "http://www.example.com/your-return-location/",
- "cancel_return": "http://www.example.com/your-cancel-location/",
-
- }
-
- # Create the instance.
- form = PayPalPaymentsForm(initial=paypal_dict)
- context = {"form": form}
- return render_to_response("payment.html", context)

0 comments on commit e84df52

Please sign in to comment.