-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
After updating SDK version its showing loader only #13
Comments
@mohannadsaleh @cetozgen can you please check, thank you. |
Could you please declare PayFortController *payFort at class level and initialize the object only one time on method such as onload ? Regards, |
@cetozgen I tried it and seems to load the view now, but there is another crash. We have custom view created which was earlier linked with PayFortView.h and now this class is not available in the new package. Can you provide me solution for this? |
Same issue, any update on this? |
@cetozgen I'm working on it again and now the app started crashing after showing an initialization pop-up, can you please help at the earliest? |
@parulgarg004 Are you using custom view approach with inheriting .xib from PayfortSDK? There is a limitation forced by the Apple, newer versions of Xcode does not allow you to associate CustomPayfortView with your view. |
@cetozgen thanks for quick reply, I will try this and let you know |
@cetozgen is the sample code updated? |
@parulgarg004 Yes sample code is updated for the latest SDK. If you need further support, kindly create a ticket by sending an email to integration-ps@amazon.com .Our team will be happy to assist you. |
@cetozgen in sample for custom UI it's showing the same steps as I did. Approach mentioned on page 30 is not updated in the sample. |
I have updated the SDK version and using objective-c. After reading the documentation everything is updated and code is compiling. But the issue is after getting token it keep on showing the initialisation part. Code part is also attached.
I'm attaching code snippet below:
` PayFortController *payFort = [[PayFortController alloc] initWithEnviroment:PayFortEnviromentSandBox];
payFort.presentAsDefault = UIModalPresentationFullScreen;
payFort.isShowResponsePage = YES;
[payFort setPayFortCustomViewNib:@"PayFortView"];
NSMutableDictionary request = [[NSMutableDictionary alloc] init];
[request setValue:[NSString stringWithFormat:@"%.0f",_orderPrice100] forKey:kPayFortAmount];
[request setValue:vPayFortComandPurchace forKey:kPayFortComand];
[request setValue:vPayFortCurrencySAR forKey:kPayFortCurency];
[request setValue:CurrentUser.email forKey:kPayFortCustomerEmail];
if (layoutRTL) {
[request setValue:vPayFortLanguageArabic forKey:kPayFortLanguage];
}
else {
[request setValue:vPayFortLanguageEnglish forKey:kPayFortLanguage];
}
[request setValue:_orderId forKey:kPayFortOrderIdentifier];
[request setValue:sdkToken forKey:kPayFortSDKToken];
@mohannadsaleh @cetozgen can you please check, thank you.
The text was updated successfully, but these errors were encountered: