iamport-react-native 2.0.15 → 3.0.1-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (430) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/README.md +12 -2
  3. package/lib/module/components/Certification/index.js +75 -72
  4. package/lib/module/components/Certification/index.js.map +1 -1
  5. package/lib/module/components/ErrorOnParams/index.js +13 -9
  6. package/lib/module/components/ErrorOnParams/index.js.map +1 -1
  7. package/lib/module/components/Loading/index.js +13 -9
  8. package/lib/module/components/Loading/index.js.map +1 -1
  9. package/lib/module/components/Payment/index.js +111 -93
  10. package/lib/module/components/Payment/index.js.map +1 -1
  11. package/lib/module/constants/index.js +2 -0
  12. package/lib/module/constants/index.js.map +1 -1
  13. package/lib/module/index.js +6 -4
  14. package/lib/module/index.js.map +1 -1
  15. package/lib/module/package.json +1 -0
  16. package/lib/module/styles.js +2 -0
  17. package/lib/module/styles.js.map +1 -1
  18. package/lib/module/utils/IamportUrl.js +51 -29
  19. package/lib/module/utils/IamportUrl.js.map +1 -1
  20. package/lib/module/utils/Validation.js +3 -2
  21. package/lib/module/utils/Validation.js.map +1 -1
  22. package/lib/module/utils/ValidationForPayment.js +4 -2
  23. package/lib/module/utils/ValidationForPayment.js.map +1 -1
  24. package/lib/typescript/package.json +1 -0
  25. package/lib/typescript/{components → src/components}/Certification/index.d.ts +1 -2
  26. package/lib/typescript/src/components/Certification/index.d.ts.map +1 -0
  27. package/lib/typescript/src/components/ErrorOnParams/index.d.ts +6 -0
  28. package/lib/typescript/src/components/ErrorOnParams/index.d.ts.map +1 -0
  29. package/lib/typescript/src/components/Loading/index.d.ts +3 -0
  30. package/lib/typescript/src/components/Loading/index.d.ts.map +1 -0
  31. package/lib/typescript/{components → src/components}/Payment/index.d.ts +1 -2
  32. package/lib/typescript/src/components/Payment/index.d.ts.map +1 -0
  33. package/lib/typescript/src/constants/index.d.ts.map +1 -0
  34. package/lib/typescript/src/index.d.ts.map +1 -0
  35. package/lib/typescript/{styles.d.ts → src/styles.d.ts} +2 -2
  36. package/lib/typescript/src/styles.d.ts.map +1 -0
  37. package/lib/typescript/{utils → src/utils}/IamportUrl.d.ts +8 -7
  38. package/lib/typescript/src/utils/IamportUrl.d.ts.map +1 -0
  39. package/lib/typescript/src/utils/Validation.d.ts.map +1 -0
  40. package/lib/typescript/src/utils/ValidationForPayment.d.ts.map +1 -0
  41. package/package.json +81 -74
  42. package/src/components/Certification/index.tsx +7 -7
  43. package/src/components/ErrorOnParams/index.tsx +1 -2
  44. package/src/components/Loading/index.tsx +1 -2
  45. package/src/components/Payment/index.tsx +31 -7
  46. package/src/utils/IamportUrl.ts +54 -26
  47. package/.circleci/config.yml +0 -98
  48. package/.editorconfig +0 -15
  49. package/.gitattributes +0 -3
  50. package/.gitignore +0 -69
  51. package/.yarnrc +0 -3
  52. package/.yarnrc.yml +0 -1
  53. package/android/.gradle/8.9/checksums/checksums.lock +0 -0
  54. package/android/.gradle/8.9/checksums/md5-checksums.bin +0 -0
  55. package/android/.gradle/8.9/checksums/sha1-checksums.bin +0 -0
  56. package/android/.gradle/8.9/dependencies-accessors/gc.properties +0 -0
  57. package/android/.gradle/8.9/executionHistory/executionHistory.lock +0 -0
  58. package/android/.gradle/8.9/fileChanges/last-build.bin +0 -0
  59. package/android/.gradle/8.9/fileHashes/fileHashes.lock +0 -0
  60. package/android/.gradle/8.9/gc.properties +0 -0
  61. package/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
  62. package/android/.gradle/buildOutputCleanup/cache.properties +0 -2
  63. package/android/.gradle/vcs-1/gc.properties +0 -0
  64. package/android/build.gradle +0 -128
  65. package/android/gradle.properties +0 -4
  66. package/android/src/main/AndroidManifest.xml +0 -4
  67. package/android/src/main/java/com/iamportreactnative/IamportReactNativePackage.kt +0 -17
  68. package/android/src/main/java/com/iamportreactnative/IamportReactNativeViewManager.kt +0 -20
  69. package/babel.config.js +0 -3
  70. package/example/.gitignore +0 -69
  71. package/example/README.md +0 -44
  72. package/example/android/.gradle/7.5.1/checksums/checksums.lock +0 -0
  73. package/example/android/.gradle/7.5.1/checksums/md5-checksums.bin +0 -0
  74. package/example/android/.gradle/7.5.1/checksums/sha1-checksums.bin +0 -0
  75. package/example/android/.gradle/7.5.1/dependencies-accessors/dependencies-accessors.lock +0 -0
  76. package/example/android/.gradle/7.5.1/dependencies-accessors/gc.properties +0 -0
  77. package/example/android/.gradle/7.5.1/executionHistory/executionHistory.lock +0 -0
  78. package/example/android/.gradle/7.5.1/fileChanges/last-build.bin +0 -0
  79. package/example/android/.gradle/7.5.1/fileHashes/fileHashes.bin +0 -0
  80. package/example/android/.gradle/7.5.1/fileHashes/fileHashes.lock +0 -0
  81. package/example/android/.gradle/7.5.1/gc.properties +0 -0
  82. package/example/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
  83. package/example/android/.gradle/buildOutputCleanup/cache.properties +0 -2
  84. package/example/android/.gradle/vcs-1/gc.properties +0 -0
  85. package/example/android/app/build.gradle +0 -183
  86. package/example/android/app/debug.keystore +0 -0
  87. package/example/android/app/proguard-rules.pro +0 -10
  88. package/example/android/app/src/debug/AndroidManifest.xml +0 -8
  89. package/example/android/app/src/debug/java/com/example/iamportreactnative/ReactNativeFlipper.java +0 -69
  90. package/example/android/app/src/main/AndroidManifest.xml +0 -34
  91. package/example/android/app/src/main/java/com/example/iamportreactnative/MainActivity.java +0 -15
  92. package/example/android/app/src/main/java/com/example/iamportreactnative/MainApplication.java +0 -80
  93. package/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png +0 -0
  94. package/example/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png +0 -0
  95. package/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png +0 -0
  96. package/example/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png +0 -0
  97. package/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png +0 -0
  98. package/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png +0 -0
  99. package/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png +0 -0
  100. package/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png +0 -0
  101. package/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png +0 -0
  102. package/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png +0 -0
  103. package/example/android/app/src/main/res/values/strings.xml +0 -3
  104. package/example/android/app/src/main/res/values/styles.xml +0 -9
  105. package/example/android/build.gradle +0 -21
  106. package/example/android/gradle/wrapper/gradle-wrapper.jar +0 -0
  107. package/example/android/gradle/wrapper/gradle-wrapper.properties +0 -6
  108. package/example/android/gradle.properties +0 -44
  109. package/example/android/gradlew +0 -183
  110. package/example/android/gradlew.bat +0 -103
  111. package/example/android/settings.gradle +0 -9
  112. package/example/app.json +0 -4
  113. package/example/babel.config.js +0 -11
  114. package/example/index.js +0 -5
  115. package/example/ios/File.swift +0 -8
  116. package/example/ios/Gemfile +0 -7
  117. package/example/ios/Gemfile.lock +0 -99
  118. package/example/ios/IamportReactNativeExample/AppDelegate.h +0 -15
  119. package/example/ios/IamportReactNativeExample/AppDelegate.mm +0 -138
  120. package/example/ios/IamportReactNativeExample/Images.xcassets/AppIcon.appiconset/Contents.json +0 -53
  121. package/example/ios/IamportReactNativeExample/Images.xcassets/Contents.json +0 -6
  122. package/example/ios/IamportReactNativeExample/Info.plist +0 -121
  123. package/example/ios/IamportReactNativeExample/LaunchScreen.storyboard +0 -58
  124. package/example/ios/IamportReactNativeExample/main.m +0 -16
  125. package/example/ios/IamportReactNativeExample-Bridging-Header.h +0 -3
  126. package/example/ios/IamportReactNativeExample.xcodeproj/project.pbxproj +0 -969
  127. package/example/ios/IamportReactNativeExample.xcodeproj/xcshareddata/xcschemes/IamportReactNativeExample.xcscheme +0 -99
  128. package/example/ios/IamportReactNativeExample.xcworkspace/contents.xcworkspacedata +0 -10
  129. package/example/ios/IamportReactNativeExample.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +0 -8
  130. package/example/ios/Podfile +0 -57
  131. package/example/ios/Podfile.lock +0 -756
  132. package/example/metro.config.js +0 -66
  133. package/example/package.json +0 -40
  134. package/example/src/App.tsx +0 -17
  135. package/example/src/Certification/index.tsx +0 -30
  136. package/example/src/CertificationResult/index.tsx +0 -79
  137. package/example/src/CertificationTest/index.tsx +0 -214
  138. package/example/src/Home/index.tsx +0 -87
  139. package/example/src/Loading/index.tsx +0 -12
  140. package/example/src/NavigationService.tsx +0 -127
  141. package/example/src/Payment/index.tsx +0 -28
  142. package/example/src/PaymentResult/index.tsx +0 -96
  143. package/example/src/PaymentTest/index.tsx +0 -383
  144. package/example/src/Picker/index.tsx +0 -60
  145. package/example/src/constants.ts +0 -274
  146. package/example/src/utils.ts +0 -83
  147. package/example/yarn.lock +0 -7358
  148. package/exampleForExpo/.buckconfig +0 -6
  149. package/exampleForExpo/.expo/README.md +0 -8
  150. package/exampleForExpo/.expo/devices.json +0 -3
  151. package/exampleForExpo/.gitattributes +0 -1
  152. package/exampleForExpo/.gitignore +0 -125
  153. package/exampleForExpo/.idea/.gitignore +0 -3
  154. package/exampleForExpo/.idea/caches/deviceStreaming.xml +0 -549
  155. package/exampleForExpo/.idea/exampleForExpo.iml +0 -9
  156. package/exampleForExpo/.idea/misc.xml +0 -6
  157. package/exampleForExpo/.idea/modules.xml +0 -8
  158. package/exampleForExpo/.idea/vcs.xml +0 -6
  159. package/exampleForExpo/.idea/workspace.xml +0 -53
  160. package/exampleForExpo/README.md +0 -58
  161. package/exampleForExpo/__tests__/App.js +0 -10
  162. package/exampleForExpo/android/.gitignore +0 -21
  163. package/exampleForExpo/android/.gradle/7.5.1/checksums/checksums.lock +0 -0
  164. package/exampleForExpo/android/.gradle/7.5.1/fileChanges/last-build.bin +0 -0
  165. package/exampleForExpo/android/.gradle/7.5.1/fileHashes/fileHashes.lock +0 -0
  166. package/exampleForExpo/android/.gradle/7.5.1/gc.properties +0 -0
  167. package/exampleForExpo/android/.gradle/vcs-1/gc.properties +0 -0
  168. package/exampleForExpo/android/app/BUCK +0 -55
  169. package/exampleForExpo/android/app/build.gradle +0 -362
  170. package/exampleForExpo/android/app/build_defs.bzl +0 -19
  171. package/exampleForExpo/android/app/debug.keystore +0 -0
  172. package/exampleForExpo/android/app/proguard-rules.pro +0 -14
  173. package/exampleForExpo/android/app/src/debug/AndroidManifest.xml +0 -7
  174. package/exampleForExpo/android/app/src/debug/java/kr/iamport/exampleForExpo/ReactNativeFlipper.java +0 -69
  175. package/exampleForExpo/android/app/src/main/AndroidManifest.xml +0 -34
  176. package/exampleForExpo/android/app/src/main/java/kr/iamport/exampleForExpo/MainActivity.java +0 -83
  177. package/exampleForExpo/android/app/src/main/java/kr/iamport/exampleForExpo/MainApplication.java +0 -106
  178. package/exampleForExpo/android/app/src/main/java/kr/iamport/exampleForExpo/newarchitecture/MainApplicationReactNativeHost.java +0 -117
  179. package/exampleForExpo/android/app/src/main/java/kr/iamport/exampleForExpo/newarchitecture/components/MainComponentsRegistry.java +0 -36
  180. package/exampleForExpo/android/app/src/main/java/kr/iamport/exampleForExpo/newarchitecture/modules/MainApplicationTurboModuleManagerDelegate.java +0 -48
  181. package/exampleForExpo/android/app/src/main/jni/CMakeLists.txt +0 -7
  182. package/exampleForExpo/android/app/src/main/jni/MainApplicationModuleProvider.cpp +0 -32
  183. package/exampleForExpo/android/app/src/main/jni/MainApplicationModuleProvider.h +0 -16
  184. package/exampleForExpo/android/app/src/main/jni/MainApplicationTurboModuleManagerDelegate.cpp +0 -45
  185. package/exampleForExpo/android/app/src/main/jni/MainApplicationTurboModuleManagerDelegate.h +0 -38
  186. package/exampleForExpo/android/app/src/main/jni/MainComponentsRegistry.cpp +0 -65
  187. package/exampleForExpo/android/app/src/main/jni/MainComponentsRegistry.h +0 -32
  188. package/exampleForExpo/android/app/src/main/jni/OnLoad.cpp +0 -11
  189. package/exampleForExpo/android/app/src/main/res/drawable/rn_edit_text_material.xml +0 -36
  190. package/exampleForExpo/android/app/src/main/res/drawable/splashscreen.xml +0 -4
  191. package/exampleForExpo/android/app/src/main/res/mipmap-hdpi/ic_launcher.png +0 -0
  192. package/exampleForExpo/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png +0 -0
  193. package/exampleForExpo/android/app/src/main/res/mipmap-mdpi/ic_launcher.png +0 -0
  194. package/exampleForExpo/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png +0 -0
  195. package/exampleForExpo/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png +0 -0
  196. package/exampleForExpo/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png +0 -0
  197. package/exampleForExpo/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png +0 -0
  198. package/exampleForExpo/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png +0 -0
  199. package/exampleForExpo/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png +0 -0
  200. package/exampleForExpo/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png +0 -0
  201. package/exampleForExpo/android/app/src/main/res/values/colors.xml +0 -4
  202. package/exampleForExpo/android/app/src/main/res/values/strings.xml +0 -3
  203. package/exampleForExpo/android/app/src/main/res/values/styles.xml +0 -17
  204. package/exampleForExpo/android/app/src/main/res/values-night/colors.xml +0 -1
  205. package/exampleForExpo/android/build.gradle +0 -65
  206. package/exampleForExpo/android/gradle/wrapper/gradle-wrapper.jar +0 -0
  207. package/exampleForExpo/android/gradle/wrapper/gradle-wrapper.properties +0 -5
  208. package/exampleForExpo/android/gradle.properties +0 -53
  209. package/exampleForExpo/android/gradlew +0 -240
  210. package/exampleForExpo/android/gradlew.bat +0 -91
  211. package/exampleForExpo/android/settings.gradle +0 -17
  212. package/exampleForExpo/app.json +0 -16
  213. package/exampleForExpo/babel.config.js +0 -11
  214. package/exampleForExpo/index.js +0 -9
  215. package/exampleForExpo/ios/.gitignore +0 -30
  216. package/exampleForExpo/ios/.xcode.env +0 -11
  217. package/exampleForExpo/ios/Podfile +0 -61
  218. package/exampleForExpo/ios/Podfile.lock +0 -734
  219. package/exampleForExpo/ios/Podfile.properties.json +0 -3
  220. package/exampleForExpo/ios/exampleForExpo/AppDelegate.h +0 -9
  221. package/exampleForExpo/ios/exampleForExpo/AppDelegate.mm +0 -166
  222. package/exampleForExpo/ios/exampleForExpo/Images.xcassets/AppIcon.appiconset/Contents.json +0 -38
  223. package/exampleForExpo/ios/exampleForExpo/Images.xcassets/Contents.json +0 -6
  224. package/exampleForExpo/ios/exampleForExpo/Images.xcassets/SplashScreenBackground.imageset/Contents.json +0 -21
  225. package/exampleForExpo/ios/exampleForExpo/Images.xcassets/SplashScreenBackground.imageset/image.png +0 -0
  226. package/exampleForExpo/ios/exampleForExpo/Info.plist +0 -118
  227. package/exampleForExpo/ios/exampleForExpo/SplashScreen.storyboard +0 -43
  228. package/exampleForExpo/ios/exampleForExpo/Supporting/Expo.plist +0 -16
  229. package/exampleForExpo/ios/exampleForExpo/exampleForExpo.entitlements +0 -8
  230. package/exampleForExpo/ios/exampleForExpo/main.m +0 -10
  231. package/exampleForExpo/ios/exampleForExpo/noop-file.swift +0 -4
  232. package/exampleForExpo/ios/exampleForExpo.xcodeproj/project.pbxproj +0 -544
  233. package/exampleForExpo/ios/exampleForExpo.xcodeproj/xcshareddata/xcschemes/exampleForExpo.xcscheme +0 -88
  234. package/exampleForExpo/ios/exampleForExpo.xcworkspace/contents.xcworkspacedata +0 -10
  235. package/exampleForExpo/ios/exampleForExpo.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +0 -8
  236. package/exampleForExpo/metro.config.js +0 -62
  237. package/exampleForExpo/package.json +0 -40
  238. package/exampleForExpo/src/App.js +0 -14
  239. package/exampleForExpo/src/Certification/index.js +0 -25
  240. package/exampleForExpo/src/CertificationResult/index.js +0 -61
  241. package/exampleForExpo/src/CertificationTest/index.js +0 -151
  242. package/exampleForExpo/src/Home/index.js +0 -80
  243. package/exampleForExpo/src/Loading/index.js +0 -10
  244. package/exampleForExpo/src/NavigationService.js +0 -102
  245. package/exampleForExpo/src/Payment/index.js +0 -23
  246. package/exampleForExpo/src/PaymentResult/index.js +0 -82
  247. package/exampleForExpo/src/PaymentTest/index.js +0 -313
  248. package/exampleForExpo/src/Picker/index.js +0 -19
  249. package/exampleForExpo/src/constants.js +0 -322
  250. package/exampleForExpo/src/utils.js +0 -116
  251. package/exampleForExpo/yarn.lock +0 -9498
  252. package/exampleForManagedExpo/.expo-shared/assets.json +0 -4
  253. package/exampleForManagedExpo/.gitignore +0 -22
  254. package/exampleForManagedExpo/App.js +0 -11
  255. package/exampleForManagedExpo/README.md +0 -33
  256. package/exampleForManagedExpo/app.json +0 -90
  257. package/exampleForManagedExpo/assets/adaptive-icon.png +0 -0
  258. package/exampleForManagedExpo/assets/favicon.png +0 -0
  259. package/exampleForManagedExpo/assets/icon.png +0 -0
  260. package/exampleForManagedExpo/assets/splash.png +0 -0
  261. package/exampleForManagedExpo/babel.config.js +0 -11
  262. package/exampleForManagedExpo/metro.config.js +0 -62
  263. package/exampleForManagedExpo/package.json +0 -36
  264. package/exampleForManagedExpo/src/Certification/index.js +0 -25
  265. package/exampleForManagedExpo/src/CertificationResult/index.js +0 -61
  266. package/exampleForManagedExpo/src/CertificationTest/index.js +0 -151
  267. package/exampleForManagedExpo/src/Home/index.js +0 -80
  268. package/exampleForManagedExpo/src/Loading/index.js +0 -10
  269. package/exampleForManagedExpo/src/NavigationService.js +0 -102
  270. package/exampleForManagedExpo/src/Payment/index.js +0 -23
  271. package/exampleForManagedExpo/src/PaymentResult/index.js +0 -82
  272. package/exampleForManagedExpo/src/PaymentTest/index.js +0 -313
  273. package/exampleForManagedExpo/src/Picker/index.js +0 -19
  274. package/exampleForManagedExpo/src/constants.js +0 -322
  275. package/exampleForManagedExpo/src/utils.js +0 -116
  276. package/exampleForManagedExpo/yarn.lock +0 -9411
  277. package/exampleForWebView/.buckconfig +0 -6
  278. package/exampleForWebView/.eslintrc.js +0 -4
  279. package/exampleForWebView/.gitattributes +0 -3
  280. package/exampleForWebView/.gitignore +0 -68
  281. package/exampleForWebView/.prettierrc.js +0 -7
  282. package/exampleForWebView/.watchmanconfig +0 -1
  283. package/exampleForWebView/README.md +0 -77
  284. package/exampleForWebView/__tests__/App-test.tsx +0 -14
  285. package/exampleForWebView/_editorconfig +0 -3
  286. package/exampleForWebView/android/.gradle/7.5.1/checksums/checksums.lock +0 -0
  287. package/exampleForWebView/android/.gradle/7.5.1/fileChanges/last-build.bin +0 -0
  288. package/exampleForWebView/android/.gradle/7.5.1/fileHashes/fileHashes.lock +0 -0
  289. package/exampleForWebView/android/.gradle/7.5.1/gc.properties +0 -0
  290. package/exampleForWebView/android/.gradle/vcs-1/gc.properties +0 -0
  291. package/exampleForWebView/android/app/BUCK +0 -55
  292. package/exampleForWebView/android/app/build.gradle +0 -313
  293. package/exampleForWebView/android/app/build_defs.bzl +0 -19
  294. package/exampleForWebView/android/app/debug.keystore +0 -0
  295. package/exampleForWebView/android/app/proguard-rules.pro +0 -10
  296. package/exampleForWebView/android/app/src/debug/AndroidManifest.xml +0 -13
  297. package/exampleForWebView/android/app/src/debug/java/com/exampleforwebview/ReactNativeFlipper.java +0 -73
  298. package/exampleForWebView/android/app/src/main/AndroidManifest.xml +0 -26
  299. package/exampleForWebView/android/app/src/main/java/com/exampleforwebview/MainActivity.java +0 -48
  300. package/exampleForWebView/android/app/src/main/java/com/exampleforwebview/MainApplication.java +0 -91
  301. package/exampleForWebView/android/app/src/main/java/com/exampleforwebview/newarchitecture/MainApplicationReactNativeHost.java +0 -116
  302. package/exampleForWebView/android/app/src/main/java/com/exampleforwebview/newarchitecture/components/MainComponentsRegistry.java +0 -36
  303. package/exampleForWebView/android/app/src/main/java/com/exampleforwebview/newarchitecture/modules/MainApplicationTurboModuleManagerDelegate.java +0 -48
  304. package/exampleForWebView/android/app/src/main/jni/CMakeLists.txt +0 -7
  305. package/exampleForWebView/android/app/src/main/jni/MainApplicationModuleProvider.cpp +0 -32
  306. package/exampleForWebView/android/app/src/main/jni/MainApplicationModuleProvider.h +0 -16
  307. package/exampleForWebView/android/app/src/main/jni/MainApplicationTurboModuleManagerDelegate.cpp +0 -45
  308. package/exampleForWebView/android/app/src/main/jni/MainApplicationTurboModuleManagerDelegate.h +0 -38
  309. package/exampleForWebView/android/app/src/main/jni/MainComponentsRegistry.cpp +0 -65
  310. package/exampleForWebView/android/app/src/main/jni/MainComponentsRegistry.h +0 -32
  311. package/exampleForWebView/android/app/src/main/jni/OnLoad.cpp +0 -11
  312. package/exampleForWebView/android/app/src/main/res/drawable/rn_edit_text_material.xml +0 -36
  313. package/exampleForWebView/android/app/src/main/res/mipmap-hdpi/ic_launcher.png +0 -0
  314. package/exampleForWebView/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png +0 -0
  315. package/exampleForWebView/android/app/src/main/res/mipmap-mdpi/ic_launcher.png +0 -0
  316. package/exampleForWebView/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png +0 -0
  317. package/exampleForWebView/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png +0 -0
  318. package/exampleForWebView/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png +0 -0
  319. package/exampleForWebView/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png +0 -0
  320. package/exampleForWebView/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png +0 -0
  321. package/exampleForWebView/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png +0 -0
  322. package/exampleForWebView/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png +0 -0
  323. package/exampleForWebView/android/app/src/main/res/values/strings.xml +0 -3
  324. package/exampleForWebView/android/app/src/main/res/values/styles.xml +0 -9
  325. package/exampleForWebView/android/build.gradle +0 -51
  326. package/exampleForWebView/android/gradle/wrapper/gradle-wrapper.jar +0 -0
  327. package/exampleForWebView/android/gradle/wrapper/gradle-wrapper.properties +0 -5
  328. package/exampleForWebView/android/gradle.properties +0 -40
  329. package/exampleForWebView/android/gradlew +0 -234
  330. package/exampleForWebView/android/gradlew.bat +0 -89
  331. package/exampleForWebView/android/settings.gradle +0 -11
  332. package/exampleForWebView/app.json +0 -4
  333. package/exampleForWebView/babel.config.js +0 -11
  334. package/exampleForWebView/index.js +0 -9
  335. package/exampleForWebView/ios/.xcode.env +0 -11
  336. package/exampleForWebView/ios/Podfile +0 -43
  337. package/exampleForWebView/ios/Podfile.lock +0 -748
  338. package/exampleForWebView/ios/exampleForWebView/AppDelegate.h +0 -8
  339. package/exampleForWebView/ios/exampleForWebView/AppDelegate.mm +0 -133
  340. package/exampleForWebView/ios/exampleForWebView/Images.xcassets/AppIcon.appiconset/Contents.json +0 -53
  341. package/exampleForWebView/ios/exampleForWebView/Images.xcassets/Contents.json +0 -6
  342. package/exampleForWebView/ios/exampleForWebView/Info.plist +0 -96
  343. package/exampleForWebView/ios/exampleForWebView/LaunchScreen.storyboard +0 -47
  344. package/exampleForWebView/ios/exampleForWebView/main.m +0 -10
  345. package/exampleForWebView/ios/exampleForWebView.xcodeproj/project.pbxproj +0 -723
  346. package/exampleForWebView/ios/exampleForWebView.xcodeproj/xcshareddata/xcschemes/exampleForWebView.xcscheme +0 -88
  347. package/exampleForWebView/ios/exampleForWebView.xcworkspace/contents.xcworkspacedata +0 -10
  348. package/exampleForWebView/ios/exampleForWebView.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +0 -8
  349. package/exampleForWebView/ios/exampleForWebViewTests/Info.plist +0 -24
  350. package/exampleForWebView/ios/exampleForWebViewTests/exampleForWebViewTests.m +0 -66
  351. package/exampleForWebView/manuals/CERTIFICATION.md +0 -223
  352. package/exampleForWebView/manuals/PAYMENT.md +0 -232
  353. package/exampleForWebView/metro.config.js +0 -61
  354. package/exampleForWebView/package.json +0 -54
  355. package/exampleForWebView/src/App.tsx +0 -50
  356. package/exampleForWebView/src/Certification.tsx +0 -54
  357. package/exampleForWebView/src/Home.tsx +0 -49
  358. package/exampleForWebView/src/Loading.tsx +0 -23
  359. package/exampleForWebView/src/Payment.tsx +0 -65
  360. package/exampleForWebView/yarn.lock +0 -7362
  361. package/iamport-react-native.podspec +0 -19
  362. package/ios/IamportReactNative-Bridging-Header.h +0 -1
  363. package/ios/IamportReactNative.xcodeproj/project.pbxproj +0 -293
  364. package/ios/IamportReactNativeViewManager.m +0 -12
  365. package/ios/IamportReactNativeViewManager.swift +0 -32
  366. package/lib/commonjs/components/Certification/index.js +0 -121
  367. package/lib/commonjs/components/Certification/index.js.map +0 -1
  368. package/lib/commonjs/components/ErrorOnParams/index.js +0 -50
  369. package/lib/commonjs/components/ErrorOnParams/index.js.map +0 -1
  370. package/lib/commonjs/components/Loading/index.js +0 -34
  371. package/lib/commonjs/components/Loading/index.js.map +0 -1
  372. package/lib/commonjs/components/Payment/index.js +0 -225
  373. package/lib/commonjs/components/Payment/index.js.map +0 -1
  374. package/lib/commonjs/constants/index.js +0 -114
  375. package/lib/commonjs/constants/index.js.map +0 -1
  376. package/lib/commonjs/img/iamport-logo.png +0 -0
  377. package/lib/commonjs/index.js +0 -29
  378. package/lib/commonjs/index.js.map +0 -1
  379. package/lib/commonjs/styles.js +0 -27
  380. package/lib/commonjs/styles.js.map +0 -1
  381. package/lib/commonjs/utils/IamportUrl.js +0 -289
  382. package/lib/commonjs/utils/IamportUrl.js.map +0 -1
  383. package/lib/commonjs/utils/Validation.js +0 -109
  384. package/lib/commonjs/utils/Validation.js.map +0 -1
  385. package/lib/commonjs/utils/ValidationForPayment.js +0 -112
  386. package/lib/commonjs/utils/ValidationForPayment.js.map +0 -1
  387. package/lib/typescript/components/Certification/index.d.ts.map +0 -1
  388. package/lib/typescript/components/ErrorOnParams/index.d.ts +0 -7
  389. package/lib/typescript/components/ErrorOnParams/index.d.ts.map +0 -1
  390. package/lib/typescript/components/Loading/index.d.ts +0 -4
  391. package/lib/typescript/components/Loading/index.d.ts.map +0 -1
  392. package/lib/typescript/components/Payment/index.d.ts.map +0 -1
  393. package/lib/typescript/constants/index.d.ts.map +0 -1
  394. package/lib/typescript/index.d.ts.map +0 -1
  395. package/lib/typescript/styles.d.ts.map +0 -1
  396. package/lib/typescript/utils/IamportUrl.d.ts.map +0 -1
  397. package/lib/typescript/utils/Validation.d.ts.map +0 -1
  398. package/lib/typescript/utils/ValidationForPayment.d.ts.map +0 -1
  399. package/manuals/CALLBACK.md +0 -72
  400. package/manuals/EXAMPLE.md +0 -168
  401. package/manuals/EXPO.md +0 -246
  402. package/manuals/INSTALL.md +0 -31
  403. package/manuals/SETTING.md +0 -140
  404. package/manuals/SUPPORT.md +0 -35
  405. package/manuals/TRANS.md +0 -77
  406. package/manuals/VERSION.md +0 -187
  407. package/manuals/assets/after-linking-iamport.png +0 -0
  408. package/manuals/assets/after-linking-webview.png +0 -0
  409. package/manuals/assets/allow-arbitrary.gif +0 -0
  410. package/manuals/assets/android-studio-avd-manager.png +0 -0
  411. package/manuals/assets/android-studio-build.png +0 -0
  412. package/manuals/assets/app-scheme-registry.gif +0 -0
  413. package/manuals/assets/expo-eject.png +0 -0
  414. package/manuals/assets/ios-emulator-certification.png +0 -0
  415. package/manuals/assets/ios-emulator-home.png +0 -0
  416. package/manuals/assets/ios-emulator-payment.png +0 -0
  417. package/manuals/assets/ios-trans-create-header-file-1.png +0 -0
  418. package/manuals/assets/ios-trans-create-header-file-2.png +0 -0
  419. package/manuals/assets/ios-trans-create-objectivec-file-1.png +0 -0
  420. package/manuals/assets/ios-trans-create-objectivec-file-2.png +0 -0
  421. package/manuals/assets/ios-trans-result.png +0 -0
  422. package/manuals/assets/webview-peer-dependency.png +0 -0
  423. package/scripts/bootstrap.js +0 -24
  424. package/tsconfig.build.json +0 -9
  425. package/tsconfig.json +0 -26
  426. package/yarn.lock +0 -6174
  427. /package/lib/typescript/{constants → src/constants}/index.d.ts +0 -0
  428. /package/lib/typescript/{index.d.ts → src/index.d.ts} +0 -0
  429. /package/lib/typescript/{utils → src/utils}/Validation.d.ts +0 -0
  430. /package/lib/typescript/{utils → src/utils}/ValidationForPayment.d.ts +0 -0
@@ -1,313 +0,0 @@
1
- import React, { useState } from 'react';
2
- import {
3
- Button,
4
- FormControl,
5
- Input,
6
- ScrollView,
7
- Stack,
8
- Switch,
9
- Text,
10
- } from 'native-base';
11
- import { SafeAreaView } from 'react-native-safe-area-context';
12
- import Picker from '../Picker';
13
- import { PGS, TIER_CODES } from '../constants';
14
- import { getMethods, getQuotas } from '../utils';
15
- import { IMPConst } from 'iamport-react-native';
16
- import { useSafeAreaInsets } from 'react-native-safe-area-context';
17
-
18
- export default function PaymentTest({ navigation }) {
19
- const [pg, setPg] = useState('html5_inicis');
20
- const [tierCode, setTierCode] = useState(undefined);
21
- const [method, setMethod] = useState('card');
22
- const [cardQuota, setCardQuota] = useState(0);
23
- const [merchantUid, setMerchantUid] = useState(`mid_${new Date().getTime()}`);
24
- const [name, setName] = useState('아임포트 결제데이터분석');
25
- const [amount, setAmount] = useState('39000');
26
- const [buyerName, setBuyerName] = useState('홍길동');
27
- const [buyerTel, setBuyerTel] = useState('01012341234');
28
- const [buyerEmail, setBuyerEmail] = useState('example@example.com');
29
- const [vbankDue, setVbankDue] = useState('');
30
- const [bizNum, setBizNum] = useState('');
31
- const [escrow, setEscrow] = useState(false);
32
- const [digital, setDigital] = useState(false);
33
- const insets = useSafeAreaInsets();
34
-
35
- return (
36
- <SafeAreaView
37
- style={{
38
- flex: 1,
39
- justifyContent: 'center',
40
- backgroundColor: '#f5f5f5',
41
- paddingTop: -insets.top,
42
- }}
43
- >
44
- <ScrollView m={2} backgroundColor={'#fff'}>
45
- <FormControl p={'5%'} borderRadius={3}>
46
- <Stack direction={'row'}>
47
- <FormControl.Label alignItems={'center'} mb={2} w={'18%'}>
48
- PG사
49
- </FormControl.Label>
50
- <Picker
51
- data={PGS}
52
- selectedValue={pg}
53
- onValueChange={(value) => {
54
- setPg(value);
55
- const methods = getMethods(value);
56
- setMethod(methods[0].value);
57
- }}
58
- />
59
- </Stack>
60
- <Stack direction={'row'}>
61
- <FormControl.Label alignItems={'center'} mb={2} w={'18%'}>
62
- 티어 코드
63
- </FormControl.Label>
64
- <Picker
65
- data={TIER_CODES}
66
- selectedValue={tierCode}
67
- onValueChange={(value) => setTierCode(value)}
68
- />
69
- </Stack>
70
- <Stack direction={'row'}>
71
- <FormControl.Label alignItems={'center'} mb={2} w={'18%'}>
72
- 결제수단
73
- </FormControl.Label>
74
- <Picker
75
- data={getMethods(pg)}
76
- selectedValue={method}
77
- onValueChange={(value) => setMethod(value)}
78
- />
79
- </Stack>
80
- {method === 'card' && (
81
- <Stack direction={'row'}>
82
- <FormControl.Label alignItems={'center'} mb={2} w={'18%'}>
83
- 할부개월수
84
- </FormControl.Label>
85
- <Picker
86
- data={getQuotas(pg)}
87
- selectedValue={cardQuota}
88
- onValueChange={(value) => setCardQuota(parseInt(value, 10))}
89
- />
90
- </Stack>
91
- )}
92
- {method === 'vbank' && (
93
- <Stack direction={'row'}>
94
- <FormControl.Label alignItems={'center'} mb={2} w={'18%'}>
95
- 입금기한
96
- </FormControl.Label>
97
- <Input
98
- mb={2}
99
- flex={1}
100
- value={vbankDue}
101
- onChangeText={(value) => setVbankDue(value)}
102
- />
103
- </Stack>
104
- )}
105
- {method === 'vbank' && pg === 'danal_tpay' && (
106
- <Stack direction={'row'}>
107
- <FormControl.Label alignItems={'center'} mb={2} w={'18%'}>
108
- 사업자번호
109
- </FormControl.Label>
110
- <Input
111
- mb={2}
112
- flex={1}
113
- value={bizNum}
114
- keyboardType="number-pad"
115
- returnKeyType={'done'}
116
- onChangeText={(value) => setBizNum(value)}
117
- />
118
- </Stack>
119
- )}
120
- {method === 'phone' && (
121
- <Stack direction={'row'}>
122
- <FormControl.Label alignItems={'center'} mb={2} w={'18%'}>
123
- 실물컨텐츠
124
- </FormControl.Label>
125
- <Switch
126
- mb={2}
127
- value={digital}
128
- onValueChange={(value) => setDigital(value)}
129
- />
130
- </Stack>
131
- )}
132
- <Stack direction={'row'}>
133
- <FormControl.Label alignItems={'center'} mb={2} w={'18%'}>
134
- 에스크로
135
- </FormControl.Label>
136
- <Switch
137
- mb={2}
138
- value={escrow}
139
- onValueChange={(value) => setEscrow(value)}
140
- />
141
- </Stack>
142
- <Stack direction={'row'}>
143
- <FormControl.Label alignItems={'center'} mb={2} w={'18%'}>
144
- 주문명
145
- </FormControl.Label>
146
- <Input
147
- mb={2}
148
- flex={1}
149
- value={name}
150
- onChangeText={(value) => setName(value)}
151
- />
152
- </Stack>
153
- <Stack direction={'row'}>
154
- <FormControl.Label alignItems={'center'} mb={2} w={'18%'}>
155
- 결제금액
156
- </FormControl.Label>
157
- <Input
158
- mb={2}
159
- flex={1}
160
- value={amount}
161
- keyboardType="number-pad"
162
- returnKeyType={'done'}
163
- onChangeText={(value) => setAmount(value)}
164
- />
165
- </Stack>
166
- <Stack direction={'row'}>
167
- <FormControl.Label alignItems={'center'} mb={2} w={'18%'}>
168
- 주문번호
169
- </FormControl.Label>
170
- <Input
171
- mb={2}
172
- flex={1}
173
- value={merchantUid}
174
- onChangeText={(value) => setMerchantUid(value)}
175
- />
176
- </Stack>
177
- <Stack direction={'row'}>
178
- <FormControl.Label alignItems={'center'} mb={2} w={'18%'}>
179
- 이름
180
- </FormControl.Label>
181
- <Input
182
- mb={2}
183
- flex={1}
184
- value={buyerName}
185
- onChangeText={(value) => setBuyerName(value)}
186
- />
187
- </Stack>
188
- <Stack direction={'row'}>
189
- <FormControl.Label alignItems={'center'} mb={2} w={'18%'}>
190
- 전화번호
191
- </FormControl.Label>
192
- <Input
193
- mb={2}
194
- flex={1}
195
- value={buyerTel}
196
- keyboardType="number-pad"
197
- returnKeyType={'done'}
198
- onChangeText={(value) => setBuyerTel(value)}
199
- />
200
- </Stack>
201
- <Stack direction={'row'}>
202
- <FormControl.Label alignItems={'center'} mb={2} w={'18%'}>
203
- 이메일
204
- </FormControl.Label>
205
- <Input
206
- mb={2}
207
- flex={1}
208
- value={buyerEmail}
209
- onChangeText={(value) => setBuyerEmail(value)}
210
- />
211
- </Stack>
212
- <Button
213
- bgColor={'#344e81'}
214
- /* @ts-ignore */
215
- onPress={() => {
216
- const data = {
217
- params: {
218
- pg,
219
- pay_method: method,
220
- currency: undefined,
221
- notice_url: undefined,
222
- display: undefined,
223
- merchant_uid: merchantUid,
224
- name,
225
- amount,
226
- app_scheme: 'exampleforexpo',
227
- tax_free: undefined,
228
- buyer_name: buyerName,
229
- buyer_tel: buyerTel,
230
- buyer_email: buyerEmail,
231
- buyer_addr: undefined,
232
- buyer_postcode: undefined,
233
- custom_data: undefined,
234
- vbank_due: undefined,
235
- popup: undefined,
236
- digital: undefined,
237
- language: undefined,
238
- biz_num: undefined,
239
- customer_uid: undefined,
240
- naverPopupMode: undefined,
241
- naverUseCfm: undefined,
242
- naverProducts: undefined,
243
- m_redirect_url: IMPConst.M_REDIRECT_URL,
244
- escrow,
245
- },
246
- tierCode,
247
- };
248
-
249
- // 신용카드의 경우, 할부기한 추가
250
- if (method === 'card' && cardQuota !== 0) {
251
- data.params.display = {
252
- card_quota: cardQuota === 1 ? [] : [cardQuota],
253
- };
254
- }
255
-
256
- // 가상계좌의 경우, 입금기한 추가
257
- if (method === 'vbank' && vbankDue) {
258
- data.params.vbank_due = vbankDue;
259
- }
260
-
261
- // 다날 && 가상계좌의 경우, 사업자 등록번호 10자리 추가
262
- if (method === 'vbank' && pg === 'danal_tpay') {
263
- data.params.biz_num = bizNum;
264
- }
265
-
266
- // 휴대폰 소액결제의 경우, 실물 컨텐츠 여부 추가
267
- if (method === 'phone') {
268
- data.params.digital = digital;
269
- }
270
-
271
- // 정기결제의 경우, customer_uid 추가
272
- if (pg === 'kcp_billing') {
273
- data.params.customer_uid = `cuid_${new Date().getTime()}`;
274
- }
275
-
276
- if (pg === 'naverpay') {
277
- const today = new Date();
278
- const oneMonthLater = new Date(
279
- today.setMonth(today.getMonth() + 1)
280
- );
281
- const dd = String(oneMonthLater.getDate()).padStart(2, '0');
282
- const mm = String(oneMonthLater.getMonth() + 1).padStart(
283
- 2,
284
- '0'
285
- ); // January is 0!
286
- const yyyy = oneMonthLater.getFullYear();
287
-
288
- data.params.naverPopupMode = false;
289
- data.params.naverUseCfm = `${yyyy}${mm}${dd}`;
290
- data.params.naverProducts = [
291
- {
292
- categoryType: 'BOOK',
293
- categoryId: 'GENERAL',
294
- uid: '107922211',
295
- name: '한국사',
296
- payReferrer: 'NAVER_BOOK',
297
- count: 10,
298
- },
299
- ];
300
- }
301
-
302
- navigation.navigate('Payment', data);
303
- }}
304
- >
305
- <Text fontWeight={'bold'} color={'#fff'}>
306
- 결제하기
307
- </Text>
308
- </Button>
309
- </FormControl>
310
- </ScrollView>
311
- </SafeAreaView>
312
- );
313
- }
@@ -1,19 +0,0 @@
1
- import React from 'react';
2
- import { Select } from 'native-base';
3
-
4
- export default function Picker(props) {
5
- return (
6
- <Select
7
- mb={2}
8
- flex={1}
9
- borderColor={'transparent'}
10
- selectedValue={props.selectedValue}
11
- onValueChange={props.onValueChange}
12
- >
13
- {props.data.map((e, index) => {
14
- const { label, value } = e;
15
- return <Select.Item label={label} value={value} key={index} />;
16
- })}
17
- </Select>
18
- );
19
- }
@@ -1,322 +0,0 @@
1
- const PGS = [
2
- {
3
- value: 'html5_inicis',
4
- label: '웹 표준 이니시스',
5
- },
6
- {
7
- value: 'kcp',
8
- label: 'NHN KCP',
9
- },
10
- {
11
- value: 'kcp_billing',
12
- label: 'NHN KCP 정기결제',
13
- },
14
- {
15
- value: 'uplus',
16
- label: '토스페이먼츠 - (구)LG 유플러스',
17
- },
18
- {
19
- value: 'jtnet',
20
- label: 'JTNET',
21
- },
22
- {
23
- value: 'nice',
24
- label: '나이스 정보통신',
25
- },
26
- {
27
- value: 'kakaopay',
28
- label: '신 - 카카오페이',
29
- },
30
- {
31
- value: 'kakao',
32
- label: '구 - LG CNS 카카오페이',
33
- },
34
- {
35
- value: 'danal',
36
- label: '다날 휴대폰 소액결제',
37
- },
38
- {
39
- value: 'danal_tpay',
40
- label: '다날 일반결제',
41
- },
42
- {
43
- value: 'kicc',
44
- label: '한국정보통신',
45
- },
46
- {
47
- value: 'paypal',
48
- label: '페이팔',
49
- },
50
- {
51
- value: 'mobilians',
52
- label: '모빌리언스',
53
- },
54
- {
55
- value: 'payco',
56
- label: '페이코',
57
- },
58
- {
59
- value: 'eximbay',
60
- label: '엑심베이',
61
- },
62
- {
63
- value: 'settle',
64
- label: '세틀뱅크 가상계좌',
65
- },
66
- {
67
- value: 'naverco',
68
- label: '네이버 체크아웃',
69
- },
70
- {
71
- value: 'naverpay',
72
- label: '네이버페이',
73
- },
74
- {
75
- value: 'smilepay',
76
- label: '스마일페이',
77
- },
78
- {
79
- value: 'chai',
80
- label: '차이페이',
81
- },
82
- {
83
- value: 'payple',
84
- label: '페이플',
85
- },
86
- {
87
- value: 'alipay',
88
- label: '알리페이',
89
- },
90
- {
91
- value: 'bluewalnut',
92
- label: '블루월넛',
93
- },
94
- {
95
- value: 'tosspay',
96
- label: '토스 - 간편결제',
97
- },
98
- {
99
- value: 'smartro',
100
- label: '스마트로',
101
- },
102
- {
103
- value: 'tosspayments',
104
- label: '토스페이먼츠 (신모듈)',
105
- },
106
- {
107
- value: 'ksnet',
108
- label: 'KSNET',
109
- },
110
- ];
111
-
112
- const TIER_CODES = [
113
- {
114
- value: 'ADD',
115
- label: '아디다스',
116
- },
117
- {
118
- value: 'RBK',
119
- label: '리복 - 복수PG 사용중',
120
- },
121
- {
122
- value: 'HKT',
123
- label: '에어텔닷컴 렌트카 테스트',
124
- },
125
- {
126
- value: 'HKK',
127
- label: 'YES Angel',
128
- },
129
- {
130
- value: 'DGA',
131
- label: 'CAMPVR대구',
132
- },
133
- {
134
- value: 'SCH',
135
- label: 'CAMPVR광화문',
136
- },
137
- {
138
- value: 'SNL',
139
- label: '토즈_선릉점',
140
- },
141
- {
142
- value: '111',
143
- label: '여기어때',
144
- },
145
- {
146
- value: 'ABC',
147
- label: '삼성점',
148
- },
149
- {
150
- value: 'XYZ',
151
- label: '삼성점',
152
- },
153
- {
154
- value: '123',
155
- label: 'aaaaaaa',
156
- },
157
- {
158
- value: 'AAZ',
159
- label: '테스트하위가맹',
160
- },
161
- {
162
- value: '001',
163
- label: '테스트',
164
- },
165
- {
166
- value: 'A01',
167
- label: '행복쇼핑',
168
- },
169
- {
170
- value: 'T11',
171
- label: 'test11',
172
- },
173
- ];
174
-
175
- const METHODS = [
176
- {
177
- value: 'card',
178
- label: '신용카드',
179
- },
180
- {
181
- value: 'vbank',
182
- label: '가상계좌',
183
- },
184
- {
185
- value: 'trans',
186
- label: '실시간 계좌이체',
187
- },
188
- {
189
- value: 'phone',
190
- label: '휴대폰 소액결제',
191
- },
192
- ];
193
-
194
- const METHODS_FOR_INICIS = METHODS.concat([
195
- {
196
- value: 'samsung',
197
- label: '삼성페이',
198
- },
199
- {
200
- value: 'kapy',
201
- label: 'KPAY',
202
- },
203
- {
204
- value: 'cultureland',
205
- label: '문화상품권',
206
- },
207
- {
208
- value: 'smartculture',
209
- label: '스마트문상',
210
- },
211
- {
212
- value: 'happymoney',
213
- label: '해피머니',
214
- },
215
- ]);
216
-
217
- const METHODS_FOR_UPLUS = METHODS.concat([
218
- {
219
- value: 'cultureland',
220
- label: '문화상품권',
221
- },
222
- {
223
- value: 'smartculture',
224
- label: '스마트문상',
225
- },
226
- {
227
- value: 'booknlife',
228
- label: '도서상품권',
229
- },
230
- ]);
231
-
232
- const METHODS_FOR_KCP = METHODS.concat([
233
- {
234
- value: 'samsung',
235
- label: '삼성페이',
236
- },
237
- ]);
238
-
239
- const METHODS_FOR_MOBILIANS = [
240
- {
241
- value: 'card',
242
- label: '신용카드',
243
- },
244
- {
245
- value: 'phone',
246
- label: '휴대폰 소액결제',
247
- },
248
- ];
249
-
250
- const METHOD_FOR_CARD = [
251
- {
252
- value: 'card',
253
- label: '신용카드',
254
- },
255
- ];
256
-
257
- const METHOD_FOR_PHONE = [
258
- {
259
- value: 'phone',
260
- label: '휴대폰 소액결제',
261
- },
262
- ];
263
-
264
- const METHOD_FOR_VBANK = [
265
- {
266
- value: 'vbank',
267
- label: '가상계좌',
268
- },
269
- ];
270
-
271
- const METHOD_FOR_TRANS = [
272
- {
273
- value: 'trans',
274
- label: '실시간 계좌이체',
275
- },
276
- ];
277
-
278
- const QUOTAS = [
279
- {
280
- value: 0,
281
- label: 'PG사 기본 제공',
282
- },
283
- {
284
- value: 1,
285
- label: '일시불',
286
- },
287
- ];
288
-
289
- const CARRIERS = [
290
- {
291
- value: 'SKT',
292
- label: 'SKT',
293
- },
294
- {
295
- value: 'KTF',
296
- label: 'KT',
297
- },
298
- {
299
- value: 'LGT',
300
- label: 'LGU+',
301
- },
302
- {
303
- value: 'MVNO',
304
- label: '알뜰폰',
305
- },
306
- ];
307
-
308
- export {
309
- PGS,
310
- TIER_CODES,
311
- METHODS,
312
- METHODS_FOR_INICIS,
313
- METHODS_FOR_UPLUS,
314
- METHODS_FOR_KCP,
315
- METHODS_FOR_MOBILIANS,
316
- METHOD_FOR_CARD,
317
- METHOD_FOR_PHONE,
318
- METHOD_FOR_VBANK,
319
- METHOD_FOR_TRANS,
320
- QUOTAS,
321
- CARRIERS,
322
- };