Skip to content
Merged
Show file tree
Hide file tree
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
4 changes: 3 additions & 1 deletion src/main/java/com/unzer/payment/models/paypage/Style.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,15 @@ public class Style {
private Boolean shadows;
private String backgroundColor;
private String backgroundImage;
private String basketBackgroundColor;
private String brandColor;
private String cornerRadius;
private String favicon;
private String font;
private String footerColor;
private String headerColor;
private String linkColor;
private String logoImage;
private String favicon;
private String paymentFormBackgroundColor;
private String textColor;
}
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ abstract class PaypageV2BaseTest extends AbstractPaymentTest {

@BeforeAll
public void setUpBeforeAll() {
// Setup single unzer instance for all class tests. -> reusing jwt token stored in unzer instance.
unzer = new Unzer(Keys.DEFAULT);
}

Expand All @@ -25,7 +24,6 @@ protected void assertCreatedPaypage(PaypageV2 paypage) {
String id = paypage.getId();
assertNotNull(redirectUrl);
assertNotNull(id);
// assertTrue(redirectUrl.contains(id));
}

protected PaypageV2 testPaypageCreation(PaypageV2 paypage) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,8 @@ void createPaypageWithStyle() {
.setLinkColor("#000000")
.setLogoImage("https://logoimage.com")
.setShadows(true)
.setBasketBackgroundColor("#ffffff")
.setPaymentFormBackgroundColor("#0000ff")
.setTextColor("#000000");

PaypageV2 paypage = new PaypageV2(new BigDecimal("9.99"), "EUR", "charge");
Expand Down
Loading