Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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