I'm trying to implement the e2e test on the shop payments list g_business/v1/payments as described in the docs.
So, I create a payment.
|
const payment = await Payment.create({ |
|
flow: 'MATCH_CODE', |
|
amount: amount, // Using amount in euros |
|
currency: 'EUR', |
|
external_code: externalCode, |
|
metadata: { |
|
test: 'e2e-test', |
|
timestamp: new Date().toISOString(), |
|
}, |
|
}) |
Then I get the payment details from the id and everything works fine.
|
const payment = await Payment.get(testPaymentId) |
I should find it in the list, but it's always empty.
|
const result = await Payment.all({ |
|
limit: 10, |
|
}) |
@rawnly, can you help me? You are my only insider.
Maybe it's something related to the MATCH_CODE flow or the sandbox environment?
I'm trying to implement the e2e test on the shop payments list
g_business/v1/paymentsas described in the docs.So, I create a payment.
satispay-node-sdk/tests/e2e/payment.e2e.test.ts
Lines 32 to 41 in 318d3e5
Then I get the payment details from the
idand everything works fine.satispay-node-sdk/tests/e2e/payment.e2e.test.ts
Line 72 in 318d3e5
I should find it in the list, but it's always empty.
satispay-node-sdk/tests/e2e/payment.e2e.test.ts
Lines 92 to 94 in 318d3e5
@rawnly, can you help me? You are my only insider.
Maybe it's something related to the
MATCH_CODEflow or the sandbox environment?