Flutter:- my app crash when I enable apple pay in my app

I have flutter app and I have to integrate apple pay in my app but after integrate Apple Pay my app keep crashing I search every where how to deal with it but I can't find any way to solve this

I use this plugin: pay: ^1.0.7

Here is my crash log:-

pay_ios/PaymentHandler.swift:115: Fatal error: Unexpectedly found nil while unwrapping an Optional value
pay_ios/PaymentHandler.swift:115: Fatal error: Unexpectedly found nil while unwrapping an Optional value
* thread #1, queue = 'com.apple.main-thread', stop reason = Fatal error: Unexpectedly found nil while unwrapping an Optional value
    frame #0: 0x00000001870abd7c libswiftCore.dylib`_swift_runtime_on_report
libswiftCore.dylib`_swift_runtime_on_report:
->  0x1870abd7c <+0>: ret    
libswiftCore.dylib`_swift_reportToDebugger:
    0x1870abd80 <+0>: b      0x1870abd7c               ; _swift_runtime_on_report
libswiftCore.dylib`_swift_shouldReportFatalErrorsToDebugger:
    0x1870abd84 <+0>: adrp   x8, 335362
    0x1870abd88 <+4>: ldrb   w0, [x8, #0x1e4]
Target 0: (Runner) stopped.
Lost connection to device.

How many English words
do you know?
Test your English vocabulary size, and measure
how many words do you know
Online Test
Powered by Examplum