Code Monkey home page Code Monkey logo

accept-a-card-payment's People

Contributors

adreyfus-stripe avatar auchenberg-stripe avatar brendanm-stripe avatar ccen-stripe avatar ch-stripe avatar cjavilla-stripe avatar ctrudeau-stripe avatar davidme-stripe avatar dawn-stripe avatar dependabot[bot] avatar ecarlson2020 avatar hibariya avatar kristiehuang avatar kunal-mandalia avatar mshafrir-stripe avatar qaisjp-stripe avatar rimiti avatar thorsten-stripe avatar trag-stripe avatar vcheung-stripe avatar yuki-stripe avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

accept-a-card-payment's Issues

PaymentIntent not found when paying

PaymentIntent not found when submitting payment. Error: "PaymentIntent hasn't been created".
Using iOS Objective-C client and Node (using webhook).

node implementation not working

The node implementation in the without hooks code set is not working.

To get it working the following needs to be added near the top of server.js

var bodyParser = require('body-parser');
app.use(bodyParser.json());

without webhooks php, notice interrupt payment process

Bug report

Notice: Undefined property: stdClass::$paymentMethodId

Describe the bug

I am using 3d secure card for completing payment. After clicking on complete button in popup this shows a notice:-
Undefined property: stdClass::$paymentMethodId in pay.php file with line if($body->paymentMethodId != null)

Display bug

Hi,
I have this display bug when I test this sample :
accept-a-card-payment/using-webhooks/server/php/public/

image

I ran this example locally and with firefox 74.0.1
Everything seems to works well except this display.
Can you help me please ? Thank you,

Stripe

Bug report

Describe the bug

A clear and concise description of what the bug is.

To Reproduce

Steps to reproduce the behavior, please provide code snippets or a repository:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior

A clear and concise description of what you expected to happen.

Screenshots

If applicable, add screenshots to help explain your problem.

System information

  • OS: [e.g. macOS, Windows]
  • Browser (if applies) [e.g. chrome, safari]
  • Server environment [e.g. Go, Java, Node, PHP, Python, Ruby, TypeScript]

Additional context

Add any other context about the problem here.

iOS object-C target run error

Bug report

iOS object-C target run error

Describe the bug

When I download the project from github, it reports an error directly after running pod install, because it is cocoapods installation that I can’t change the code, please tell me how to solve this problem
A clear and concise description of what the bug is.

To Reproduce

Steps to reproduce the behavior, please provide code snippets or a repository:

  1. Go to 'Stripe Example App '
  2. Click on 'Stripe Example App object target'
  3. run target
  4. See error

Expected behavior

A clear and concise description of what you expected to happen.

Screenshots

image

If applicable, add screenshots to help explain your problem.

System information

  • OS:macOS10.15.6 [e.g. macOS, Windows]

Additional context

Add any other context about the problem here.

Not compatible with iOS 13 dark mode

If you enable 'dark mode' on iOS 13 then all of the input text will become invisible.

When you first launch the app some of the text is visible, but when you tap into the text field and try to enter text it will be invisible.

Declined payment without webhook server php not working

Good morning,
I'm integrating the solution server PHP without webhook but there's something wrong with the declined payments (e.g. using 4000 0000 0000 9995).

The browser debug is giving me these 2 feedback:

  1. POST 500 > script.js line 101
  2. Uncaught (in promise) SyntaxError: Unexpected end of JSON input > script.js line 111

Actually I also found a small typing error at line 64 in script.js and I solved it.
It has to be pay.php instead of /pay

Successful payments are working properly, including the ones with authentication.
The problem I have it seems to be related only to declined payments.

Thank you for the kind support and for the very useful library!
Best regards.

"without-webhooks/server/php/public" does not work InternetExplorer11

Bug report

Describe the bug

I'm testing the "without-webhooks/server/php/public" sample with Internet Explorer 11.
However, the page is not displayed well in Internet Explorer 11.
In addition, it has been confirmed that it can be used normally with Firefox and Chrome.
How can I make it available on Internet Explorer11?

To Reproduce

  1. Open a command prompt and execute the following command.
cd without-webhooks/server/php/public
php -S 127.0.0.1:4242
  1. Open InternetExplorer11 and access "http://localhost:4242".
  2. The input form for credit card information is not displayed, only the "Pay" button is displayed.

Expected behavior

An input form for credit card information is displayed, and payment is completed normally.

System information

  • OS: Windows10 2004 64Bit build 19041.388
  • Browser: InternetExplorer11 Version 11.388.19041.0
  • Server environment: PHP7.4

Android gson.fromjson() expected BEGIN_OBJECT but was STRING at line 1 column 1 path $

Hi, there, I am using the android as client and php as server.
The php = 7.2, stripe/stripe-php = 7.0.
The response json is generated by the following php code sample.
$output = [ 'publishableKey' => $config['stripe_publishable_key'], 'clientSecret' => $paymentIntent->client_secret, ]; echo json_encode($output);
When I pass the json string from server side to the gson.fromjson() at client side, it outputs the error 'expected BEGIN_OBJECT but was STRING at line 1 column 1 path $'.
What I found is that a 'POST' keyword is added at the beginning of json string, which caused the parsing failure of gson. The gson seems to expect something like {\json_content}. But now it gets POST{\json_content}.
I am confused about the reason why the 'POST' is added. Is there any way to solve this problem?

How can I delete postal code from input?

Bug report

Describe the bug

A clear and concise description of what the bug is.

To Reproduce

Steps to reproduce the behavior, please provide code snippets or a repository:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior

A clear and concise description of what you expected to happen.

Screenshots

If applicable, add screenshots to help explain your problem.

System information

  • OS: [e.g. macOS, Windows]
  • Browser (if applies) [e.g. chrome, safari]
  • Server environment [e.g. Go, Java, Node, PHP, Python, Ruby, TypeScript]

Additional context

Add any other context about the problem here.

go file

Bug report

Describe the bug

A clear and concise description of what the bug is.

To Reproduce

Steps to reproduce the behavior, please provide code snippets or a repository:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior

A clear and concise description of what you expected to happen.

Screenshots

If applicable, add screenshots to help explain your problem.

System information

  • OS: [e.g. macOS, Windows]
  • Browser (if applies) [e.g. chrome, safari]
  • Server environment [e.g. Go, Java, Node, PHP, Python, Ruby, TypeScript]

Additional context

Add any other context about the problem here.

Please help me for stripe integration in angular 7

I can't push amount value for payment to stripe in my angular js project.

Code is below here::

<button (click)="pay('{{milestone.milestone_value}}')" class="btn btn-primary btn-block">Pay {{milestone.milestone_value | currency: '$' }}

Please help me to set the amount into "pay(???)"

Thanks in advance.

Ft

Bug report

Describe the bug

A clear and concise description of what the bug is.

To Reproduce

Steps to reproduce the behavior, please provide code snippets or a repository:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior

A clear and concise description of what you expected to happen.

Screenshots

If applicable, add screenshots to help explain your problem.

System information

  • OS: [e.g. macOS, Windows]
  • Browser (if applies) [e.g. chrome, safari]
  • Server environment [e.g. Go, Java, Node, PHP, Python, Ruby, TypeScript]

Additional context

Add any other context about the problem here.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.