Menu
  • HOME
  • TAGS

Call function in other method

php,function,class,methods,payment-gateway

After long time searching and trying I have found the problem. My session was not started in my plugin document. Wordpress loads the plugin before functions.php, and my session was started in functions.php. So this was the reason that my value was 0, and that was occurring the error....

Verified by Visa on orders over $100

magento,payment-gateway,magento-1.9,payment-method

I don't think you have to create another payment method for this. Since I didn't see your code. So I can tell the logic only. Just disable minimum order. So we can place all order using this payment method. And add simple logic in your code that verify the order...

ogone error unknown order/0/s/

php,payment-gateway,sha

The error unknown order/0/s means that you are not sending the proper SHA-1 signature. This is related to a parameter configured in Ogone's backoffice there : Configuration > Technical information > Data and origin verification...

PayFlow Pro Template A or B in Mobile

paypal,payment-gateway,payflowpro

Although they look similar they are actually different pages. PayPal auto-detects if the checkout page is being viewed from a supported mobile browser and automatically redirects to the mobile-optimized checkout page.

Handling error codes from multiple merchants

web-services,payment-gateway

One of the principles of SOA is that you never expose the internal of a provider to the consumer. Or in other words you don't tightly couple/bound your service provider and consumers with each other. If for example Merchant A has an error message 100-wrong pin entered and you expose...

Payment Gateway Response Page Displays empty values in VPS Hosting

php,windows,payment-gateway,vps,plesk

I Found The Solution I Was Using The Response Domain URL has www.abc.com/response.php Where in the original URL was abc.com/response.php when i removed www. i am getting the response. ...

Taking commisions and splitting revenue in a digital payment: Google Wallet or PayPal?

android,paypal,payment-gateway,google-wallet

With PayPal Adaptive Payments/ Chained Payments you can setup the account to split a payment between two or more receivers. Here is the PayPal Developer information on Adaptive Payments Adaptive Payments Getting Started Guide Here are references about the Mobile SDKs for Adaptive Payments Page 19 of the Android Mobile...

Stripe Payment on user behalf

ruby-on-rails,user-controls,payment-gateway,stripe-payments,stripe-connect

Stripe gives you a way to do that using Stripe connect. Check this for the reference.

Performing Transaction based on previous Transactions in Authorize.NET CIM

transactions,payment-gateway,payment,authorize.net,authorize.net-cim

This answer is specific to the authorize.net .Net SDK, using C#. You should locally store the CIM profileID (unique identifier to the customer profile) and the CIM paymentprofileID(s) (unique identifier(s) for each payment card added to the customer profile). So your customer/user records should have a way to store these...

Is it safe to render customer card token in HTML

html,payment-gateway,braintree

Including the payment token in the form could be insecure if you submit it to Braintree without validating it against a customer id. That is, if an attacker manipulates the token to one that corresponds to another of your customer's payment method token, the other customer will be charged. If...

Opencart Payment gateway error after opencart 2.0 upgrade

php,payment-gateway,opencart2.x

Your index() method is defined with protected access. So you are unable to call it from outside its scope. So you should change it to public function index().

How to enable POS payment on my C# windows application?

c#,winforms,payment-gateway,payment-processing

First off, this sounds like a PCI DSS nightmare. Displaying card information on screen is a definite problem, and the following code leaves you vulnerable to keylogging and memory parsing. That said... If you're expected to use a KeyPress event for this, I assume you're receiving the track info from...

What payment system to use in a website? [closed]

php,html,css,paypal,payment-gateway

It completely depends upon how you want to setup this process. There are many payment providers which support product listing at their end apart from Payment process like BlueSnap, Gate2shop. And if you do not want to manage and place your photos over there then you can just write a...

Adding A New Payment Gateway (Structure)

php,payment-gateway,omnipay,expresso-store

This question is probably better suited to the ExpressionEngine stack exchange site, but anyways... The Omnipay readme has some basic instructions to create a new gateway. A complete example is probably a little beyond a SO answer, but basically the getData() method formats the request to send to the gateway,...

how to use gocardless.com with django [closed]

django,payment-gateway,gocardless

You can use the python gocardless package in django Installation: pip install gocardless Implementation: import gocardless gocardless.set_details(app_id="DUMMY_APP", app_secret="INSERT_APP_SECRET_HERE", access_token="INSERT_MERCHANT_ACCESS_TOKEN", merchant_id="INSERT_MERCHANT_ID") Reference link here https://developer.gocardless.com/python/#initialization...

