ashinzekene / angular4-paystack

💵 An angular2+ module for paystack transactions
https://ashinzekene.github.io/angular4-paystack/
MIT License
59 stars 37 forks source link

Not closing page after Paystack Authorization #14

Closed Hatimjamali closed 3 years ago

Hatimjamali commented 5 years ago

we have ionic3 app , when testing for iOS platform after entering Hard token, getting "Paystack Authorization" page and after few second getting another page where it is written "Please close this web page to continue", there is no button to close and not closing automatically, due to this unable to generate order, but payment deducted from credit card.

Hello PayStack Support Team,

We have successfully integrated paystack angular 4 Paystack Inline (Directive) in ionic 3 based application and its working fine on android.

Currenlty we are using these lines of code to intiate and proceed checkout with paystack <button angular4-paystack [key]="'pk_test_xxxxxxxxxxxxxxxxxxxxxxxxxxxx'" [email]="'mailexample@mail.com'" [amount]="5000000" [ref]="'2637458697'" [class]="'btn btn-primary'" (close)="paymentCancel()" (callback)="paymentDone($event)">Pay with Paystack

The problem comes when we have generated build for ios platform. I have added this line into config.xml to open internal iframe by the help of this configuration.

inside section i have added this line to enable iframe working for ios

by this payment flow is start and completed. but in the last screen we are not getting the close button to close internal iframe popup screen please help us and let us know how to achieve this

Note -: we have tested paystack payment flow on iphone 6s with ios version 12.2.

iOS paystack not closing.zip

ashinzekene commented 5 years ago

Please is it possible to create a sample sandbox?

Hatimjamali commented 5 years ago

i don't know how to create sample sandbox.

i can share code, if you need.

ashinzekene commented 5 years ago

Sorry for not being explicit enough, I mean you should try reproducing the issue on Codesandbox or Stackblitz. Sharing the code is fine

Hatimjamali commented 5 years ago

below link is for ionic3 code. http://www.mediafire.com/file/j74jbqtffbfqf3a/M3iOS.rar/file

Hatimjamali commented 5 years ago

any update??

ashinzekene commented 5 years ago

Please is it possible to host a sample of your code in any of the platforms listed here ? https://github.com/ashinzekene/angular4-paystack/issues/14#issuecomment-486260041

Hatimjamali commented 5 years ago

already given link on above comment, but anyway again giving below link. http://www.mediafire.com/file/j74jbqtffbfqf3a/M3iOS.rar/file

this is ionic hybrid code applicable for both platform including iOS

eiromz commented 3 years ago

was this problem solved cause i kind of have the same issue

ashinzekene commented 3 years ago

What version of the library are you using?

On Wed, 9 Dec 2020, 15:18 Adeyemo Olumide Eronmosele, < notifications@github.com> wrote:

was this problem solved cause i kind of have the same issue

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ashinzekene/angular4-paystack/issues/14#issuecomment-741799660, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFAE4X427HDRVDCI5C5YDPDST6BMPANCNFSM4HGBYBVQ .

ashinzekene commented 3 years ago

Please checkout https://paystack.com/docs/guides/using_the_paystack_checkout_in_a_mobile_webview

kingalingaling commented 9 months ago

Still experiencing when users try to pay on Instagram browser