diff --git a/CoreSDK/PayUMoneyCoreSDK.framework/Assets.car b/CoreSDK/PayUMoneyCoreSDK.framework/Assets.car index c75a71e..359278c 100644 Binary files a/CoreSDK/PayUMoneyCoreSDK.framework/Assets.car and b/CoreSDK/PayUMoneyCoreSDK.framework/Assets.car differ diff --git a/CoreSDK/PayUMoneyCoreSDK.framework/Headers/PUMInternalConstants.h b/CoreSDK/PayUMoneyCoreSDK.framework/Headers/PUMInternalConstants.h index e63417f..2f78cd5 100644 --- a/CoreSDK/PayUMoneyCoreSDK.framework/Headers/PUMInternalConstants.h +++ b/CoreSDK/PayUMoneyCoreSDK.framework/Headers/PUMInternalConstants.h @@ -7,6 +7,7 @@ // #import + // logging on/off #ifdef DEBUG #define PayULog(fmt, ...) NSLog((@"%s [Line %d] " fmt), __PRETTY_FUNCTION__, __LINE__, ##__VA_ARGS__) @@ -14,71 +15,6 @@ #define PayULog(...) #endif -/*! - ********************************************* API URLs ************************************* - */ - -//Axis Bank Rewards Program URLs -#define BANK_REWARDS_PROCESS_REQUEST @"payment/op/aimia/processRequest" -#define BANK_REWARDS_SENDOTP @"payment/op/aimia/sendOTP" -#define BANK_REWARDS_FAILANDRETURNTOMERCHANT @"payment/op/aimia/failAndReturnToMerchant" -#define BANK_REWARDS_RESETAIMIAENTRY @"payment/op/aimia/resetAimiaEntry" -//End Axis Bank Rewards Program URLs - -#define DOWNLOAD_BANKIMAGE @"media/images/payment/payment/netbanking/" -#define CC_BIN_DETAILS @"payment/op/v1/getBinDetails" // params bin=541891 -#define ADD_PAYMENT @"payment/app/v2/addPayment" -#define SEND_PAYMENT_OTP @"auth/op/sendPaymentOTP" -#define USER_REG_AND_LOGIN @"auth/op/registerAndLogin" -#define USER_GENERATE_WALLET_CODE @"/auth/app/generateWalletCode" -#define USER_LOGIN_URL @"auth/oauth/token" -#define USER_INFO_URL @"auth/app/user" -#define USER_LOAD_WALLET_URL @"payment/app/wallet/loadWalletPayment" -#define USER_FETCH_PAYMENT_USER_DATA_URL @"payment/app/v1/fetchPaymentUserData" -#define FETCH_USER_DATA_URL @"payment/op/v1/fetchUserDataFromEmailMobile" -#define GET_MULTIPLE_BIN_DETAILS @"payment/op/v1/getMultipleBinDetails" - - -//Cards -#define GET_USER_SAVE_CARDS @"payment/op/hasSavedCard" //@"payment/op/getSaveCardCount" // params email=p.bharat@payu.in&phone=7200225586 - -//NB -#define NB_BANK_LIST_URL @"payment/op/getNetBankingStatus" - -//PURE USER WALLET -#define PWALLET_USER_MOBILE_NUM @"p_user_mobile_num" -#define PWALLET_USER_EMAIL @"p_user_email" -#define PWALLET_USER_OTP_MSG @"p_user_otp_msg" -#define PWALLET_USER_EXISTS_FOR_EMAIL @"p_user_exist_for_email" -#define PWALLET_USER_GRANT_TYPE @"password" - -#define Auth_URL @"auth/user" -#define VERIFY_PAYMENT_STATUS @"payment/app/payment/verifyPaymentStatus" //POST -#define CHECK_PAYMENT_DETAILS_STATUS @"payment/app/checkPaymentDetails" -#define Payment_URL @"payment/app/payment/addSdkPayment" -#define Get_Payment_Merchant_URL @"payment/makePayment" //payment/app/customer/makePayment -#define Sign_Up_URL @"auth/app/register" -#define Login_Params_URL @"auth/app/op/merchant/LoginParams" -#define OTP_URL @"auth/op/generateAndSendOTP" -#define Forgot_Password_URL @"auth/app/forgot/password" -#define Cancel_Transaction_URL @"payment/postBackParam.do" -#define Cancel_Transaction @"payment/postBackParamIcp.do" -#define Post_Payment_URL @"payment/app/postPayment" -#define Validate_VPA @"payu/validateVpa" - -// ONE_TAP_ENABLE -#define ENABLE_ONE_TAP @"auth/app/setUserPaymentOption" //params oneClickTxn=-1 OR 0 OR 1 H@Ih'4S" -#define SDK_KEYCHAIN_ACCOUNT_KEY @"PayUMoneySDKUnique" -#define SDK_KEYCHAIN_TOKEN_KEY @"PayUMoneySDKToken" -#define AUTHORIZATION_SALT @"payumoney12" -//#define AUTHORIZATION_SALT @"paiumkney183" - -/*! - ************************************************** Regular expressions ************************ - */ - -#define PASSWORD_REGEX @"^(?=.{6,}$)((.*[A-Za-z]+.*[0-9]+|.*[0-9]+.*[A-Za-z]+).*$)" -#define PHONE_REGEX @"^[6789]\\d{9}$" -#define EMAIL_REGEX @"[A-Z0-9a-z._+-]+@[A-Za-z0-9.-]+\\.[A-Za-z]{2,4}" - -/*! - ************************************************** Text Constants ***************************** - */ -#define SDK_APP_TITLE @"PayUmoney" -#define NOINTERNET @"No Internet connection" -#define NETWORKCONNECTIONMESSAGE @"Please connect your device to a network." -#define LOADER_MESSAGE @"Please wait..." -#define SUCCESS_RESPONSE @"payumoney/success.php" -#define FAILURE_RESPONSE @"payumoney/failure.php" -/*! - ************************************************** Macros ************************************** - */ -#define SDK_BUNDLE_IDENTIFIER [[[NSBundle bundleForClass:[self class]] infoDictionary] objectForKey:@"CFBundleIdentifier"] - -#define StringFromDouble(x) [NSString stringWithFormat : @"%0.2lf",x] - -/*! - ************************************************** Keys *************************************** - */ -#define KEY_MERCHANT_ID @"merchantID" -#define PUBLIC_KEY @"PUBLIC_KEY" -#define KEY_PAYMENT_ID @"paymentID" -#define KEY_PAYMENT_ID_LWALLET @"paymentID_load_wallet" -#define KEY_ACCESS_TOKEN @"access_token" -#define KEY_USER_EMAIL @"user_email" -#define KEY_USER_PHONE @"user_phone" -#define KEY_REMEMBER_ON_THIS_DEVICE @"remember_on_this_device" -#define KEY_ONE_TAP_KEY @"one_tap_status" -#define KEY_SAVE_CURRENT_CARD @"save_current_card" -#define KEY_ORDER_AMOUNT_KEY @"orderAmount" -#define KEY_TOTAL_AMOUNT_TO_PAY_KEY @"total_amount_to_pay" -#define KEY_OFFER_TYPE_KEY @"offerType" -#define KEY_OFFER_AMOUNT_KEY @"offerAmount" - - -#define kNavBarHeight 64 -#define kSDK_TXN_CALLBACK @"passdata" -#define kSDK_TXN_SUCCESS @"success" -#define kSDK_TXN_FAILURE @"failure" -#define kSDK_TXN_REJECTED @"rejected" - -#define KEY_NITRO_ENABLED @"nitroEnabled" -#define KEY_RESULT @"result" - -#define KEY_USER_ENABLED @"userEnabled" -#define KEY_USER_ID @"userId" /*! ************************************************** General ************************************ */ @@ -207,86 +80,6 @@ #define USER_AGENT_FOR_SDK @"PayUMoneyiOSSDK" #define ERROR_WHEN_KEY_NULL @"Unexpected error occured" -/*! - ************************************************** Internal Environments *********************** - */ -#define ENVIRONMENT_PP42 @"PP42" -#define ENVIRONMENT_PP25 @"PP25" -#define ENVIRONMENT_PP41 @"PP41" -#define ENVIRONMENT_PP10 @"PP10" -#define ENVIRONMENT_PP0 @"PP0" -#define ENVIRONMENT_PP4 @"PP4" -#define ENVIRONMENT_MOBILE_TEST @"MobileTest" - -//API URLs -#define ENVIRONMENT_PRODUCTION_API_URL @"https://www.payumoney.com/" -#define ENVIRONMENT_TEST_API_URL @"https://www.payumoney.com/sandbox/" -#define ENVIRONMENT_PP42_API_URL @"https://pp42.payumoney.com/" -#define ENVIRONMENT_PP25_API_URL @"https://pp25.payumoney.com/" -#define ENVIRONMENT_PP48_API_URL @"https://pp51.payumoney.com/" -#define ENVIRONMENT_PP41_API_URL @"https://pp41.payumoney.com/" -#define ENVIRONMENT_PP10_API_URL @"https://pp10.payumoney.com/" -#define ENVIRONMENT_PP0_API_URL @"https://pp0.payumoney.com/" -#define ENVIRONMENT_PP4_API_URL @"https://pp4.payumoney.com/" -#define ENVIRONMENT_PP22_API_URL @"https://pp22.payumoney.com/" -#define ENVIRONMENT_MOBILE_TEST_API_URL @"https://mobiletest.payumoney.com/" -#define ENVIRONMENT_PP44_API_URL @"https://pp44.payumoney.com/" -#define ENVIRONMENT_PP58_API_URL @"https://pp58.payumoney.com/" - -//Web URLs -#define ENVIRONMENT_PRODUCTION_WEB_URL @"https://secure.payu.in/_payment" -#define ENVIRONMENT_TEST_WEB_URL @"https://sandboxsecure.payu.in/_payment" -#define ENVIRONMENT_PP42_WEB_URL @"https://pp42secure.payu.in/_payment" -#define ENVIRONMENT_PP25_WEB_URL @"https://pp25secure.payu.in/_payment" -#define ENVIRONMENT_PP41_WEB_URL @"https://pp41secure.payu.in/_payment" -#define ENVIRONMENT_PP10_WEB_URL @"https://pp10secure.payu.in/_payment" -#define ENVIRONMENT_PP0_WEB_URL @"https://pp0secure.payu.in/_payment" -#define ENVIRONMENT_PP48_WEB_URL @"https://pp51secure.payu.in/_payment" -#define ENVIRONMENT_PP4_WEB_URL @"https://pp4secure.payu.in/_payment" -#define ENVIRONMENT_MOBILE_TEST_WEB_URL @"https://mobiletest.payu.in/_payment" -#define ENVIRONMENT_PP22_WEB_URL @"https://pp22secure.payu.in/_payment" -#define ENVIRONMENT_PP44_WEB_URL @"https://pp44secure.payu.in/_payment" -#define ENVIRONMENT_PP58_WEB_URL @"https://pp58secure.payu.in/_payment" - -//Citrus URLs - -#define CITRUS_CHECKOUT_URL @"https://checkout.citruspay.com/" - -#define TXNID @"txnid" -#define MERCHANTID @"merchantId" -#define SURL @"surl" -#define FURL @"furl" -#define PRODUCT_INFO @"productinfo" -#define FIRSTNAME @"firstname" -#define USER_EMAIL @"email" -#define USER_PHONE @"phone" -#define OTP_LOGIN @"quickLogin" - - - -/*! - ************************************************** Analytics ********************************** - */ -#define DEVICE_ANALYTICS @"PUMDeviceAnalytics" -#define EVENT_ANALYTICS @"PUMEventAnalytics" -#define ANALYTICS_TIMEOUT_INTERVAL 5 -#define TEMP_ANALYTICS @"PUMTempAnalytics" -#define ANALYTICS_API_KEY @"377B75201AAA8CCC59468DBD3239F8ED15FACCCD017C03628DDFAC808074128B" -#define ANALYTICS_SECRET_KEY @"BO0l3u5zQGE5mxav24tXf0Ge6CdFQLIEjr6xZbKEah0SX2s22Dh2sQ" - -/*! - ************************************************** ENUMs ************************************** - */ - - - -#define RAW_JSON @"RawJSON" -#define PARSED_RESPONSE @"ParsedResponse" -#define VPA @"vpa" -#define INVALID_RESPONSE @"Invalid Response" -#define API_Failure @"API Failed" - - typedef NS_ENUM(NSInteger, PUMBaseURLCategory) { PUMBaseURLForAPI, diff --git a/CoreSDK/PayUMoneyCoreSDK.framework/Info.plist b/CoreSDK/PayUMoneyCoreSDK.framework/Info.plist index d1a2c4d..a363885 100644 Binary files a/CoreSDK/PayUMoneyCoreSDK.framework/Info.plist and b/CoreSDK/PayUMoneyCoreSDK.framework/Info.plist differ diff --git a/CoreSDK/PayUMoneyCoreSDK.framework/PUMLoginVC.nib b/CoreSDK/PayUMoneyCoreSDK.framework/PUMLoginVC.nib new file mode 100644 index 0000000..6af5174 Binary files /dev/null and b/CoreSDK/PayUMoneyCoreSDK.framework/PUMLoginVC.nib differ diff --git a/CoreSDK/PayUMoneyCoreSDK.framework/PUMLoginVC.nib/objects-13.0+.nib b/CoreSDK/PayUMoneyCoreSDK.framework/PUMLoginVC.nib/objects-13.0+.nib deleted file mode 100644 index 4977a93..0000000 Binary files a/CoreSDK/PayUMoneyCoreSDK.framework/PUMLoginVC.nib/objects-13.0+.nib and /dev/null differ diff --git a/CoreSDK/PayUMoneyCoreSDK.framework/PUMLoginVC.nib/runtime.nib b/CoreSDK/PayUMoneyCoreSDK.framework/PUMLoginVC.nib/runtime.nib deleted file mode 100644 index 1a9616c..0000000 Binary files a/CoreSDK/PayUMoneyCoreSDK.framework/PUMLoginVC.nib/runtime.nib and /dev/null differ diff --git a/CoreSDK/PayUMoneyCoreSDK.framework/PayUMoneyCoreSDK b/CoreSDK/PayUMoneyCoreSDK.framework/PayUMoneyCoreSDK index 6769247..baf39fe 100755 Binary files a/CoreSDK/PayUMoneyCoreSDK.framework/PayUMoneyCoreSDK and b/CoreSDK/PayUMoneyCoreSDK.framework/PayUMoneyCoreSDK differ