ordering-ui-react-native 0.21.48-test-1 → 0.21.48-test-3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ordering-ui-react-native",
3
- "version": "0.21.48-test-1",
3
+ "version": "0.21.48-test-3",
4
4
  "description": "Reusable components made in react native",
5
5
  "main": "src/index.tsx",
6
6
  "author": "ordering.inc",
@@ -399,7 +399,7 @@ const PaymentOptionsUI = (props: any) => {
399
399
  >
400
400
  <StripeElementsForm
401
401
  cart={cart}
402
- paymethod={isOpenMethod?.paymethod?.gateway}
402
+ paymethod={isOpenMethod?.paymethod?.gateway || paymethodSelected?.gateway}
403
403
  methodsPay={methodsPay}
404
404
  businessId={props.businessId}
405
405
  publicKey={isOpenMethod?.paymethod?.credentials?.publishable || isOpenMethod?.paymethod?.credentials?.publishable_key}