|
|
@@ -2,14 +2,6 @@ |
|
|
|
# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors |
|
|
|
# License: GNU General Public License v3. See license.txt |
|
|
|
|
|
|
|
from __future__ import unicode_literals |
|
|
|
import frappe |
|
|
|
import json |
|
|
|
from frappe import _ |
|
|
|
from urllib import urlencode |
|
|
|
from frappe.utils import get_url, call_hook_method |
|
|
|
from frappe.integration_broker.integration_controller import IntegrationController |
|
|
|
|
|
|
|
""" |
|
|
|
# Integrating PayPal |
|
|
|
|
|
|
@@ -58,6 +50,14 @@ For paypal payment status parameter is one from: [Completed, Cancelled, Failed] |
|
|
|
|
|
|
|
""" |
|
|
|
|
|
|
|
from __future__ import unicode_literals |
|
|
|
import frappe |
|
|
|
import json |
|
|
|
from frappe import _ |
|
|
|
from urllib import urlencode |
|
|
|
from frappe.utils import get_url, call_hook_method |
|
|
|
from frappe.integration_broker.integration_controller import IntegrationController |
|
|
|
|
|
|
|
class Controller(IntegrationController): |
|
|
|
service_name = 'PayPal' |
|
|
|
parameters_template = [ |
|
|
|