Djangoshop的GestPay支付集成。

djangoshop-gestpa的Python项目详细描述


#djangoshop gestpay

[![pypi版本](https://img.shields.io/pypi/v/djangoshop-gestpay.svg)](https://pypi.python.org/pypi/djangoshop-gestpay

[gestpay](https://www.gestpay.it)对[django shop]的支付集成(http://www.django-shop.org)。

-

##要求

  • [Django商店]
  • [gestpypay]

##安装

使用pip安装:

`bash pip install djangoshop-gestpay `

将以下内容添加到您的设置中:

`python INSTALLED_APPS += ['shop_gestpay'] SHOP_CART_MODIFIERS += ['shop_gestpay.modifiers.GestPayPaymentModifier'] SHOP_ORDER_WORKFLOWS += ['shop_gestpay.payment.GestPayWorkflowMixin'] SHOP_GESTPAY_SHOP_LOGIN = '<shopLogin>'  # GestPay shop login ID. `

其他默认设置:

`python SHOP_GESTPAY_SERVER = 'ecomm.sella.it'  # Set to 'testecomm.sella.it' for testing. SHOP_GESTPAY_SEND_BUYER_NAME = False  # Send buyer name param to GestPay or not. SHOP_GESTPAY_SEND_BUYER_EMAIL = False  # Send buyer email param to GestPay or not. SHOP_GESTPAY_SEND_LANGUAGE = False  # Send language param to GestPay or not. SHOP_GESTPAY_PAYMENT_VIEW = False  # Set if a separate payment view should be rendered before sending to GestPay. SHOP_GESTPAY_CART_URL = SHOP_CART_URL = 'shop:cart-list'  # Url of a cart, used to redirect in some cases. SHOP_GESTPAY_THANK_YOU_URL = SHOP_THANK_YOU_URL = None  # Thank you url, if None latest order is used. SHOP_GESTPAY_COMMISION_PERCENTAGE = None  # Set to add commision percentage for purchase via GestPay. SHOP_GESTPAY_MODIFIER_CHOICE_TEXT = 'GestPay'  # Text displayed as a choice for selecting GestPay payment. SHOP_GESTPAY_ERROR_MESSAGE = None  # Message added to django messages framework there's a transaction error. SHOP_GESTPAY_SUCCESS_MESSAGE = None  # Message added to django messages framework transaction is successful. `

[姜戈店]:https://github.com/awesto/django-shop [gestpypay]:https://github.com/giefferre/gestpypay

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
无法在Netbeans 8.2 JDK8u231中创建java Maven项目(Web应用程序)   java如何以设定的时间间隔生成随机数?   java从socket和inputStream的慢速读取   spring SCORM:Java中基于Web的SCORM播放器   Java将函数传递给方法   java绑定通用服务及其实现和子类型   java如何在运行时从选择列表框中动态选择选项?爪哇硒   java Selenium WebDriver什么是“Selenium客户端和WebDriver语言绑定”   elasticsearch需要elasticsearch高级Java客户端更新ByQueryRequest API帮助   JAVA哈希表查找最大值   WSDL操作中的java soapAction属性为空   java访问封闭类或父类方法的一般方法   eclipse在java中运行带有SeleneTestCase的ANT。lang.NoClassDefFoundError   java Hazelcast不会在节点启动时填充ReplicatedMap   如何在Java中从excel中读取特定行?   html JAVA将本地时间(GMT+8)转换为UTC时间   java将自定义端点添加到Spring数据REST存储库中,并以大摇大摆的方式显示   java计算未来位置