@suportepos/split-checkout 0.2.4 → 0.2.6
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 +3 -1
- package/dist/README.md +3 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -134,7 +134,7 @@ export default function App() {
|
|
|
134
134
|
},
|
|
135
135
|
merchantName: "SUPORTEPOS",
|
|
136
136
|
amountOverride: 105.25,
|
|
137
|
-
merchantId: "
|
|
137
|
+
merchantId: "********************************67b7",
|
|
138
138
|
onResponse: (result) => {
|
|
139
139
|
console.log("Resposta do backend:", result);
|
|
140
140
|
alert(result.success ? "✅ Pagamento aprovado" : "❌ Falha no pagamento");
|
|
@@ -204,6 +204,8 @@ O checkout retorna a função `onResponse(result)` com um objeto JSON.
|
|
|
204
204
|
- Configure `production: true` **somente** em ambiente real.
|
|
205
205
|
- Utilize `onResponse` para atualizar seu backend (registrar transação, mudar status do pedido, etc.).
|
|
206
206
|
|
|
207
|
+
---
|
|
208
|
+
|
|
207
209
|
## 📄 Licenciamento e Uso
|
|
208
210
|
|
|
209
211
|
Este pacote **não é open source** e não está disponível sob a licença MIT.
|
package/dist/README.md
CHANGED
|
@@ -134,7 +134,7 @@ export default function App() {
|
|
|
134
134
|
},
|
|
135
135
|
merchantName: "SUPORTEPOS",
|
|
136
136
|
amountOverride: 105.25,
|
|
137
|
-
merchantId: "
|
|
137
|
+
merchantId: "********************************67b7",
|
|
138
138
|
onResponse: (result) => {
|
|
139
139
|
console.log("Resposta do backend:", result);
|
|
140
140
|
alert(result.success ? "✅ Pagamento aprovado" : "❌ Falha no pagamento");
|
|
@@ -204,6 +204,8 @@ O checkout retorna a função `onResponse(result)` com um objeto JSON.
|
|
|
204
204
|
- Configure `production: true` **somente** em ambiente real.
|
|
205
205
|
- Utilize `onResponse` para atualizar seu backend (registrar transação, mudar status do pedido, etc.).
|
|
206
206
|
|
|
207
|
+
---
|
|
208
|
+
|
|
207
209
|
## 📄 Licenciamento e Uso
|
|
208
210
|
|
|
209
211
|
Este pacote **não é open source** e não está disponível sob a licença MIT.
|