@pelcro/react-pelcro-js 3.22.0-beta.6 → 3.22.0-beta.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/dist/index.cjs.js CHANGED
@@ -16697,10 +16697,10 @@ const PaymentMethodContainerWithoutStripe = _ref => {
16697
16697
  /*
16698
16698
  calls handleVantivPayment to either handle a payment or update a source by simply creating a new source
16699
16699
  */
16700
- handleVantivPayment(vantivInstanceRef.current.getPaypageRegistrationId({
16700
+ vantivInstanceRef.current.getPaypageRegistrationId({
16701
16701
  id: orderId,
16702
16702
  orderId: orderId
16703
- }), state);
16703
+ });
16704
16704
  };
16705
16705
  function handleVantivPayment(paymentRequest, couponCode) {
16706
16706
  if (paymentRequest) {
@@ -17824,7 +17824,7 @@ const PaymentMethodContainerWithoutStripe = _ref => {
17824
17824
  return submitPayment(state);
17825
17825
  }
17826
17826
  if (getSiteCardProcessor() === "vantiv") {
17827
- return submitUsingVantiv(state);
17827
+ return submitUsingVantiv();
17828
17828
  }
17829
17829
  if (getSiteCardProcessor() === "tap") {
17830
17830
  return submitUsingTap(state);
package/dist/index.esm.js CHANGED
@@ -16667,10 +16667,10 @@ const PaymentMethodContainerWithoutStripe = _ref => {
16667
16667
  /*
16668
16668
  calls handleVantivPayment to either handle a payment or update a source by simply creating a new source
16669
16669
  */
16670
- handleVantivPayment(vantivInstanceRef.current.getPaypageRegistrationId({
16670
+ vantivInstanceRef.current.getPaypageRegistrationId({
16671
16671
  id: orderId,
16672
16672
  orderId: orderId
16673
- }), state);
16673
+ });
16674
16674
  };
16675
16675
  function handleVantivPayment(paymentRequest, couponCode) {
16676
16676
  if (paymentRequest) {
@@ -17794,7 +17794,7 @@ const PaymentMethodContainerWithoutStripe = _ref => {
17794
17794
  return submitPayment(state);
17795
17795
  }
17796
17796
  if (getSiteCardProcessor() === "vantiv") {
17797
- return submitUsingVantiv(state);
17797
+ return submitUsingVantiv();
17798
17798
  }
17799
17799
  if (getSiteCardProcessor() === "tap") {
17800
17800
  return submitUsingTap(state);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@pelcro/react-pelcro-js",
3
3
  "description": "Pelcro's React UI Elements",
4
- "version": "3.22.0-beta.6",
4
+ "version": "3.22.0-beta.7",
5
5
  "license": "MIT",
6
6
  "private": false,
7
7
  "main": "dist/index.cjs.js",