Skip to content

Instantly share code, notes, and snippets.

@hitherejoe
Created May 27, 2016 14:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hitherejoe/2b79b9962b414bc6f120268ef5aa8fae to your computer and use it in GitHub Desktop.
Save hitherejoe/2b79b9962b414bc6f120268ef5aa8fae to your computer and use it in GitHub Desktop.
PaymentMethodTokenizationParameters parameters = PaymentMethodTokenizationParameters.newBuilder()
.setPaymentMethodTokenizationType(PaymentMethodTokenizationType.PAYMENT_GATEWAY)
.addParameter("gateway", "stripe")
.addParameter("stripe:publishableKey", publishableKey)
.addParameter("stripe:version", version)
.build();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment