Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions packages/boutique/backend/src/open-payments/service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ export class OpenPayments implements IOpenPayments {
await this.opClient.outgoingPayment
.create(
{
url: new URL(payment.walletAddress).origin,
url: customerWalletAddress.resourceServer,
accessToken: grant.access_token.value
},
{
Expand All @@ -397,9 +397,10 @@ export class OpenPayments implements IOpenPayments {
}
}
)
.catch(() => {
.catch((err) => {
this.logger.error(
`Error while creating outgoing payment for order ${order.id}.`
`Error while creating outgoing payment for order ${order.id}.`,
err
)
throw new BadRequest(
'One click buy spending limit exceeded. Please setup one click buy again.'
Expand Down
Loading