IPN notify_url not working

267 views
Skip to first unread message

alduro

unread,
May 27, 2011, 5:53:31 PM5/27/11
to django-paypal
Hi folks,
After creating the table paypal_ipn I now have another issue.

I'm getting this error on IPN notify:
(1054, Unknown column from_view in field list)
and from_view field doesn't exist in the table.

url.py

(r'^notify_paypal/', include('paypal.standard.ipn.urls')),

paypal_dict for the form

paypal = {
'amount': deal.price,
'item_name': deal.title,
'item_number': deal.id,

# PayPal wants a unique invoice ID
'invoice': str(uuid.uuid1()),

# It'll be a good idea to setup a SITE_DOMAIN inside settings
# so you don't need to hardcode these values.
'notify_url': settings.SITE_DOMAIN + 'notify_paypal/',
'return_url': settings.SITE_DOMAIN + reverse('return_url'),
'cancel_return': settings.SITE_DOMAIN + reverse('cancel_url'),
}

checking INSERT:

INSERT INTO `paypal_ipn` (`business`, `charset`, `custom`,
`notify_version`, `parent_txn_id`, `receiver_email`, `receiver_id`,
`residence_country`, `test_ipn`, `txn_id`, `txn_type`, `verify_sign`,
`address_country`, `address_city`, `address_country_code`,
`address_name`, `address_state`, `address_status`, `address_street`,
`address_zip`, `contact_phone`, `first_name`, `last_name`,
`payer_business_name`, `payer_email`, `payer_id`, `auth_amount`,
`auth_exp`, `auth_id`, `auth_status`, `exchange_rate`, `invoice`,
`item_name`, `item_number`, `mc_currency`, `mc_fee`, `mc_gross`,
`mc_handling`, `mc_shipping`, `memo`, `num_cart_items`,
`option_name1`, `option_name2`, `payer_status`, `payment_date`,
`payment_gross`, `payment_status`, `payment_type`, `pending_reason`,
`protection_eligibility`, `quantity`, `reason_code`,
`remaining_settle`, `settle_amount`, `settle_currency`, `shipping`,
`shipping_method`, `tax`, `transaction_entity`, `auction_buyer_id`,
`auction_closing_date`, `auction_multi_item`, `for_auction`, `amount`,
`amount_per_cycle`, `initial_payment_amount`, `next_payment_date`,
`outstanding_balance`, `payment_cycle`, `period_type`, `product_name`,
`product_type`, `profile_status`, `recurring_payment_id`,
`rp_invoice_id`, `time_created`, `amount1`, `amount2`, `amount3`,
`mc_amount1`, `mc_amount2`, `mc_amount3`, `password`, `period1`,
`period2`, `period3`, `reattempt`, `recur_times`, `recurring`,
`retry_at`, `subscr_date`, `subscr_effective`, `subscr_id`,
`username`, `case_creation_date`, `case_id`, `case_type`,
`receipt_id`, `currency_code`, `handling_amount`,
`transaction_subject`, `ipaddress`, `flag`, `flag_code`, `flag_info`,
`query`, `response`, `created_at`, `updated_at`, `from_view`) VALUES
(, , , None, , , , , False, , , , , , , , , , , , , , , , , ,
None, , , , None, , , , , None, None, None, None, , None, , , , None,
None, , , , , None, , None, None, , None, , None, , , None, None,
None, None, None, None, None, None, , , , , , , , None, None, None,
None, None, None, None, , , , , , None, , None, None, None, , ,
None, , , , , None, , 127.0.0.1, True, , Invalid postback.
(INVALID), , INVALID, 2011-05-27 17:18:23, 2011-05-27 17:18:23, )

Thanks in advance.
Aldo

Aldo Nievas

unread,
May 27, 2011, 5:38:09 PM5/27/11
to django-paypal
-- Aldo
Reply all
Reply to author
Forward
0 new messages