ApplePay JS fails before onpaymentauthorized - safari

I'm trying to set up Apple Pay on our website and having trouble getting the "onpaymentauthorized" to fire. Everything is working up to that point, the sheet comes down and the other handlers fire and respond as expected. However once authenticate the final payment the sheet displays "Payment Not Completed" and asks for for my password again.
I've seen a lot of people see a similar error on the merchant validation when the url of the requestURI doesn't match the url submitted for validation but I already dealt with that issue.
is there any way I could see more information on why Apple Pay might be failing?

Related

Google one tap sign up/sign in approval request

I requested one tap signup/signin for website API as documented in https://developers.google.com/identity/one-tap/web/
However, there has been no update or hear an update from them for more than a week. Does anybody know how long it usually takes to get the request reviewed?
Thanks
I got mail back from them after around 3 weeks of submitting the form.
They said currently you won't be granted access to API. However, they are in the process of including some additional security from their side and it may take a few months. We can hope to get API access then.

YouTube Data Api v3 - subscriptions.list and mine = true

I found following problem.
If user is authorized with youtube and you call subscriptions.list with parameter mine set to true. Then you get a list of subscriptions of authorized user. This works just fine if user has YouTube account linked with g+ page or if user has its own channel on YouTube. But if it is just a normal user without a channel and g+ page then this request returns "subscriberNotFound" error.
Is this a bug or am I doing something wrong?
You need to have a channel to subscribe, so that's normal.
You can read this blog for working with channel ids.
Also please use stackoverflow for only programming issues.
As suggested here, you should file bug reports or features request in public issue tracker.
The call to subscriptions.list can't return a subscriptionNotFound Error. This is an error which only occurs when you try to delete a subscription. Maybe you are calling the wrong method? Take a look at this link for more information on the possible error codes, and details why they occur. For all Error codes look here

Prestashop PayPal Module: Not loading after clicking with "pay with paypal"

On the page in which the selection for payment method is made, paypal is not working. It used to work and i actually received a payment last monday, the 18th of March.
But now when i click on "pay with paypal", the page keeps loading and eventually sends this message to clients ;
Please try to contact the merchant:
PayPal response:
->
So the module has actually worked before but seized to work all of a sudden. Prestashop 1.4.7.3, PayPal 3.4.6
Try this: in modules/paypal/api/paypal_connect.php, look for "verbose", and set it to "false" instead of "true".
It should work.
Let's read this about the same problem:
"When you don't have any error messages it is because PayPal did not send any response. This error appends when your server IP has been banned from PayPal. This error often occurs when you are on a shared hosting platform because of hacks attempts but it could also occurs on dedicated hosting for the same reason" (http://forge.prestashop.com/browse/PNM-1199?page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#issue-tabs)
Try to use another server with another IP. There is a man that said that it works (http://forge.prestashop.com/browse/PSCFV-8608?page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#issue-tabs)
This error because of no return in both functions inside
paypal/api/paypal_connect.php
_connectByFSOCK
_connectByCURL
Both these functions are return false may be differences are between Certificate and Signature but remember Signature is the preferred way of accessing PayPal API.
you should check $url and #host in the above image may be not available any more.. in my case I changed mode to live and working fine but still in testing mode not working ... I think because of PayPal API not wor

Paypal ipn processing and dropdown option/price buttons logic

I read lots of post from various sites including paypal documentations. But I have some quesitons wihch I couldnt solve those. One of them is that how to design the codes after receiving the ipn message. Ofcourse I make my code I am able to optain and process the variables of message. like payment status and I am able to save them into database. But the point is that how should I desing the code to control the payment to overcome my requirements. I know the post become long but I feel the need of this explanation. So I have a site which works with membership with payment. Site is check after login the membership trial is expired or not if it is expired it shows a div in fornt of the site wihch includes the paypal buttons and redirect to paypal payment screen when button is clicked. User shodul have ability to choos membership period like 6 or 12 mounths (by dropdown paypal button). When the user finalize his payment ipn is trrigerd and I get the datas but all my members dont have to have a paypal account so they can use therid credit card directli and if I understand correctly the transfer of money can take some time to be recevied by me. Which time interval I should set the members approved flag is true ? I am confused about this. If I approve him after ipn is sent is there a possibility an error can occure while transferring me. How the process works.
other problem is the dropdown button. when I set option/price button when I click the button an error page is shown after redirecting to my selling page. It does not redirect to the payment page.
Realy sorry for my long post but I dont know how can I descirebethe situtation in a short way
If you need to wait until funds are available, you should test the value of "payment_status" in the verified IPN message for "Completed".
An eCheck can take from 3-5 days for collection (sometimes longer; you can see the estimated hold time in your account) and has payment_status="Pending". Once collected, you will get another IPN message with "Completed".
Note that the user never sees the IPN process. Normally you set up the conditions (in a table or something that is persistent enough), then send the user to PayPal. When the user comes back from PayPal, your code (at the "return_url") checks the table to see if Payment had completed successfully (perhaps a flag, which was set by your IPN handler code that is called by/communicated with PayPal when the user leaves PayPal gracefully).

Mailchimp API (v1.3): addresses added with listSubscribe() don't appear in dashboard

I'm using Mailchimp's API (v1.3) to add email addresses to a subscriber list on one of our sites. Obviously, I'm using listSubscribe() and everything is working fine, for the most part (read: API call returns true, all of the data I'm sending to Mailchimp gets added/updated correctly).
The problem, however, is that whenever a new address is added, the things that are normally supposed to happen (in particular: email notifications to list manager, addresses showing up in the dashboard list status stream) aren't happening.
I've looked around for quite a bit and haven't found anyone with the same issue. Any ideas?
The default action of listSubscribe to add a subscriber is opt-in. This means that when you submit a listSubscribe the subscribed user will get an email asking to confirm their opt-in.
If the user does not follow the link in the email then they will not appear in the dashboard.
You can bypass this by using:
'double_optin' => FALSE,
http://apidocs.mailchimp.com/api/1.3/listsubscribe.func.php
However this is only recommended for very occasional circumstances (essentially where you are handling the opt-in).
In my case I am not activating a user account until they verify their email address. If let the opt-in email be sent then the user is going to get a number of emails from my web app. I'm being very careful to make sure that they're verifying their subscription and all subscription stuff is being processed by the web app (eg a user unsubscribes within the web app, not via MailChimp).
I talked to the Mailchimp support, and they said those actions won't happen using their public API; there is no way to trigger them.