mainstack-payments 0.4.5 → 0.4.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -83,10 +83,16 @@ The config object should contain the following properties:
83
83
 
84
84
  * `mainstackProductId`: A User's ID for a particular product, e.g store\_id, bookings\_id etc.
85
85
 
86
- * `STRIPE_SECRET_KEY`: Stripe secret key for stripe payments, usually store in an env.
86
+ * `STRIPE_SECRET_KEY`: Stripe secret key for stripe payments, usually stored in an env.
87
+
88
+ * `STRIPE_SECRET_KEY_GBP`: Stripe secret key for stripe payments in GBP, usually stored in an env.
87
89
 
88
90
  * `applyTrancheFee`: Boolean that is passed to the transaction fees endpoint and dictates if a tranch fee should be applied for transaction fees.This is specifically for Pay In Tranches payments. Default is false.
89
91
 
92
+ * `shouldApplyTax`: A boolean that determines if tax fees should be calculated and collected. Default is false.
93
+
94
+ * `ip`: This is for the user's ip address to determine their tax fee. Only needed if you want to collect tax fees.
95
+
90
96
  * `paymentOptions`: An array of payment options that should be enabled for the user can select from. The options are 'paystack', 'startbutton', 'wallet', 'stripe'
91
97
 
92
98
  * `paystackRedirectUrl`: The URL to redirect to after a successful payment with Paystack or Startbutton. this is required if paystack or startbutton is enabled. More on this can be found [here](#paystackredirecturl)