ordering-ui-react-native 0.21.48-test-4 → 0.21.48-test-5

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-4",
3
+ "version": "0.21.48-test-5",
4
4
  "description": "Reusable components made in react native",
5
5
  "main": "src/index.tsx",
6
6
  "author": "ordering.inc",
@@ -186,8 +186,9 @@ export const StripeMethodForm = (props: StripeMethodFormParams) => {
186
186
  }
187
187
 
188
188
  useEffect(() => {
189
+ showToast(ToastType.Error, `Supported: ${isApplePaySupported}, ${paymethod}`, 10000)
189
190
  if (isApplePaySupported && applePay.includes(paymethod)) {
190
- showToast(ToastType.Success, 'ENABLED TEST PRO')
191
+ showToast(ToastType.Success, 'ENABLED TEST PRO', 12000)
191
192
  setMethodPaySupported({
192
193
  enabled: true,
193
194
  loading: false
@@ -404,10 +404,6 @@ const CheckoutUI = (props: any) => {
404
404
  return (
405
405
  <>
406
406
  <Container noPadding>
407
- <OText>
408
- si esta viendo esto uste ha instalado correctamente mi rama :)
409
- gateway: {JSON.stringify(paymethodSelected)}
410
- </OText>
411
407
  <View style={styles.wrapperNavbar}>
412
408
  <NavBar
413
409
  title={t('CHECKOUT', 'Checkout')}
@@ -233,7 +233,7 @@ const PaymentOptionsUI = (props: any) => {
233
233
  return (
234
234
  <PMContainer>
235
235
  <OText>
236
- isOpenPaymethod: {isOpenMethod?.paymethod?.gateway}
236
+ isOpenPaymethod: {JSON.stringify(isOpenMethod)}
237
237
  </OText>
238
238
  {paymethodsList.paymethods.length > 0 && (
239
239
  <FlatList
@@ -198,7 +198,9 @@ const StripeElementsFormUI = (props: any) => {
198
198
  return (
199
199
  <View style={{ ...styles.container, height: methodsPay?.includes(paymethod) ? 'auto' : height - top - bottom - 60 - (isKeyboardShow ? 250 : 0) }}>
200
200
  <OText>
201
- paymethod: {paymethod}
201
+ paymethod: {paymethod} -
202
+ public key: {publicKey} -
203
+ merchantId: {merchantId}
202
204
  </OText>
203
205
  {publicKey ? (
204
206
  <View style={{ flex: 1 }}>