Created
June 22, 2015 16:15
-
-
Save bespalown/bdd13384d7f118904ff4 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//задаю все значения | |
let merchantId = 191238281216 | |
let timestamp: String = "2015-06-22T16:10:08" | |
let merchantKeyForMD5 = "6d306b6375724d664e556b4774397070626752354434753955617c" | |
let sign = Signature(urlToSign: "https://wl.walletone.com/w1/invoicingapi/invoices/", | |
jsonString: "{\"MerchantUserId\":191238281216,\"Amount\":2.91,\"CurrencyId\":643,\"PaymentTypeId\":\"YandexMoneyRUB\",\"OrderId\":\"GQYOE-MJNPO-49623\"}", | |
merchantKey: "6d306b6375724d664e556b4774397070626752354434753955617c", | |
signatureAlgorithm: .MD5) | |
signature: XYHFxCD26vD+/VfYvOToRA== | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment