首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > Python > 贝宝NVP API Python包装

贝宝NVP API Python包装

  • 资源大小:12.15 kB
  • 上传时间:2021-06-29
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签: 贝宝 包装

资 源 简 介

An implementation of PayPal Express Checkout API written in Python; with emphasis on ease-of-use and simplicity. Design and implementation based on PayPal NVP Java Library. # import the required modulesimport gk.paypal.coreimport gk.paypal.requestsimport gk.paypal.fields # set user - these are your credentials from paypaluser = gk.paypal.core.BaseProfile( username=self.settings["paypal_login"], password=self.settings["paypal_password"] ) user.set_signature( self.settings["paypal_signature"] ) ``` # create items (items from a shopping basket) item1 = gk.paypal.fields.PaymentItem() item1.set_name( "Tazza da caffe" ) item1.set_description("Splendida tazza da caffe bianca") item1.set_amount( "8.00" ); item2 = gk.paypal.fields.PaymentItem() item2.set_name( "Biscottiera"

文 件 列 表

pypalnvp-0.5.0
gk
setup.py
pypalnvp.egg-info
setup.cfg
PKG-INFO
VIP VIP
0.196868s