-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #216 from razorpay/release/v1.3.12
Version 1.3.12 release
- Loading branch information
Showing
104 changed files
with
21,919 additions
and
359 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -67,20 +67,16 @@ class CheckoutViewController: UIViewController,RazorpayPaymentCompletionProtocol | |
|
||
private func openRazorpayCheckout() { | ||
// 1. Initialize razorpay object with provided key. Also depending on your requirement you can assign delegate to self. It can be one of the protocol from RazorpayPaymentCompletionProtocolWithData, RazorpayPaymentCompletionProtocol. | ||
razorpayObj = RazorpayCheckout.initWithKey(razorpayKey, andDelegateWithData: self) | ||
razorpayObj = RazorpayCheckout.initWithKey("rzp_live_JbQIqxBRizNPmu", andDelegateWithData: self) | ||
let options: [AnyHashable:Any] = [ | ||
"prefill": [ | ||
"contact": "1234567890", | ||
"email": "[email protected]" | ||
], | ||
"image": merchantDetails.logo, | ||
"amount" : 100, | ||
"name": merchantDetails.name, | ||
"theme": [ | ||
"color": merchantDetails.color.toHexString() | ||
"amount":363, | ||
"currency":"MYR", | ||
"image":"https://tenancy.stage02.obdemo.com/assets/img/logo-icon.png", | ||
"name":"Tenancy Payment", | ||
"theme":[ | ||
"color":"#000000" | ||
] | ||
] | ||
// follow link for more options - https://razorpay.com/docs/payment-gateway/web-integration/standard/checkout-form/ | ||
] | ||
if let rzp = self.razorpayObj { | ||
rzp.open(options) | ||
} else { | ||
|
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
Pod/Razorpay.xcframework/ios-arm64/Razorpay.framework/Info.plist
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...4/Razorpay.framework/Modules/Razorpay.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo
Binary file not shown.
Oops, something went wrong.