Alpa Mori

Add android / ios platform to phonegap project

In Windows => Download and Install Node JS from below link https://nodejs.org/en/ => Set environment variable at Control Panel -> System -> Advanced system settings -> Environment Variables Add PathC:\Users\{YOUR USERNAME HERE}\AppData\Roaming\npm, append the following right after: ;C:\Program Files\nodejs => Open Command Prompt and check node install or not using...Read more …
Alpa Mori

Stripe payment gateway integration android

add below gradle for client and server sdk // Stripe Android server SDK implementation ‘com.stripe:stripe-java:14.0.0’ // Stripe Android client SDK implementation ‘com.stripe:stripe-android:14.1.1’ xml design … <com.stripe.android.view.CardInputWidget android:id=”@+id/cardInputWidget” android:layout_width=”match_parent” android:layout_height=”wrap_content” android:layout_marginLeft=”20dp” android:layout_marginRight=”20dp” app:layout_constraintTop_toTopOf=”parent”/> … Java file … private String paymentIntentClientSecret; private Stripe stripe; CardInputWidget cardInputWidget; … protected void onCreate(Bundle savedInstanceState) {...Read more …