Logo Github GitHub

Configuration platform

No special settings are required to install the plugin. Just install it from npm like any other plugin, and run sync.

npm install @capacitor-community/stripe
npx cap sync

Android configuration

In file android/app/src/main/java/**/**/, add the plugin to the initialization list:

 package io.ionic.starter;

 import android.os.Bundle;
+ import com.getcapacitor.BridgeActivity;

 public class MainActivity extends BridgeActivity {
+     @Override
+     public void onCreate(Bundle savedInstanceState) {
+         super.onCreate(savedInstanceState);
+         registerPlugin(;
+     }

iOS configuration

+   <key>NSCameraUsageDescription</key>
+   <string>Need camera access for read credit card.</string>

In iOS, the plugin will be loaded automatically without any configuration.

Web configuration