Giter Club home page Giter Club logo

sdkbox-sample-iap's People

Contributors

darkdukey avatar hugohuang1111 avatar manga972 avatar tinybearc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

sdkbox-sample-iap's Issues

Can SDKBox team update this sample project?

It's been a long time, the sample project does not include any subs / user side verification sample code.
The SDKBox::IAP plugin now is more complicated and the document is confusing.
Please update the sample project, thank you.

sdkbox-sample-iap

Report 1 of 1
java.lang.Error: FATAL EXCEPTION [main]
Unity version : 5.3.2f1
Device model : motorola XT1078
Device fingerprint: motorola/thea_retbr_ds/thea_umtsds:6.0/MPBS24.65-34-5/7:user/release-keys
Caused by
at com.sdkbox.plugin.SDKBox.nOnActivityResult (Native Method)
at com.sdkbox.plugin.SDKBox$6.run (SDKBox.java:167)
at com.sdkbox.plugin.SDKBox.runOnMainThread (SDKBox.java:255)
at com.sdkbox.plugin.SDKBox.runOnGLThread (SDKBox.java:244)
at com.sdkbox.plugin.SDKBox.onActivityResult (SDKBox.java:165)
at com.sdkbox.activity.CustomActivity.onActivityResult (CustomActivity.java:18)
at android.app.Activity.dispatchActivityResult (Activity.java:6442)
at android.app.ActivityThread.deliverResults (ActivityThread.java:3716)
at android.app.ActivityThread.handleSendResult (ActivityThread.java:3763)
at android.app.ActivityThread.-wrap16 (ActivityThread.java)
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1403)

js onSuccess log

iOS

2017-05-02 11:09:50.836475+0800 iap_js-mobile[4750:2287399] JS: Purchase successful: coin_package
2017-05-02 11:09:50.836728+0800 iap_js-mobile[4750:2287399] JS: 
======The product info======

2017-05-02 11:09:50.836940+0800 iap_js-mobile[4750:2287399] JS: name=    coin_package
2017-05-02 11:09:50.837098+0800 iap_js-mobile[4750:2287399] JS: title=    Coin Package
2017-05-02 11:09:50.837511+0800 iap_js-mobile[4750:2287399] JS: description=    Coin Package
2017-05-02 11:09:50.837727+0800 iap_js-mobile[4750:2287399] JS: price=    $0.99
2017-05-02 11:09:50.837889+0800 iap_js-mobile[4750:2287399] JS: currencyCode=    USD
2017-05-02 11:09:50.838223+0800 iap_js-mobile[4750:2287399] JS: receipt=    
2017-05-02 11:09:50.838702+0800 iap_js-mobile[4750:2287399] JS: receiptCipheredPayload=    MIIX4QYJKoZIhvcNAQcCoIIX0jCCF84CAQExCzAJBgUrDgMCGgUAMIIHggYJKoZIhvcNAQcBoIIHcwSCB28xggdrMAoCAQgCAQEEAhYAMAoCARQCAQEEAgwAMAsCAQECAQEEAwIBADALAgELAgEBBAMCAQAwCwIBDwIBAQQDAgEAMAsCARACAQEEAwIBADALAgEZAgEBBAMCAQMwDAIBCgIBAQQEFgI0KzAMAgEOAgEBBAQCAgCNMA0CAQMCAQEEBQwDMS4wMA0CAQ0CAQEEBQIDAYfNMA0CARMCAQEEBQwDMS4wMA4CAQkCAQEEBgIEUDI0NzAYAgEEAgECBBBsxUALoJR8PWE/NClr81M5MBsCAQACAQEEEwwRUHJvZHVjdGlvblNhbmRib3gwHAIBAgIBAQQUDBJjb20uc2RrYm94LnRlc3QxMDEwHAIBBQIBAQQUe+WiNKmbxL0VWMqto+mslVbx85AwHgIBDAIBAQQWFhQyMDE3LTA1LTAyVDAzOjA5OjQ2WjAeAgESAgEBBBYWFDIwMTMtMDgtMDFUMDc6MDA6MDBaMEcCAQcCAQEEPxMqmnrZ0Ql+b9ppkipRCqUpGSadzLpw1TpLzgYKaBUDESu08/PHSc7Me/s2rKCnU2+NHe1ZCRTN2T8mIQBy5zBbAgEGAgEBBFMCfrquqcYutPoTiN3HtysgwnzSeSVPg7tAsXG6yyYhS2rvVV3UZJT3Cj8nMEZt5Ntlc1GIXh/WxGizj3YzeWbNu8jBPwfDmWcJBFMqgst1XrzQPDCCAVQCARECAQEEggFKMYIBRjALAgIGrAIBAQQCFgAwCwICBq0CAQEEAgwAMAsCAgawAgEBBAIWADALAgIGsgIBAQQCDAAwCwICBrMCAQEEAgwAMAsCAga0AgEBBAIMADALAgIGtQIBAQQCDAAwCwICBrYCAQEEAgwAMAwCAgalAgEBBAMCAQEwDAICBqsCAQEEAwIBADAMAgIG
2017-05-02 11:21:01.986913+0800 iap_js-mobile[4756:2289977] JS: transactionID=    1000000295166301

NOTE:

        // receipt info. will be empty string for iOS
        std::string receipt;

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.