Skip to content

Instantly share code, notes, and snippets.

@yamitake
Created August 12, 2013 07:35
Show Gist options
  • Select an option

  • Save yamitake/6208853 to your computer and use it in GitHub Desktop.

Select an option

Save yamitake/6208853 to your computer and use it in GitHub Desktop.
<script type="text/javascript" src="https://js.stripe.com/v2/"></script>
Stripe.endpoint = "https://api.webpay.jp/v1";
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