mirror of
https://github.com/D4M13N-D3V/comissions-app-core-api.git
synced 2025-03-14 10:04:55 +00:00
fix: return urls for stripe
This commit is contained in:
parent
08f8435db7
commit
9dcf946db8
@ -102,7 +102,7 @@ public class StripePaymentServiceProvider:IPaymentService
|
|||||||
Currency = "usd",
|
Currency = "usd",
|
||||||
ProductData = new Stripe.Checkout.SessionLineItemPriceDataProductDataOptions
|
ProductData = new Stripe.Checkout.SessionLineItemPriceDataProductDataOptions
|
||||||
{
|
{
|
||||||
Name = "Comission Service",
|
Name = "Skeb-Like Service",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
Quantity = 1,
|
Quantity = 1,
|
||||||
@ -113,8 +113,8 @@ public class StripePaymentServiceProvider:IPaymentService
|
|||||||
ApplicationFeeAmount = feeAmount,
|
ApplicationFeeAmount = feeAmount,
|
||||||
},
|
},
|
||||||
Mode = "payment",
|
Mode = "payment",
|
||||||
SuccessUrl = $"{_baseUiUrl}/dashboard/requests/{requestId}",
|
SuccessUrl = $"{_baseUiUrl}/dashboard/requests",
|
||||||
CancelUrl = $"{_baseUiUrl}/dashboard/requests/{requestId}",
|
CancelUrl = $"{_baseUiUrl}/dashboard/requests",
|
||||||
Metadata = new Dictionary<string, string>()
|
Metadata = new Dictionary<string, string>()
|
||||||
{
|
{
|
||||||
["orderId"] = requestId.ToString()
|
["orderId"] = requestId.ToString()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user