Created
August 12, 2013 07:35
-
-
Save yamitake/6208853 to your computer and use it in GitHub Desktop.
webpayでstripe.jsを使う ref: http://qiita.com/yamitake@github/items/78955f98018689b9412d
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
| <script type="text/javascript" src="https://js.stripe.com/v2/"></script> |
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
| Stripe.endpoint = "https://api.webpay.jp/v1"; |
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
| WebPay.api_key = "test_secret_xxxxxxxxxxxxxxx" | |
| customer = WebPay::Customer.create :card => "tok_XXXXXXXXXXX" , :email => "[email protected]" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment