Skip to content

Commit

Permalink
changes for peru
Browse files Browse the repository at this point in the history
  • Loading branch information
carloshe-perez committed Jul 8, 2021
1 parent 6899bda commit e364426
Show file tree
Hide file tree
Showing 18 changed files with 26 additions and 26 deletions.
Binary file not shown.
6 changes: 3 additions & 3 deletions OpenpayExample/DetailViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import OpenpayKit
class DetailViewController: UIViewController,CardTokenComplete {

var openpay: Openpay!
static let MERCHANT_ID = "mwf7x79goz7afkdbuyqd" // Generated in Openpay account registration
static let API_KEY = "pk_575c5a2837d94433a57cf1590bf849b0" // Generated in Openpay account registration
static let MERCHANT_ID = "m3cji4ughukthjcsglv0" // Generated in Openpay account registration
static let API_KEY = "pk_041b934cacef4780929cc7a3d21d1403" // Generated in Openpay account registration

var sessionID: String!
var tokenID: String!
Expand All @@ -23,7 +23,7 @@ class DetailViewController: UIViewController,CardTokenComplete {
super.viewDidLoad()

// Init library
openpay = Openpay(withMerchantId: DetailViewController.MERCHANT_ID, andApiKey: DetailViewController.API_KEY, isProductionMode: false, isDebug: true,countryCode: "CO")
openpay = Openpay(withMerchantId: DetailViewController.MERCHANT_ID, andApiKey: DetailViewController.API_KEY, isProductionMode: false, isDebug: true,countryCode: "PE")

// Get session id
openpay.createDeviceSessionId(successFunction: successSessionID, failureFunction: failSessionID)
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,19 @@
</data>
<key>Modules/OpenpayKit.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo</key>
<data>
B8UEXFLDUMsw8EyPKyXAWLYmn2M=
yBJ0Y0okcPQseb1RQ2XHwMPE11E=
</data>
<key>Modules/OpenpayKit.swiftmodule/Project/arm64.swiftsourceinfo</key>
<data>
B8UEXFLDUMsw8EyPKyXAWLYmn2M=
yBJ0Y0okcPQseb1RQ2XHwMPE11E=
</data>
<key>Modules/OpenpayKit.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo</key>
<data>
fFwsd3UoyDsFGUcETLCSjgnJFJc=
gVHLkhy8lY7tMGQS8CHTL6QwoDY=
</data>
<key>Modules/OpenpayKit.swiftmodule/Project/x86_64.swiftsourceinfo</key>
<data>
fFwsd3UoyDsFGUcETLCSjgnJFJc=
gVHLkhy8lY7tMGQS8CHTL6QwoDY=
</data>
<key>Modules/OpenpayKit.swiftmodule/arm64-apple-ios-simulator.swiftdoc</key>
<data>
Expand All @@ -42,7 +42,7 @@
</data>
<key>Modules/OpenpayKit.swiftmodule/arm64-apple-ios-simulator.swiftmodule</key>
<data>
UPO3y6+db8nCke3jmk/DGlSAz2k=
kXSU0Ui1hdfBuqjhwCDstChDDAc=
</data>
<key>Modules/OpenpayKit.swiftmodule/arm64.swiftdoc</key>
<data>
Expand All @@ -54,7 +54,7 @@
</data>
<key>Modules/OpenpayKit.swiftmodule/arm64.swiftmodule</key>
<data>
UPO3y6+db8nCke3jmk/DGlSAz2k=
kXSU0Ui1hdfBuqjhwCDstChDDAc=
</data>
<key>Modules/OpenpayKit.swiftmodule/x86_64-apple-ios-simulator.swiftdoc</key>
<data>
Expand All @@ -66,7 +66,7 @@
</data>
<key>Modules/OpenpayKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule</key>
<data>
4DOg0BG/Rd/RAZFa/EGeUD4hOw4=
lEjngAL5UcXmi2f9GC2h1QdgUjo=
</data>
<key>Modules/OpenpayKit.swiftmodule/x86_64.swiftdoc</key>
<data>
Expand All @@ -78,7 +78,7 @@
</data>
<key>Modules/OpenpayKit.swiftmodule/x86_64.swiftmodule</key>
<data>
4DOg0BG/Rd/RAZFa/EGeUD4hOw4=
lEjngAL5UcXmi2f9GC2h1QdgUjo=
</data>
<key>Modules/module.modulemap</key>
<data>
Expand All @@ -88,7 +88,7 @@
<dict>
<key>hash</key>
<data>
8Bq7R4iguBTaH3iRiEGkXHorCTM=
9kMPAZPT4l75XePD9ZBN1F+6QHs=
</data>
<key>optional</key>
<true/>
Expand All @@ -106,7 +106,7 @@
<dict>
<key>hash</key>
<data>
9idKlAnBfm87NjZx4ZHW0x9yZx4=
MmaJvWPlHA+JfkwsD6J0l29JxWE=
</data>
<key>optional</key>
<true/>
Expand All @@ -124,7 +124,7 @@
<dict>
<key>hash</key>
<data>
CDmqza9h7k+Mth+ylufnm9PG0MM=
RDqyDXkHQvXx+iB8hbh6a5d+szk=
</data>
<key>optional</key>
<true/>
Expand Down Expand Up @@ -159,28 +159,28 @@
<dict>
<key>hash2</key>
<data>
hlsEH9s3743jvxCgr98903BeJ16jDHcr6VMt5rZ1dVw=
z4EFIsDSkdD43IdjajOy6qhS8dF2gGPIogXMVLLN27k=
</data>
</dict>
<key>Modules/OpenpayKit.swiftmodule/Project/arm64.swiftsourceinfo</key>
<dict>
<key>hash2</key>
<data>
hlsEH9s3743jvxCgr98903BeJ16jDHcr6VMt5rZ1dVw=
z4EFIsDSkdD43IdjajOy6qhS8dF2gGPIogXMVLLN27k=
</data>
</dict>
<key>Modules/OpenpayKit.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo</key>
<dict>
<key>hash2</key>
<data>
qHFug5O0EirRnm0isvqb1Un64zOGfTvQW5XNaZg8coA=
IF6GustS70sZbc2bvzY+DwQhrmJ7VT9qVuTTA2uDc1c=
</data>
</dict>
<key>Modules/OpenpayKit.swiftmodule/Project/x86_64.swiftsourceinfo</key>
<dict>
<key>hash2</key>
<data>
qHFug5O0EirRnm0isvqb1Un64zOGfTvQW5XNaZg8coA=
IF6GustS70sZbc2bvzY+DwQhrmJ7VT9qVuTTA2uDc1c=
</data>
</dict>
<key>Modules/OpenpayKit.swiftmodule/arm64-apple-ios-simulator.swiftdoc</key>
Expand All @@ -201,7 +201,7 @@
<dict>
<key>hash2</key>
<data>
kgf2tR5Q5mMMQLG7tP28a9ku2g0GHlZ9ZfFcDYVTBHY=
fwQAjPViq9uOm5a8icNLkXWh638+9JaTgqBVo57oOQo=
</data>
</dict>
<key>Modules/OpenpayKit.swiftmodule/arm64.swiftdoc</key>
Expand All @@ -222,7 +222,7 @@
<dict>
<key>hash2</key>
<data>
kgf2tR5Q5mMMQLG7tP28a9ku2g0GHlZ9ZfFcDYVTBHY=
fwQAjPViq9uOm5a8icNLkXWh638+9JaTgqBVo57oOQo=
</data>
</dict>
<key>Modules/OpenpayKit.swiftmodule/x86_64-apple-ios-simulator.swiftdoc</key>
Expand All @@ -243,7 +243,7 @@
<dict>
<key>hash2</key>
<data>
y99YPSULm0ar892OB4ZlSfI9EDl7TmDcK4WLinwekpA=
K+R9yU0BUCkQLm1IEdC0kiJdn+/DfEAjaLMDCdEs2XQ=
</data>
</dict>
<key>Modules/OpenpayKit.swiftmodule/x86_64.swiftdoc</key>
Expand All @@ -264,7 +264,7 @@
<dict>
<key>hash2</key>
<data>
y99YPSULm0ar892OB4ZlSfI9EDl7TmDcK4WLinwekpA=
K+R9yU0BUCkQLm1IEdC0kiJdn+/DfEAjaLMDCdEs2XQ=
</data>
</dict>
<key>Modules/module.modulemap</key>
Expand All @@ -278,7 +278,7 @@
<dict>
<key>hash2</key>
<data>
WaEW2dSCUWmJa/PAgclIXTq0asUtiGWGcGCrFJzijAE=
zLaVg4H4dXAIFLOmEZhfDPtqJoDanyv1iDBqpwj735U=
</data>
<key>optional</key>
<true/>
Expand All @@ -296,7 +296,7 @@
<dict>
<key>hash2</key>
<data>
iFpGNC8XzQd3FmlB0SAvk+4RqtrbZ5qpnlOb3ZqfYOg=
nwY/2ws+C8jTZwsW4OMCF9gTsUT3YfRRY8AgWC7HRWs=
</data>
<key>optional</key>
<true/>
Expand All @@ -314,7 +314,7 @@
<dict>
<key>hash2</key>
<data>
+QyMeXJahcebMhrTREew1vPSN80JFww8qvPYxcz9elA=
89Sjg4m4/s/m1qzrDeeu0p954RsEbyetcfesc7QFKUQ=
</data>
<key>optional</key>
<true/>
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ func myFunction() {
openpay = Openpay(withMerchantId: MERCHANT_ID, andApiKey: API_KEY, isProductionMode: false, isDebug: false,countryCode: "MX")
}

//You can instantiate with a country code. Currently supported codes are: MX and CO. Any other code will do a fallback to MX an MX is the default if you dont specify a country code.
//You can instantiate with a country code. Currently supported codes are: MX for Mexico, CO for Colombia and PE for Peru. Any other code will do a fallback to MX an MX is the default if you dont specify a country code.

```

Expand Down

0 comments on commit e364426

Please sign in to comment.