PHP Session is not recognized after a response from the CCNow server

php,integration,session-variables,payment-gateway

Your Problem is an logical problem! You communicate with CCNow and send a transaction. But the Server von CCNow will answer you seperatly - Logically that the "customer session" will not accessible. You must work with an Order-ID to get the Data. Additional you can modify the parameters. Here is...

broadleaf payment response page not shown

payment-gateway,payment,authorize.net,broadleaf-commerce

@rhldr was right. It must be publicly available and on a standard port 80 or 443.

Unable to send Payor name in SecurePay

php,payment-gateway

In the documentation... http://www.securepay.com.au/uploads/Integration%20Guides/Direct_Post_Integration_Guide.pdf in section 3.4.3 FraudGuard. It looks to have the values you are looking for. Also below in section 3.4.4.1 Payor there are details in sending an ID to store against the details....

“DPRP is disabled for this merchant.” on our live mode

paypal,payment-gateway

This means that DoDirectPayment is not active on the account you're trying to run it from. Have you applied for Payments Pro and gotten it active on your account? If so, and you're still getting this message, that means you got the newer version of Pro which works on the...

ICICI payment integration with php.?? where to set redirect URL.? [closed]

php,payment-gateway,payment-processing

Its simple. Just follow the Word Document in you kit. You need 3 files only Test SSL.php SFAResponse.php and sfa.properties And include SFA directory too In Test SSL u have to modify like below : $oMerchant->setMerchantDetails("Enter Merchant ID","Enter Merchant ID","Enter Merchant ID","10.10.10.238",rand()."","Ord1234","http://localhost/merchant/SFAResponse.php","POST","INR","INV123","req.Sale","100","","Ext1","true","Ext3","Ext4","New PHP"); Rest values are self explanatory ! In...

redirect to payment express site from actionresult

c#,asp.net,asp.net-mvc,payment-gateway

See what you were trying to Do is Using their own Component to Go through payment. Please download the Sample code from the Given Link and Hence you will be able to Solve the same. (Check the Whole Code. They have added the same since this works.) Also find the...

Where is my own payment plugin in nopcommerce?

plugins,payment-gateway,nopcommerce

Ensure that you specified right output path for your plugin (right click on plugin project -> Properties -> Build -> Output path). It should look like here: ....\Presentation\Nop.Web\Plugins\YourPluginName\ And check that you specify right SupportedVersions for your plugin in Description.txt file....

Skrill Payment Gateway Integration in Asp.Net

c#,php,asp.net,payment-gateway

