diff --git a/package.json b/package.json index 2880255..aa1854e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@xtr-dev/payload-billing", - "version": "0.1.18", + "version": "0.1.19", "description": "PayloadCMS plugin for billing and payment provider integrations with tracking and local testing", "license": "MIT", "type": "module", diff --git a/src/providers/test.ts b/src/providers/test.ts index 644e23d..c9d6d0d 100644 --- a/src/providers/test.ts +++ b/src/providers/test.ts @@ -492,7 +492,7 @@ export const testProvider = (testConfig: TestProviderConfig) => { // Set provider ID and data payment.providerId = testPaymentId - const paymentUrl = `${baseUrl}/api/payload-billing/test/payment/${testPaymentId}` + const paymentUrl = `${baseUrl}${uiRoute}/${testPaymentId}` const providerData: ProviderData = { raw: { id: testPaymentId,