CyberSource / cybersource-android-sdk

The CyberSource InApp SDK enables developers to simply and securely incorporate mobile payments into their Android applications.
Other
0 stars 2 forks source link

SDKTransactionObject how can i set amount of money #4

Closed ghost closed 7 years ago

ghost commented 7 years ago

I received SDK_ACCEPT and SDK_RESPONSE_REASON_CODE_SUCCESSFUL_TRANSACTION

onApiConnectionFinished

and on cyber testing panel (Transaction Search) i can see transaction is done but with amount empty i am asking about how can i set amount of money ?

private SDKTransactionObject prepareTransactionObject() {
        // create a transaction object by calling the predefined api for creation
        return SDKTransactionObject.
                createTransactionObject(SDKTransactionType.SDK_TRANSACTION_ENCRYPTION) // type of transaction object
                .merchantReferenceCode("Android_Sample_Code" + "_" + Long.toString(System.currentTimeMillis())) // caqn be set to anything meaningful
                .cardData(prepareTestCardData()) // card data to be encrypted
                .billTo(prepareBillingInformation()) // billing information
                .build();
    }
ghost commented 7 years ago

Amount can be set via Sever SOAP Signature

saurabhdeve commented 2 years ago

How i can Amount set via Server Soap Signature

saurabhdeve commented 2 years ago

Can You Explain How I can Amount Set Via Server Soap Signature in My Code ??????

saurabhdeve commented 2 years ago

Please Reply