PickBazar Documentation
WelcomeHow It Works
Prerequisite
Installation
Available Scripts & Command
How Can I use this app
Demo Deploy
Features
Settings
Payment
IntroductionStripeStripe ElementStripe ElementHow to create & setup Stripe Element information properly?How can I add stripe element's another payment gateway?How to customize your stripe element payment method.Special Notes for Stripe element users.PaypalRazorpayMolliePaystackSSLCOMMERZXenditIyzicoPaymongobKashFlutterwaveIntegration of New Payment GatewayMulti payment gateway
Flash Sale
Shop Transfer
Social LoginOTP (Mobile Number Verification)WalletEmail ConfigurationEmail VerificationSubscribeTerms and conditions
SEO and Analytics
Refund
Real-time Notification
Multilingual & Translation
Third-party Integrations
Deployment
Back-End Integration
Customizations
Update & Upgrade Guide
FAQ PageContactQuestion & AnswerBreaking ChangesSupportChange Log

Stripe Element

Stripe Elements is a set of prebuilt UI components which is provided by stripe itself for building your web payment flow. It’s available as a feature of Stripe.js, Stripe Elements foundational JavaScript library for building functional checkout flows.

Stripe Element integrate inside PickBazar.

Please follow & complete this steps for stripe integration for your e-commerce system.

  • Inside api there is .env file. You have to copy & paste this line of codes inside the .env file. We will discuss later about how to create those API keys in stripe.
STRIPE_API_KEY=[YOUR_STRIPE_API_SECRET_KEY]
STRIPE_WEBHOOK_SECRET_KEY=[YOUR_STRIPE_API_WEBHOOK_SECRET_KEY]
  • To activate Stripe go to settings from PickBazar admin dashboard. Inside settings you will find configure payment option.(e.g. webhook URL is coming from local development. This static link will dynamically generated in live environment)

    admin-pickbazar-dashboard stripe-pickbazar-dashboard

  • Add Stripe publishable key inside .env file of pickbazar shop.

NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=[YOUR_STRIPE_PUBLISHABLE_KEY]

How to create & setup Stripe Element information properly?

  • Go to the stripe website and login https://stripe.com If you aren't a registered user, the complete the stripe registration first.

  • After logged in into stripe dashboard, follow the developer link to create the API keys.

stripe-generate-api-keys

stripe-api-keys

If you want to integrate stripe element in pickbazar then you must have to configure webhook properly.

element-webhook

  • Drop your webhook endpoint and select all event then "Add endpoint"

  • Note: We recommended you to enable all event because stripe element's payment method vary on currency. But you can enable those event that are specifically depend on your currency or you can enable all event as recommend.

element-webhook-link

webhook-api-keys


Again! To integrate stripe element in pickbazar then you must have to configure webhook properly.


How can I add stripe element's another payment gateway?

We have a fully functional card management feature in Pickbazar. Where you can save card for further use.
Click here for more details.

If you enable stripe element from admin settings, then you will get "Others element" option in stripe card.

element-card1

element-card2

  • Enable your desired stripe element payment gateway from stripe dashboard.

    element-payment-method

  • Turn on your gateway.

    element-payment-type

How to customize your stripe element payment method.

If you want selective payment method type then list those method name in the "payment_method_types" array and uncomment this

'payment_method_types' => ['card','cashapp','alipay','wechat_pay','etc']

and comment

'automatic_payment_methods' => ['enabled' => true,],

lines or you can enabled true "automatic_payment_methods" array. so that stripe can handle everything

element-intent

Special Notes for Stripe element users.

If we have used any third party system/plugin/packages, then we have always encouraged our respected customers to follow the official documentation for detailed & in-depth knowledge.

Available Stripe Element Payment Method

Stripe element's payment method vary on currency

acss_debit, affirm, afterpay_clearpay, alipay, au_becs_debit, bacs_debit, bancontact, blik, boleto,
card, cashapp, customer_balance, eps, fpx, giropay, grabpay, ideal, klarna, konbini, link,
oxxo, p24, paynow, paypal, pix, promptpay, sepa_debit, sofort, us_bank_account, wechat_pay, zip,