Solution to Access Skrill Json RPC Method In ASPX Page Write Below code In Javascript: `<input type="button" onclick="RegCard(); return false;" value="Register" /> <script type="text/javascript"> function RegCard() { var request = {}; request.method = "register"; request.params = {}; request.params.account = {}; request.params.account.number = "Card Number"; request.params.account.expiry = "Expiry Date"; request.params.account.cvv =...

Redirect with POST parameters in MVC 4 for Payment Gateway Integration

c#,asp.net-mvc-4,razor,payment-gateway,http-status-code-400

You cannot post a form by Redirect method. You could send generated form string to View and after that post the form by Javascript. public ActionResult OrderSummary() { string request=PreparePOSTForm("payment URL","hashdata required for payment") return View(model:request); } and in View of OrderSummary: @model string @Html.Raw(Model) <script> $(function(){ $('form').submit(); }) </script>...

Redirecting php post reply to client

php,security,web,payment-gateway

What you are trying is not possible. Server B has no knowledge of the Client, so there is no way it can communicate with it. You should build it like this: Client --> Server A Server A --> POST --> Server B Server A <-- REPLY <-- Server B Client...

we are getting order in magento site if customer don't pay in “payment[payumoney india]” site

magento,payment-gateway,payu

You can see that in default scenario when you click the Place order button in magento, it places the order and it redirects to the payment gateway for example paypal or in your case payu. If the customer don't pay or in the case the payment is cancelled the order...

Can i Change Paypal Business Account URL

php,paypal,payment-gateway

Yes, you can use one PayPal account to accept payments for multiple websites or businesses. You can handle multiple at the same time, or switch because you change the website, both. Both/all websites can pass the same account identifier (email or accountID) which sends the payments to the same account....

Payment Gateway pay my customer through API

api,paypal,payment-gateway

Check out the PayPal's MassPay API : https://developer.paypal.com/docs/classic/mass-pay/gs_MassPay/ This allow you to send money from your paypal account to recipients programatically....

CCAvenue integration not working Error 10002

java,jsp,payment-gateway,ccavenue

Well, it seems there is some problem with ccavenue testing server because when I tested my integration with live(real) server everything worked fine.

Change/Update Card without interruption of current billing cycle

payment-gateway,stripe-payments

To change the customer's card entirely, you would update the customer, not their card, using the customer update API. You'd have a form in your application that uses stripe.js to generate a new card token, just like on signup, and then pass that to the customer update API.

How do I integrate Paytm wallet in an Android application? [closed]

android,payment-gateway,uber-api

They have support for Android, but they don't have any open documentation. Use this link to contact them and learn more http://paywithpaytm.com/developer.html...

(13) The merchant login ID or password is invalid or the account is inactive.(usig Aim method for authorize.net)

php,e-commerce,payment-gateway,authorize.net

I Find solution here: https://support.authorize.net/authkb/index?page=content&id=A415 if in short describe the decision, it is likely that you are trying to send live data on the test certificate. //for test mode use the followin url $post_url = "https://test.authorize.net/gateway/transact.dll"; //for real accounts (even in test mode), please make sure that you are posting...

Payment gateway API that allows transferring money to credit card

ruby-on-rails,payment-gateway,credit-card

First, I assume you're integrated into an online payment gateway such as Cybersource, Stripe, Braintree or anything else. You'd need that to process cards and each has its own integration documentation and gems. Once integrated, you want to issue a REFUND to a credit card. This will send money to...

How do I handle response data from payment gateway?

php,paypal,payment-gateway,payflowpro

In PHP this is fairly easy. Here's a function that can turn it into an array function process_response($str) { $data = array(); $x = explode('&', $str); foreach($x as $val) { $y = explode('=', $val); if(!empty($y[1])) $data[$y[0]] = urldecode($y[1]); } return $data; } As to the other data, here's an educated...

Stripe payment error : Invalid string id

payment-gateway,stripe-payments,stripe-connect

This happens because you can not provide card details directly through the API when creating a charge with Stripe Connect. You have to create a token with Stripe Checkout or Stripe.js first and use this card token to create the charge. As per the documentation: Note that we require Stripe.js...

adaptive payment paypal work with standard pay pal account

paypal,payment-gateway,payment,paypal-sandbox,paypal-adaptive-payments

You need to have the following: A PayPal Business Account(Confirmed email and verified account) PRO account not required. Need to create a application at apps.paypal.com and submit(Adaptive Payment is a special feature which needs a application to be submitted and approved by app review team. Once app is approved, you...

Paypal CC Direct Payment error

paypal,payment-gateway,paypal-sandbox

Got it working !! Here's the working code: $apiContext = new \PayPal\Rest\ApiContext( new \PayPal\Auth\OAuthTokenCredential( $credentials['clientId'], $credentials['secret'] ) ); $apiContext->setConfig( array( 'log.LogEnabled' => true, 'log.FileName' => '../app/storage/paypal/PayPal.log', 'log.LogLevel' => 'FINE' ) ); $card = new CreditCard(); $card->setType("visa") ->setNumber("xxxxxxxxxxxxxxxxx") ->setExpireMonth("11") ->setExpireYear("2019") ->setCvv2("012") ->setFirstName("Joe")...

How to get SecureToken using Payflow Gateway SDK for Payflow Link integration

asp.net,paypal,payment-gateway,payflowlink

After digging around more, I eventually found an object in the SDK called "ExtendData" and was able to add instances of those to my transaction in order to get the needed token. It appends that information to the request string, so you can use ExtendData for anything you would create...

Using the Braintree drop-in UI to select the payment method for recurring billing — or: finding the payment method of a paymentMethodNonce

javascript,php,payment-gateway,braintree

I work at Braintree. If you have more questions, you can always get in touch with our support team. You don't need a special method for this, you can pass the nonce directly to Braintree_PaymentMethod::create: $result = Braintree_PaymentMethod::create(array( 'customerId' => '12345', 'paymentMethodNonce' => 'nonce-from-the-client' )); ...

working and integrating paypal payment pro [closed]

javascript,php,paypal,payment-gateway,paypal-sandbox

I am actually the writer of that tutorial. :) It is till relevant and works just fine if you follow those procedures. Payments Pro is just for credit cards. You don't need Pro for other APIs, so if you're just trying to work with Express Checkout you don't need Pro....

How to integrate TEST PayU Payment Gateway in android application?

android,android-webview,payment-gateway,payu

It was happened due to technical error at PayUMoney. Needed to contact support team to issue new Merchant ID & Key.

Online shopping with Social Login

facebook,login,google-plus,payment-gateway,social

The major credit card companies have rules about what you need to do that must be followed, or they will cut you off and not accept any postings from you. That's the best place to start, as they are pretty strict. If you follow their guidelines, you'll be in pretty...

How to receive POST request in an AngularJS page?

angularjs,http-post,payment-gateway

ngRoute cant handle urls accessed via POST , if you have rewrite on index.html you are just posting to index.html not to you route, it does not work when you have configured /booking-sucess and you POST ond that url via cURL you are actualy posting to index.html. Routing in...

International Credit and Debit card authorization API [closed]

php,payment-gateway

Following link will help you about this. In my application I referred this one Credit card type variables for paypal REST API...

Postback and Return URL in Opencart

php,api,opencart,payment-gateway

The post back and return URLs are those where You have your controller and actions waiting to be accessed and to do something with the data that is POSTed or queried there. Usually it goes like this: you start a payment transaction which means you prepare the data to be...

Send CUSTOM variable to CreateRecurringPaymentsProfile

paypal,paypal-ipn,payment-gateway,paypal-sandbox,paypal-subscriptions

CRPP does not include the custom parameter like other API requests do, however, it does include the PROFILEREFERENCE parameter, which is meant to be treated like an invoice ID. Whatever value you pass here would come back in IPN as rp_invoice_id. So what you can do is save a local...

How do I uniquely identify a BlueSnap transaction using the IPN parameters?

e-commerce,integration,payment-gateway,plimus

The referenceNumber is indeed the transaction number (or Order number) and is unique in the BlueSnap (Plimus) system. That said, a transactions has a lifecycle (order placed, delivered, refunded, etc.), so you may get several IPNs with the same referenceNumber. These can be differentiated using the transactionType field.

Processing Authorize.net relay response with PHP

php,api,email,payment-gateway,authorize.net

I figured it out. There was an error on the page giving a "500" error. I have to say, it is a little strange the way they have it set up. They are POSTING to my page, where I am capturing the POST data, writing stuff to a database, and...

Mock payments for student projects

php,paypal,payment-gateway

Look at PayPal Adaptive Payments. You can get up and running in the sandbox very easily. Specifically, you'll want to look at the Pay API....

Setting up Payum Bundle with Symfony2 giving error

php,symfony2,paypal,payment-gateway,payum

I finally managed to get it done. I needed 4 files PaymentController Orders (Entity) PaymentToken (Entity) Orders (Model) This is my PaymentController looks like <?php namespace ClickTeck\featuresBundle\Controller; use ClickTeck\featuresBundle\Entity\Orders; use Symfony\Bundle\FrameworkBundle\Controller\Controller; use Payum\Paypal\ExpressCheckout\Nvp\Api; use Payum\Core\Registry\RegistryInterface; use Payum\Core\Request\GetHumanStatus; use Payum\Core\Security\GenericTokenFactoryInterface; use...

Send Extra Custom parameters to PayPal

ruby-on-rails,paypal,payment-gateway,paypal-sandbox

You can use the options variables on0 through on9 for the name and os0 through os9 for the values, or if using the upload command use on0_N and os0_N where N is the item you are uploading eg: amount_1 etc. <input type="hidden" name="on0_1" value="event_name"> <input type="hidden" name="os0_1" value="testing"> <input type="hidden"...

Why does eWAY Payment Gateway Lineitems show $0.00 price in the invoice section?

php,payment-gateway

This issue can occur when passing through an invalid value. Please ensure you are passing through the amount in cents value. E.g. to pass $100, pass "10000" If you require further assistance you can contact the local eWAY team 24/7 via phone or via our LiveChat on our websites....

CC avenue new api request handler not responding in php on ec2 linux instance

php,amazon-ec2,payment-gateway,ccavenue

To run cc avenue on ec2 you need to be install bellow extension will support mcrypt step to install 1) login to ssh with user e.g ec2-user (may be another according to your image) 2) run command to login as root command:- sudo -s 3)install mcrypt using command :- yum...

Prestashop: payment method depending on postcode

payment-gateway,prestashop,postal-code

As nobody answers, I've fixed this problem with Jquery, deleting the other options in the module .tpl

PayUMoney payment gateway integration

integration,payment-gateway

Finally I came to know that they have not activated the test account.

Unknown Payment Method Nonce

laravel-4,payment-gateway,braintree

After a very long day with intensive studies of the Documentation i finally found the issue. You need to pass the Client Token which is generated by the PHP Library (not the CSE Token from the Sandbox!) into the JavaScript snippet provided by Braintree: braintree.setup( "{{ Braintree_ClientToken::generate(["customerId" => Auth::id()]) }}",...

BrainTree - Authorize credit card for a certain amount

payment-gateway,payment-processing,braintree

I work at Braintree. If you have more questions, you can always get in touch with our support team. There are a couple of different ways to have confidence that you'll be able to charge a card when you're ready. They're outlined in the Braintree Article on Managing Authorizations. Basically,...

Adding e-commerce functionality and blog feature in local java application

java,eclipse,e-commerce,payment-gateway

You've got 3 architectural options to choose from: 1. integrate an open source library into your own server 2. run an open source server next to your Tomcat 3. use a hosted solution and integrate with it (3) I'm not sure what are the exercise restrictions, but #3 is the...

Woocommerce delivery&payment options - What´s wrong with my php code?

php,wordpress,paypal,woocommerce,payment-gateway

The available delivery methods do not get passed as a parameter in the filter woocommerce_available_payment_gateways - you need to load them in and check them. The code below should remove the paypal payment option one if the user selects local delivery. If your checkout page is the AJAX based one...

How can I get Ogone payment transaction feedback through POST variables

php,payment-gateway,payment

I ended up activating the "Transaction feedback" parameter, in this panel the first checkbox is allowing payment information to be returned to the redirected page. Whether the Accept/Decline/Cancel/Exception redirection is being triggered doesn't matter, I get the same result anyway. One of the problem was that I'm not getting anything...

Change WooCommerce Gateway Display Order

php,wordpress,woocommerce,payment-gateway

great question! I found it,, in your plugin where you define your custom class and init it with hook for woocommerce to add actual plugin like this in mine: add_filter( 'woocommerce_payment_gateways', 'woocommerce_add_mk_tcom_gateway' ); inside function you have something like this I guess,, only change this line: /** * Add the...

Braintree - paymentMethodNonceReceived not being invoked

javascript,php,payment-gateway,braintree

As per @kdetella's comment, there should be a submit button inside the <form> element to receive payment method nonce.

eNets Payment Gateway Integration for an ASP .NET website

asp.net,payment-gateway

Its provides a .NET and Java Integration guide. I assume that you are going to use credit card payment method of that - http://www.nets.com.sg/merchants/products/credit-cards. Here in slider there is a link for enet integration guide. You can find the whole PDF for ASP.NET and Microsoft.NET Integration from below. http://www.nets.com.sg/images/pdf/umapi_net_merchant_v2.1.pdf...

Is it possible to use a virtual TPV in android and iOS apps?

android,ios,google-play,payment-gateway,appstore-approval

According to the Google Play Developer Program Policies: Developers offering virtual goods or currencies within a game downloaded from Google Play must use Google Play's in-app billing service as the method of payment. According to the App Store Review Guidelines: Apps utilizing a system other than the In-App Purchase API...

Per-user / per-quantity recurring billing. What are alternatives to Stripe?

paypal,payment-gateway,payment,stripe-payments,recurring-billing

What you want are Reference Transactions, in which case you run an original authorization or sale transaction, and then in the future you'd run DoReferenceTransaction with the original transaction ID and any new amount you need to process. It will process immediately without any redirection or additional authorization required at...

WooCommerce REST API v2: How to process payment?

rest,woocommerce,payment-gateway

As helgatheviking concurred, there currently isn't a way to process payment of an order with the WooCommerce REST API. I ended up writing a hook into the the woocommerce_api_create_order filter that immediately processes the order for payment when the order is created. If the processing fails, then the errors are...

Phone number is missing with both SetExpressCheckout and GetExpressCheckoutDetails

node.js,paypal,payment-gateway,paypal-sandbox,express-checkout

It looks like the "Require Phone number" setting was not enabled correctly. I have enabled it again for your Sandbox account. You can try again. Alternatively, you can use PAYMENTREQUEST_n_SHIPTOPHONENUM if you want to get the ship to phonenumber.(You need to include REQCONFIRMSHIPPING=1to use this....