@reevit/react 0.8.0 → 0.8.1

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
@@ -19,7 +19,7 @@ import '@reevit/react/styles.css';
19
19
  function App() {
20
20
  return (
21
21
  <ReevitCheckout
22
- publicKey="pk_test_your_key"
22
+ publicKey="pfk_test_your_key"
23
23
  amount={10000} // Amount in smallest unit (e.g., pesewas for GHS)
24
24
  currency="GHS"
25
25
  email="customer@example.com"
@@ -44,7 +44,7 @@ Provide an `idempotencyKey` tied to your order/cart to avoid duplicate intent cr
44
44
 
45
45
  ```tsx
46
46
  <ReevitCheckout
47
- publicKey="pk_test_your_key"
47
+ publicKey="pfk_test_your_key"
48
48
  amount={10000}
49
49
  currency="GHS"
50
50
  idempotencyKey="order_12345"
@@ -73,7 +73,7 @@ You can control the open state yourself.
73
73
  const [open, setOpen] = useState(false);
74
74
 
75
75
  <ReevitCheckout
76
- publicKey="pk_test_your_key"
76
+ publicKey="pfk_test_your_key"
77
77
  amount={10000}
78
78
  currency="GHS"
79
79
  isOpen={open}
@@ -131,7 +131,7 @@ function CustomCheckout() {
131
131
  isLoading
132
132
  } = useReevit({
133
133
  config: {
134
- publicKey: 'pk_test_xxx',
134
+ publicKey: 'pfk_test_xxx',
135
135
  amount: 5000,
136
136
  currency: 'GHS',
137
137
  },