Git Product home page Git Product logo

paycellsdk-ios's People

Contributors

batuhan-erdogan avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

paycellsdk-ios's Issues

Can not install paycell via cocapods

When i try to install paycell sdk via pod, i got this erorr
`
Installing PaycellSDK (0.9.6)

[!] Error installing PaycellSDK
[!] /usr/bin/git clone https://stash.turkcell.com.tr/git/scm/payc/paycell-sdk-cocoapods.git /var/folders/j9/svzvnkjj745304y1czmrhn5r0000gn/T/d20190127-56174-1fu91wv --template= --single-branch --depth 1 --branach release/v0.9.6

Cloning into '/var/folders/j9/svzvnkjj745304y1czmrhn5r0000gn/T/d20190127-56174-1fu91wv'...
fatal: unable to update url base from redirection:
asked for: https://stash.turkcell.com.tr/git/scm/payc/paycell-sdk-cocoapods.git/info/refs?service=git-upload-pack
redirect: https://stash.turkcell.com.tr/my.logout.php3?errorcode=19
`

Test ortami hatasi

Merhabalar,

Simdi Paycell iOS SDK (0.9.7) versiyonunu kullaniyorum. Asagida bilgilerle configurasyonu yapiyoruz.

    [[PaycellPaymentConfigurator sharedConfigurator] setMerchantCode:@"28***"
                                                     andTerminalCode:@"10**"
                                                       andSecureCode:@"cJQD7lq*****"
                                                         andLanguage:@"tr"
                                                      andHostAccount:@"[email protected]"
                                                     andMerchantLogo:[UIImage imageNamed:@"bkm_bg3"]
                                                      andEnvironment:PaycellEnvironmentTest];

Oncelikle buradaki "HostAccount" olarak ne verebiliyoruz. Kullanicilarin bizde telefon numarasi ve email mevcut.

Daha sonra 1 TL lik bir harcama icin asagidaki paymenti olusturuyoruz.

PaycellPayment* payment = [[PaycellPayment alloc] initWithAmount:@"100"
                                                        currency:@"99"
                                                  securityOption:@"NON_THREED_SECURE"
                                                 referenceNumber:@"123123"
                                                installmentPlans:nil];

Buradaki referenceNumberi bizim olusturdugumuz bir id olarak olacak diye dusunuyorum. Daha sonra sizin tarafinizdaki odemeleri sorgulamak icin bu referans numarasini kullanabiliyor muyuz?

Ancak yukairdaki bilgilerle acmama ragmene logta basarisizlik goruyorum.

2019-01-30 22:40:40.978048+0300 Rofoods[3231:517084] SERVIS - http://omccstb.turkcell.com.tr/tpay/paycell/services/forwardapprs/forwardServiceApp/forwardMsisdn/
2019-01-30 22:40:40.978117+0300 Rofoods[3231:517084] (null)
2019-01-30 22:41:31.632341+0300 Rofoods[3231:517274] Task .<1> finished with error - code: -1001
2019-01-30 22:41:31.633784+0300 Rofoods[3231:518375] Paycell SDK : data parameter is nil
2019-01-30 22:41:31.633993+0300 Rofoods[3231:518375] 12313
2019-01-30 22:41:31.634679+0300 Rofoods[3231:518375] [Assert] Cannot be called with asCopy = NO on non-main thread.
2019-01-30 22:41:31.639488+0300 Rofoods[3231:518375] (null)
2019-01-30 22:41:31.640209+0300 Rofoods[3231:517274] Task .<1> HTTP load failed (error code: -999 [1:89])
2019-01-30 22:41:31.644673+0300 Rofoods[3231:518375] SERVIS - http://omccstb.turkcell.com.tr/tpay/paycell/services/sessionrs/sessionService/init/
2019-01-30 22:41:31.645676+0300 Rofoods[3231:518375] {
connectionType = WIFI;
hashData = "AJ8eq08X2M3udcFO/wmHKKzo3fF2hoS5bQtSVkS057Y=";
hostAccount = "[email protected]";
language = tr;
payment = {
amount = 100;
currency = 99;
installmentPlan = (
);
paymentReferenceNumber = 123123;
paymentSecurity = "NON_THREED_SECURE";
};
requestHeader = {
deviceInfo = {
deviceId = "A98E6771-8E3B-46B8-BF9E-A364B52327B7";
deviceManufacturer = Apple;
deviceModel = "iPhone9,3";
deviceOs = iOS;
deviceOsVersion = "12.1";
};
merchant = {
cvvRequired = 0;
merchantCode = 28***;
terminalCode = 10**;
timeoutDuration = 0;
};
transactionInfo = {
application = IOSSDK;
applicationVersion = "1.0";
mode = TEST;
transactionDateTime = 20190130224131640;
transactionId = 20190130224131641540;
version = "1.0";
};
};
}
2019-01-30 22:41:41.082949+0300 Rofoods[3231:518617] Task <93928371-FBEF-4CD8-AC65-690CBFA527C6>.<1> finished with error - code: -1001
2019-01-30 22:41:41.083664+0300 Rofoods[3231:518376] Paycell SDK : data parameter is nil
2019-01-30 22:41:41.083745+0300 Rofoods[3231:518376] 12313
2019-01-30 22:41:41.083876+0300 Rofoods[3231:518376] (null)
2019-01-30 22:41:41.085982+0300 Rofoods[3231:518376] SERVIS - http://omccstb.turkcell.com.tr/tpay/paycell/services/sessionrs/sessionService/init/
2019-01-30 22:41:41.086187+0300 Rofoods[3231:518617] Task <93928371-FBEF-4CD8-AC65-690CBFA527C6>.<1> HTTP load failed (error code: -999 [1:89])
2019-01-30 22:41:41.086381+0300 Rofoods[3231:518376] {
connectionType = WIFI;
hashData = "AJ8eq08X2M3udcFO/wmHKKzo3fF2hoS5bQtSVkS057Y=";
hostAccount = "[email protected]";
language = tr;
payment = {
amount = 100;
currency = 99;
installmentPlan = (
);
paymentReferenceNumber = 123123;
paymentSecurity = "NON_THREED_SECURE";
};
requestHeader = {
deviceInfo = {
deviceId = "A98E6771-8E3B-46B8-BF9E-A364B52327B7";
deviceManufacturer = Apple;
deviceModel = "iPhone9,3";
deviceOs = iOS;
deviceOsVersion = "12.1";
};
merchant = {
cvvRequired = 0;
merchantCode = 28***;
terminalCode = 10**;
timeoutDuration = 0;
};
transactionInfo = {
application = IOSSDK;
applicationVersion = "1.0";
mode = TEST;
transactionDateTime = 20190130224141084;
transactionId = 20190130224141085658;
version = "1.0";
};
};
}

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.