turkcell / paycellsdk-ios Goto Github PK
View Code? Open in Web Editor NEWLicense: Apache License 2.0
License: Apache License 2.0
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
`
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";
};
};
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.