B. Cooperman B. Cooperman - 1 year ago 128
Python Question

no such table: paypal_expresstransaction

Problem integrating paypal express in a django oscar store.

Added 'paypal' to installed apps and wrote template with the following code:

{% extends 'oscar/checkout/payment_details.html' %}
{% load i18n %}

{% block payment_details %}
<div class="well">
<div class="sub-header">
<h3>{% trans "PayPal Express" %}</h3>
<p>{% trans "Click on the below icon to use Express Checkout but where the shipping address and method is already chosen on the merchant site." %}</p>
<div style="overflow:auto"><a href="{% url 'paypal-direct-payment' %}" title="{% trans "Pay with PayPal" %}"><img src="https://www.paypal.com/en_US/i/logo/PayPal_mark_37x23.gif" align="left" style="margin-right:7px;"></a>&nbsp;</div>
{% endblock %}

Upon clicking on the payment button I get this error:
no such table: paypal_expresstransaction

Answer Source

Try run migrate with specify app

./manage.py makemigrations paypal_app_name

and then just migrate.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download