Open OliverTr54 opened 4 years ago
Hey there,
could you also please add the missing payment parameters like tip, receiptEmail, ... Should be quite easy to implement in your existing code base.
SumUpPayment payment = SumUpPayment.builder() // mandatory parameters .total(new BigDecimal("1.12")) // minimum 1.00 .currency(SumUpPayment.Currency.EUR) // optional: include a tip amount in addition to the total .tip(new BigDecimal("0.10")) // optional: add details .title("Taxi Ride") .receiptEmail("customer@mail.com") .receiptSMS("+3531234567890") // optional: Add metadata .addAdditionalInfo("AccountId", "taxi0334") .addAdditionalInfo("From", "Paris") .addAdditionalInfo("To", "Berlin") // optional: foreign transaction ID, must be unique! .foreignTransactionId(UUID.randomUUID().toString()) // can not exceed 128 chars // optional: skip the success screen .skipSuccessScreen() .build();
Source: https://github.com/sumup/sumup-android-sdk#4-make-a-payment
It would be great if receiptEmail and receiptSMS could be optional once it is submitted with some other values like NULL.
But anyway - thanks for this great plugin.
Oliver
Any news about the issue above?
I'm pretty busy at the moment, so I'm not able to edit the plugin currently. If you are fimiliar with Java feel free to open a pull request.
Hey there,
could you also please add the missing payment parameters like tip, receiptEmail, ... Should be quite easy to implement in your existing code base.
Source: https://github.com/sumup/sumup-android-sdk#4-make-a-payment
It would be great if receiptEmail and receiptSMS could be optional once it is submitted with some other values like NULL.
But anyway - thanks for this great plugin.
Oliver