Symfony2 with sofort.com payment - symfony

I am working on a symfony 2 project where the user should be able to use payments via PayPal and Sofort.com.
Yet i have implemented paypal payments which i managed successfully.
But i am stuck with sofort.com. I have searched the web for tutorials but i can hardly find anything.
I've read through their API and integrated their PHP SDK. But i dont get how get on.Maybe someone here has worked with it, and can help me out what to do next.
That would be really cool
Can somebody help me point in the right direction with it? i would be really thankful.

You have to download the Sofort SDK from their website which is here.
Then in their example folder you'll find two files: example.sofortueberweisung.php and example.transaction.php.
The example.sofortueberweisung.php shows you how redirect the user with specific values to the payment page.
The example.transaction.php shows what to do in the notify action.
After the payment is completed the user will be send to the success link.
Sofort sends transaction data to the notify action which you can process.
If the user aborts the payment he or she will be forwarded to the abort link.
Its so super easy to implement it, i think imo its much easier then paypal.
Hope it helps people out.

You can try to use Omnipay library from ThePHPLeague, which provides a common interface to easily create a custom gateways. Also there is a symfony2 bundle which provides a wrapper for that library.

Related

How do I use a web hook using Stripe and ARMember in Wordpress

I am working on a project with a third party website, in which I will create a membership recurrent plan, gather customer's information, store it, and charge the customer. Upon subscribing, the customer's credentials and information will be passed via an API to a third party website, where they will be able to access the service.
For the membership setup on my website, I am using ARMember, which is connected to a Stripe account. I am working with a developer for the whole API setup with the 3rd party website, but as a requirement, my developer is asking me to provide the webhooks We need a hook that can give user-object or user-signup details after the successful payment event.
Forgive me for being a newbie, as I am not a developer nor anything close to that. I have never worked with webhooks before.
In looking into ARMember's webhook documentation I found this, which I believe it is what my dev needs, arm_payment_gateway_validation_from_setup, however, there are no clear instructions on what to do with this, or how to use it. I guess they assume users seeking webhooks know exactly what to do with them, which is not my case. Please help anyone! Will be so grateful!

WooCommerce and Stripe - automatically process payment with no checkout

I am building an auction website in WordPress with WooCommerce. I need to be able to automatically process payment using a customer's saved card details when an auction closes.
I already convert the product to an order when the auction ends, but cannot figure out how to process the payment too.
I don't have any code samples to share as I'm not sure where to start with this. I've looked through the Stripe and Woo docs and cannot find anything there. I'm starting to wonder if this is even possible and that perhaps it is not for security reasons.
Any pointers on this would be much appreciated.
Personal opinion says that this is a really bad idea. As someone who has coded many ecommerce solutions in the past, there really should be an 'acceptance of payment' process for any transaction. That is not due to security but to protect both parties in the transaction (the buyer AND the seller).
I would look at token-based payments if you REALLY want to go down this route but I've unfortunately never implemented them with Stripe before.

New user registration spam

My website uses Wordpress and we use a plugin called profile builder for registering new users who can access some more pages than non-registered ones. We have e-mail confirmation feature and do not auto-generate passwords. Lately we are seeing a lot of spam user ids being created. They never access the site. I wanted to know what possible benefit they might be getting by registering on our site and if we should delete off such ids. Is there any way to prevent it from happening.
In my experience, comment spammers generally sign up for the sole purpose of posting comments that ostensibly contain generic comments about the post (such mundane remarks as "wow this is really interesting"), but the real purpose is for them to post links to their websites in the hope of boosting their search engine ranking. If they're registering but not returning it could be some bot that's trying to perform automatic registrations in the hope that it can go on to automatically post comment spam.
To prevent it from happening, you could try adding a Captcha to your registration process, if that plugin will allow it.
If you find yourself getting comment spam then there's always the askismet plugin.
You have to install stop spammers plugin. If you didn't like it then you can choose one of these, Sabre, Growmap, wangguard. :)

View Scheduled Emails in Google Analytics

I am consulting with a group that has several users on their GA account. How can I see the scheduled email each person set up to make sure they're correct and do I can assist them when they have problems?
If it can't be done, can someone please point me to an official Google statement saying it can't be done?...at least that way I can tell my boss :)
Thanks!
That cant be done. As to pointing you to Googles Statement of why it cant be done the only thing I can give you is the current documentation for the API.
IMO this feature would be located in the Management API probably under User permissions but i'm not really sure that's the best place for it either.
User Permissions - Developer Guide
I feel this is a very good idea and added it to my long list of feature requests feel free to star it. Manage Scheduled Emails Now I'm not sure they will add it I think they may decided that there is to grate a spam risk with this. But we will have to wait and see.
Tell your boss that its not currently available in the Google Analytics API but a feature request was made.
Click on the gear icon in the bottom left, then on the bottom right under 'Personal Tools & Assets', you should see Scheduled Emails. They're only visible with the view they're attached to, so if you have multiple views, you'll need to look through each one.

Is there a way for to receive comment notifications using disqus without registering?

I am using Disqus, and I'm trying to find a way for commenters to receive notifications of replies to their comments (or new comments) without registering with disquis. If using native wordpress comments people can check the little box that says "receive notifications" and receive messages when there is a new comment. However, when using disqus people have to register to receive those notifications. Many commenters don't want to register for another service, so people aren't getting notified. Is there any way to make it easier for people to get notifications?
After researching and talking with disqus, this can not be done. As a free service they want to direct users back to their site to set up an account in order to get features such as comment replies. I've decided to go back to wordpress native comments.

Resources