@stamhoofd/backend 2.103.0 → 2.103.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stamhoofd/backend",
3
- "version": "2.103.0",
3
+ "version": "2.103.1",
4
4
  "main": "./dist/index.js",
5
5
  "exports": {
6
6
  ".": {
@@ -45,14 +45,14 @@
45
45
  "@simonbackx/simple-encoding": "2.22.0",
46
46
  "@simonbackx/simple-endpoints": "1.20.1",
47
47
  "@simonbackx/simple-logging": "^1.0.1",
48
- "@stamhoofd/backend-i18n": "2.103.0",
49
- "@stamhoofd/backend-middleware": "2.103.0",
50
- "@stamhoofd/email": "2.103.0",
51
- "@stamhoofd/models": "2.103.0",
52
- "@stamhoofd/queues": "2.103.0",
53
- "@stamhoofd/sql": "2.103.0",
54
- "@stamhoofd/structures": "2.103.0",
55
- "@stamhoofd/utility": "2.103.0",
48
+ "@stamhoofd/backend-i18n": "2.103.1",
49
+ "@stamhoofd/backend-middleware": "2.103.1",
50
+ "@stamhoofd/email": "2.103.1",
51
+ "@stamhoofd/models": "2.103.1",
52
+ "@stamhoofd/queues": "2.103.1",
53
+ "@stamhoofd/sql": "2.103.1",
54
+ "@stamhoofd/structures": "2.103.1",
55
+ "@stamhoofd/utility": "2.103.1",
56
56
  "archiver": "^7.0.1",
57
57
  "axios": "^1.8.2",
58
58
  "cookie": "^0.7.0",
@@ -70,5 +70,5 @@
70
70
  "publishConfig": {
71
71
  "access": "public"
72
72
  },
73
- "gitHead": "81c0e08f64f5c9a32a513cf6cfd2d48e3601f1a8"
73
+ "gitHead": "680918109eb2a26a78c71b41a7165c6d088398ee"
74
74
  }
@@ -253,7 +253,7 @@ export const PaymentService = {
253
253
  await payconiqPayment.cancel(organization);
254
254
  }
255
255
 
256
- let status = await payconiqPayment.getStatus(organization);
256
+ let status = await payconiqPayment.getStatus(organization, payment);
257
257
 
258
258
  if (!cancel && this.shouldTryToCancel(status, payment)) {
259
259
  console.error('Manually cancelling Payconiq payment', payment.id);
@@ -40,6 +40,10 @@ export class PayconiqMocker {
40
40
 
41
41
  return [200, {
42
42
  paymentId: uuidv4(),
43
+ debtor: {
44
+ name: 'Test User',
45
+ iban: 'BE41878878996410', // random iban
46
+ },
43
47
  _links: {
44
48
  checkout: {
45
49
  href: 'https://payconiq.com/pay/2/5bdb1685b93d1c000bde96f2?token=530ea8a4ec8ded7d87620c8637354022cd965b143f257f8f8cb118e7f4a22d8f&returnUrl=https%3A%2F%2Fummy.webshop%2Fcheckout%2Fsuccess',
@@ -59,6 +63,10 @@ export class PayconiqMocker {
59
63
 
60
64
  return [200, {
61
65
  paymentId: uuidv4(),
66
+ debtor: {
67
+ name: 'Test User',
68
+ iban: 'BE41878878996410', // random iban
69
+ },
62
70
  _links: {
63
71
  checkout: {
64
72
  href: 'https://payconiq.com/pay/2/5bdb1685b93d1c000bde96f2?token=530ea8a4ec8ded7d87620c8637354022cd965b143f257f8f8cb118e7f4a22d8f&returnUrl=https%3A%2F%2Fummy.webshop%2Fcheckout%2Fsuccess',