Created
January 20, 2020 12:29
-
-
Save nwoow/4e7abf4a39c1adaaa051e6b0bbc3d523 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| var street = "jjjj | |
| #we need to pass this variable in full_address | |
| window.Paytabs.initWithIframe(document.body, { | |
| settings: { | |
| secret_key: | |
| "WIfjigJE0bTlJfsjysPvWHyMYYFxVsoSaEbtVU7W61hPgK8PcYk9GTVERBcN3BFdfQHaLP6RQoH79QWmPgvv9qa11nP4Yuiel0o7", | |
| merchant_id: "10045363", | |
| url_redirect: "https://9k23u.csb.app/", | |
| amount: "100", | |
| title: "John Doe", | |
| currency: "USD", | |
| product_names: "test test", | |
| ui_show_billing_address: "false", | |
| order_id: "25", | |
| ui_type: "iframe", | |
| is_popup: "true", | |
| ui_show_header: "true", | |
| custom_css: | |
| ".logo{content: url(http://icons.iconarchive.com/icons/paomedia/small-n-flat/256/sign-check-icon.png);}" | |
| }, | |
| customer_info: { | |
| first_name: "Ramy", | |
| last_name: "Sabry", | |
| phone_number: "123456", | |
| email_address: "[email protected]", | |
| country_code: "973" | |
| }, | |
| billing_address: { | |
| full_address: street, | |
| city: "Dubai", | |
| state: "Duabi", | |
| country: "ARE", | |
| postal_code: "00000" | |
| } | |
| }); | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment