Closed thedmd closed 10 years ago
partnerId
: partnerId
is a term throughout our documents. It's assigned by us. It acts as OAuth's client_id, or facebook's appId. partnerId
identify you and all your products. But if you prefer, we could assign different one for each of your products. It depend your demands.amount
is 350. ONE xiaocong coin == ONE RMB cent. So if the item worth ¥3.5, users could pay 350 xiaocong coins.pkgName
MUST be your app's package name, that is the package
attribute of <manifest>
in your AndroidManifest.xml.goodsDes
The description about the item users pay for. Anything you like. We don't care for its content. But it's really helpful to debug.remark
Anything you like. What's more, we'll sent it back to you by callback using the query parameter mark
. See to https://github.com/XiaoCongGame/sdk-smart-lib/blob/master/doc/english/payment.guide.md#notify-your-server.I see. Thank you for clarification.
Can fields passed to pay() method be more clarified in documentation? This is how I understand them: