Add QR Payment
This commit is contained in:
@@ -11,3 +11,9 @@ type MidtransRequest struct {
|
||||
TotalAmount int64
|
||||
OrderItems []OrderItem
|
||||
}
|
||||
|
||||
type MidtransQrisResponse struct {
|
||||
QrCodeUrl string
|
||||
OrderID string
|
||||
Amount int64
|
||||
}
|
||||
|
||||
@@ -45,6 +45,7 @@ type OrderResponse struct {
|
||||
|
||||
type ExecuteOrderResponse struct {
|
||||
Order *Order
|
||||
QRCode string
|
||||
PaymentToken string
|
||||
RedirectURL string
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user