mychoice2pay python绑定
mc2p-python的Python项目详细描述
#mychoice2pay python
[构建状态](https://travis-ci.org/mc2p/mc2p-python.svg?branch=master)(https://travis ci.org/mc2p/mc2p python)
[![覆盖状态](https://coveralls.io/repos/github/mc2p/mc2p-python/badge.svg?branch=master)(https://coveralls.io/github/mc2p/mc2p-python?分支=主)
[![代码运行状况](https://landscape.io/github/mc2p/mc2p-python/master/landscape.svg?style=flat)(https://landscape.io/github/mc2p/mc2p python/master)
运行:
python setup.py install
“产品id”:“产品id”
}
}
“price”:5
}
}
}
transaction.save()
transaction.pay戋url戋send user to this url to pay
transaction.iframe戋url戋use this url to show an iframe in your site
plans_paginator.results应用程序的计划
plans_paginator.get_next_list()
})
tax.save()
tax.delete()
“note”:“note example”
}
或计划详细信息
subscription=mc2p.subscription({
“currency”:“eur”,
“plan”:{
“name”:“plan”,
“price”:5,
“duration”:1,
“unit”:“m”,
“recursive”:true
},
“note”:“note example”
}
subscription.save()
subscription.pay嫒url嫒send user to this url to pay
subscription.iframe嫒url嫒use this url to show an iframe in your site
通知数据.状态='d'已支付
通知数据.交易已支付
通知数据.销售已生成
“price”:“text”price必须是number
}
尝试:
shipping.save()
除了e:
e.“u message”错误状态代码
e.json“body”服务器信息
e.resource“resource”用于发出服务器请求的资源
[构建状态](https://travis-ci.org/mc2p/mc2p-python.svg?branch=master)(https://travis ci.org/mc2p/mc2p python)
[![覆盖状态](https://coveralls.io/repos/github/mc2p/mc2p-python/badge.svg?branch=master)(https://coveralls.io/github/mc2p/mc2p-python?分支=主)
[![代码运行状况](https://landscape.io/github/mc2p/mc2p-python/master/landscape.svg?style=flat)(https://landscape.io/github/mc2p/mc2p python/master)
运行:
python setup.py install
“产品id”:“产品id”
}
}
“price”:5
}
}
}
transaction.save()
transaction.pay戋url戋send user to this url to pay
transaction.iframe戋url戋use this url to show an iframe in your site
plans_paginator.results应用程序的计划
plans_paginator.get_next_list()
})
tax.save()
tax.delete()
“note”:“note example”
}
或计划详细信息
subscription=mc2p.subscription({
“currency”:“eur”,
“plan”:{
“name”:“plan”,
“price”:5,
“duration”:1,
“unit”:“m”,
“recursive”:true
},
“note”:“note example”
}
subscription.save()
subscription.pay嫒url嫒send user to this url to pay
subscription.iframe嫒url嫒use this url to show an iframe in your site
通知数据.状态='d'已支付
通知数据.交易已支付
通知数据.销售已生成
“price”:“text”price必须是number
}
尝试:
shipping.save()
除了e:
e.“u message”错误状态代码
e.json“body”服务器信息
e.resource“resource”用于发出服务器请求的资源