#sothomas

1 messages · Page 1 of 1 (latest)

river wrenBOT
fresh rivet
#

Hi 👋 I don't recall offhand if the Payment Sheet allows you to edit or delete existing Payment Methods, but do believe it shows customers their previously saved Payment Methods that they can select from at least.

#

Regarding your message about exceeding your Java heap, what are you doing when that error is encountered?

pliant prism
#

I encounter that error when I attempt to run the sample paymentsheet-example.

#

I'm just trying to display a PaymentSheet (for discovery purposes) without first configuring a server backend. Any suggestions on the simplest way to do this would be helpful.

fresh rivet
#

Run it where? In a simulator? The error message gives me the impression that the environment where you're trying to run the sample code doesn't have enough memory available.

pliant prism
#

I've tried it on both an emulator and a real device.

fresh rivet
#

You're seeing a heap error on a physical device?

pliant prism
#

Okay, I was just able to run on a device by adding org.gradle.jvmargs=-Xmx2000m to gradle.properties but the build took 8 minutes.

#

Yes, on a physical device.