Fix Razorpay QR create endpoint path
All checks were successful
build-and-deploy / build-deploy (push) Successful in 1m6s
All checks were successful
build-and-deploy / build-deploy (push) Successful in 1m6s
This commit is contained in:
@@ -105,7 +105,7 @@ class RazorpayQrPayments(
|
|||||||
}
|
}
|
||||||
|
|
||||||
val requestPayload = objectMapper.writeValueAsString(payload)
|
val requestPayload = objectMapper.writeValueAsString(payload)
|
||||||
val response = postJson(resolveBaseUrl(settings.isTest) + "/qr_codes", settings, requestPayload)
|
val response = postJson(resolveBaseUrl(settings.isTest) + "/payments/qr_codes", settings, requestPayload)
|
||||||
val body = response.body ?: "{}"
|
val body = response.body ?: "{}"
|
||||||
val node = objectMapper.readTree(body)
|
val node = objectMapper.readTree(body)
|
||||||
val qrId = node.path("id").asText(null)
|
val qrId = node.path("id").asText(null)
|
||||||
|
|||||||
Reference in New Issue
Block a user