Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't resolve https globalpayments-api #24

Open
edios-global opened this issue Mar 16, 2021 · 3 comments
Open

Can't resolve https globalpayments-api #24

edios-global opened this issue Mar 16, 2021 · 3 comments

Comments

@edios-global
Copy link

ERROR in ./node_modules/globalpayments-api/lib/src/Gateways/https-wrapper.js
[ng] Module not found: Error: Can't resolve 'https' in C:\Users\Sonu\Desktop\New folder (3)\ionic4-stripe\node_modules\globalpayments-api\lib\src\Gateways'

@slogsdon
Copy link
Contributor

@edios-global The globalpayments-api package only targets server-side use. Since it looks like you are attempting to use it in an Ionic application, you can reference this sample project to create a single-use token for the card, and once you have that token, you will need to pass the token to a backend system in order to perform the authorization request against the card/token.

@edios-global
Copy link
Author

edios-global commented Mar 17, 2021

Can you please provide an example or any other reference ?
while configuring with java back end i am getting the following error :

com.global.api.entities.exceptions.ApiException: The specified configuration has not been configured for card processing.

@slogsdon
Copy link
Contributor

@edios-global Are you able to provide your Java code for review (minus any credentials)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants