Skip to content

Commit

Permalink
bnpl payment integration
Browse files Browse the repository at this point in the history
  • Loading branch information
deryacakmak committed Nov 6, 2023
1 parent cd7c4da commit 9c0c13d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/payment_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"testing"
)

var paymentClient, _ = craftgate.New("sandbox-BMSPbGKBaMOcmOiVpyjDZOIfSzLAuXsb", "sandbox-LpvzxnyrFkOCRRiUpQHUUZUpeQuXNntd", "https://sandbox-api.craftgate.io")
var paymentClient, _ = craftgate.New("api-key", "secret-key", "https://sandbox-api.craftgate.io")

func TestPayment_CreatePayment(t *testing.T) {
request := adapter.CreatePaymentRequest{
Expand Down Expand Up @@ -778,7 +778,7 @@ func TestPayment_InitBnplPayment(t *testing.T) {
PaidPrice: 10000,
PaymentType: craftgate.PaymentType_APM,
Currency: craftgate.Currency_TRY,
ApmOrderId: "order_id",
ApmOrderId: "order_iddfgdfg",
PaymentGroup: craftgate.PaymentGroup_PRODUCT,
ConversationId: "29393-mXld92ko3",
ExternalId: "external_id-345",
Expand Down

0 comments on commit 9c0c13d

Please sign in to comment.