Skip to content

Commit

Permalink
fix paypal code
Browse files Browse the repository at this point in the history
  • Loading branch information
Your Name committed Jun 14, 2024
1 parent 85c4ebb commit a2e7082
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 137 deletions.
136 changes: 0 additions & 136 deletions routes/payments/endpoints/create_order/route.go

This file was deleted.

2 changes: 1 addition & 1 deletion routes/payments/endpoints/create_paypal_order/route.go
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ func Route(d uapi.RouteData, r *http.Request) uapi.HttpResponse {
},
},
},
}, &paypal.PaymentSource{}, &paypal.ApplicationContext{
}, nil, &paypal.ApplicationContext{
ReturnURL: state.Config.Sites.API.Parse() + "/payments/paypal/capture/" + refId,
CancelURL: state.Config.Sites.Frontend.Parse() + "/payments/cancelled",
})
Expand Down

0 comments on commit a2e7082

Please sign in to comment.