Terry Gilliver
Posts: 0
Joined: Fri Apr 18, 2014 8:45 pm

problem with stripe payment.

I have a stripe payment set up in my app, but is returning 401 Unauthorised. Also invalid key:

Image

Image

I am using "Bearer<space>sk_test............." for my api key which is the same that I use in another app that works ok.

It seems to be returning a token which is passed to the card parameter, but for some reason I am getting an error. Any ideas?

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

problem with stripe payment.

Please provide us with a public link for these both apps: (https://docs.appery.io/docs/testingan...) and exact steps to reproduce this problem.

Terry Gilliver
Posts: 0
Joined: Fri Apr 18, 2014 8:45 pm

problem with stripe payment.

I have shared both apps with support.

The working app: MyInvoiceBuddy

pre
login with username: terry
password: ravine

Click Invoices
Click Payments
Select an Invoice
I entered:
4242 4242 4242 4242 for card number
11/18 for expiry date
123 for cvc

Click Pay Now
/pre

Result: Payment is successful no console errors.

The non-working App: OWD for Instructors

pre
login with adinumber: 222222
password: ravine

Click Invoices
Click Payments
Select an Invoice
Change the select box to 'card'
Click Pay

I entered:

Code: Select all

       4242 4242 4242 4242           for card number 
       11/18            for expiration date 
       123               for cvc 

Click Pay Now
/pre

Result: 401 (Unauthorized) in console

Terry Gilliver
Posts: 0
Joined: Fri Apr 18, 2014 8:45 pm

problem with stripe payment.

Any update on this?

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

problem with stripe payment.

Terry, we are sorry for the delay our engineer is investigating your case but this takes additional time.

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

problem with stripe payment.

Sorry, but there are no "Invoices" button on the page "Menu"
in "OWD for Instructors"

If I open a page "InvoiceMenu" forced (by changing an URL), select a payment and
click a button "pay" on the page "TakePayment" I get an alert "Marked Paid", but no stripe page here.

Terry Gilliver
Posts: 0
Joined: Fri Apr 18, 2014 8:45 pm

problem with stripe payment.

Sorry there was an incorrect setting in the profile, you should be able to see it now, and you need to select card payment rather than cash or cheque

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

problem with stripe payment.

1) In the service "tokenDS" please add JS lines:
prereturn value;/pre for these parameters: Image

2) In the service "paymentDS" please add a mapping arrow to the header parameter "Authorization": Image

Now it seems to work, after these changes

Terry Gilliver
Posts: 0
Joined: Fri Apr 18, 2014 8:45 pm

problem with stripe payment.

Thanks Sergiy, must have missed that

Return to “Issues”