payment-gateway

How-to better integrate Paypal “Buy Now” button for 3rd-party sellers?

你。 提交于 2019-12-23 13:10:46
问题 I'm trying to find the best way to integrate Paypal "Buy Now" buttons in my website, but I'm quite lost with all the various Paypal integration techniques (hosted buttons, dynamic buttons, IPN, PDT, and other various APIs) I would like to integrate the better/easiest solution for my need and also a secure one... I don't really know where to go... Many thanks in advance for your help! The context : I own a website that aims to be a " marketplace " to sell digital goods. Some people (let's call

Cannot create subscription using Braintree Payment Nonce

懵懂的女人 提交于 2019-12-23 09:11:38
问题 I am using a Braintree Payment Nonce to create a recurring subscription request. The below code is what I have to create a subscription. I'm using Payment Nonce which is received from Client. But the subscription request fails with a message "Payment method nonce is invalid." Any help/pointers would be much appreciated. SubscriptionRequest request = new SubscriptionRequest() .paymentMethodNonce(customer.getPaymentNonce()) .planId(customer.getPlan().getBraintreePlanId()); Result<Subscription>

Get access token from Paypal in Python - Using urllib2 or requests library

假装没事ソ 提交于 2019-12-23 04:48:46
问题 cURL curl -v https://api.sandbox.paypal.com/v1/oauth2/token \ -H "Accept: application/json" \ -H "Accept-Language: en_US" \ -u "client_id:client_secret" \ -d "grant_type=client_credentials" Parameters: -u take client_id : client_secret Here I pass my client_id and client_secret , It's worked properly in cURL. I am trying to same things implement on Python Python import urllib2 import base64 token_url = 'https://api.sandbox.paypal.com/v1/oauth2/token' client_id = '.....' client_secret = '....'

WooCommerce Show Payment Gateways for Logged In Customers Only

烂漫一生 提交于 2019-12-23 03:25:12
问题 I am setting up an ecommerce site using Wordpress and WooCommerce. We are using the wordpress member accounts to track customer information, and we need a way for logged in members only to be able to choose to purchase their cart "on credit", meaning no payment is required to place the order. Basically what I have done is hi-jacked the "Check" option (since we don't need it anywhere else) and renamed it "Credit" since it allows for the functionality we need. However, I need a way for the

Do any projects exist for PHP that is similar to ActiveMerchant for Ruby?

▼魔方 西西 提交于 2019-12-22 10:38:15
问题 I'm curious if anyone is aware of something for PHP with similar, universal payment processor functionality that exists with ActiveMerchant. 回答1: If you are looking something like Active Merchant in PHP check this at github 回答2: I also know this is an oldie but you should definitely check out omnipay: https://github.com/adrianmacneil/omnipay It is by far the most thought out solution for universal payment gateways with php. Supports a ton of processors, it's unit tested, build from the

Do any projects exist for PHP that is similar to ActiveMerchant for Ruby?

空扰寡人 提交于 2019-12-22 10:36:28
问题 I'm curious if anyone is aware of something for PHP with similar, universal payment processor functionality that exists with ActiveMerchant. 回答1: If you are looking something like Active Merchant in PHP check this at github 回答2: I also know this is an oldie but you should definitely check out omnipay: https://github.com/adrianmacneil/omnipay It is by far the most thought out solution for universal payment gateways with php. Supports a ton of processors, it's unit tested, build from the

Paymill API: How do I update a subscription's credit card?

风格不统一 提交于 2019-12-22 09:44:43
问题 I can create subscriptions, but I can't figure out how to update a subscription so that it uses a new credit card. This is what I've tried: (assuming there is already an existing client, payment and subscription) create token in ui create a payment object in server update client like this: paymill.clients.update(clientId, { payment: payment.id }, callback); I get this error: Error: Identifier,payment Exception: Api_Exception_InvalidParameter Which calls do I need to make to achieve this? 回答1:

Does Stripe allow to give money to customers?

雨燕双飞 提交于 2019-12-22 01:36:08
问题 I'm using the Stripe API on a couple of projects. For the first time I've to think about a special case where a customer registers his card (or whatever else if it's possible) and get some money from Stripe ; something like a refund but there's no payment before ... I'm conscious about the risk of such a functionality for the system, it has to be overprotected from everywhere. I'm searching the Internet and don't find any answer about it. Is it possible ? If yes how do you do that with the

Add an image on Woocommerce payment method title

这一生的挚爱 提交于 2019-12-21 20:46:50
问题 In Woocommerce, I plan on adding images before bank name plugin BACS. at now I'm already input bank name and other setting and already try inputting HTML before bank name but it does not work. 回答1: You can easily add an icon (an image) to the payment gateways in checkout page. But in Woocommerce this icon is located after the title. To change it before the title you should need to edit the related template checkout/payment-method.php at line 27 from this: <?php echo $gateway->get_title(); ?>

Zend Framework: How to POST data to some external page (e.g. external payment gate) without using form?

浪子不回头ぞ 提交于 2019-12-21 20:42:59
问题 I would like to have a user redirected to an external credit card gate. Of course I have to POST some user info to that gate, but I don't know how exactly can I do this. I know that I could do this by generating a html form with hidden or read-only fields and have a user click "Submit" button. But this solution is not perfect, because all the form data could be easily changed using e.g. Firebug. I think you cannot do this using $this->_redirect(...). But maybe there is some other solution?