Monday, January 28, 2013

网赚应用内付费-paypal

7. 应用内付费
支付宝支持(应用内\网站内) https://b.alipay.com/order/productSet.htm
应用内:只支持企业
网站内:支持个人(网站需备案)+企业

腾讯
paypal
paypal的快速支付应用内支付见此:
https://www.x.com/developers/paypal/products/express-checkout
How to get started
1.Check your account status. Login to PayPal. Go to your PayPal Profile and click My settings. Confirm that your “Account Type” is either Premier or Business, or upgrade your account.
2.Check your API settings. Click My selling tools. Expand “Selling online” if needed and check “API access.” Click Update and Add or edit API permission or View API signature.
3.Test your integration using the PayPal Sandbox. (Registration is free.)




翻译:


 


1.激活取信息


先登陆paypal,再在”My Account” => “Profile”,看下=>”Setting”


image


确认右边的


image


,如果不是”Premier”或”Business”,那就更新一下你的账号类型.


接着确认,”api access”,点击右边的”update”:


image




然后它出现:


image


如果没有"View API signature.",像我这样,就要点"Request API credentials"表示添加一个新的.


下图:点Accept and submit.  左边是说使用用户名密码等方式验证,右边是说使用文件验证.


image


 








好了,出现了相关的账号信息.再点击Done.


2.销售虚拟产品(企业)


参考这里:https://cms.paypal.com/c2/cgi-bin/?cmd=_render-content&content_ID=marketing_c2/digital_goods&fli=true


2.1 打开这里进行注册:https://cms.paypal.com/c2/cgi-bin/?cmd=_render-content&content_ID=marketing_c2/DG_Get_Started&fli=true


点击左下角的”Sign  up”:


image


看了一下,需要填一些企业信息.我没有往下处理了.


3.测试


参考这里:https://www.x.com/developers/paypal/documentation-tools/express-checkout/gs_expresscheckout


4.安装ecshop


错误:

安装进程已中止 隐藏细节
创建配置文件............成功
创建数据库............成功
安装数据............失败


Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'UTC' for '8.0/no DST' instead in D:\doc\webserver\wwwroot\soft\ecshop\includes\cls_mysql.php on line 165

Warning: date_default_timezone_get() [function.date-default-timezone-get]: It is not safe to rely on the system'
s timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'UTC' for '8.0/no DST' instead in D:\doc\webserver\wwwroot\soft\ecshop\includes\cls_mysql.php on line 173
OK



解决办法,在php.ini里加上

date.timezone = "Europe/London"

 

未完

No comments: