Open areejmayadeh opened 1 year ago
same for me on ios devices.
Facing the same issue and its not documented anywhere on how to customise these elements.
import { CustomCheckoutView, getDeviceId } from "rn-amazon-payment-services";
<CustomCheckoutView
requestObject={{
command: "PURCHASE",
merchant_reference: "012345UVWXYZ",
amount: "10000",
currency: "AED",
language: "en",
customer_email: "test@payfort.com",
sdk_token: sdkToken,
}}
environment="TEST"
style={{ width: 300, height: 500, marginTop: 20 }}
payButtonProps={{ width: 120, height: 40, borderRadius: 10 }}
onFailure={onFailure}
onSuccess={onSuccess}
/>
When using the example in docs for custom checkout is showing like below screenshot how we can edit the form design