Giter Club home page Giter Club logo

cakephp-paypal's People

Contributors

ajibarra avatar fafa973 avatar josegonzalez avatar maxxer avatar michaelhoughton avatar mikkelson avatar robmcvey avatar timstermatic avatar zot24 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cakephp-paypal's Issues

Payment not debited to personal account.

Hi,
I integrated this plugin into my cakephp application.
The merchant's account is credited with the payment. However, the balance in the customer's personal account is not deducted.

I tried the above using the paypal sandbox.

Here is the snippet of the code I used:
$this->Paypal = new Paypal(
array(
'sandboxMode' => true,
'nvpUsername' => 'phpanika-facilitator_api1.gmail.com',
'nvpPassword' => 'xxxxxxxx',
'nvpSignature' => 'XXXXXXXXXXXXXXXXXXXX'
)
);
$payment = array(
'amount' => 2.00,
'card' => '4032 0311 6136 6470',
'type' => 'Visa',
'expiry' => array(
'M' => '10',
'Y' => '2019',
),
'cvv'=>'433',
'currency' => 'USD'
);
$this->Paypal->doDirectPayment($payment);

Please let me know whats the problem.

Multiple Line Items Re: Express Checkout

Is it possible to have multiple items in an Express Checkout order? Or would we just reference an internal Order ID with the order total for Express Checkout?

HELP

Hello,

Firstly great job!

Just wondering, do you have a copy of the required:
pear.php and PayPal/Error.php

As they are currently preventing me from getting it working?

how to track credit card transaction in paypal

Hello Author,
thanks for awesome plugin

i integrated in my cakephp project .. i got one issue when any user use credit card for payment ..paypal return success response and transaction id in doExpressCheckoutPayment method.. but how to track exactly amount credited in paypal account using transaction id..

some time happens order placed successfully but credit card amount not credited in paypal account..

Thanks in advance

3.x?

Do you plan to port your module on 3.X soon?

Notify Url not working

I added NOTIFYURL parameter in your function formatDoDirectPaymentNvps() but paypal do not return to the mentioned url. This is in case of sandbox testing. Also how can I rely on session data, if computer get crashed after I made an request. Can we get parameters like sessionId passed from the website and notifyurl returns data in there.

suspected error function/update suggestion: storeCreditCard()

Hi,

Just find out function storeCreditCard() isn't working with my test application:

  1. The settings should be fine, but always returns an error message: "There was an problem communicating with the payment gateway"
  2. so I look back into your script and simply hide section if ($response->code == 200) code to test what the response was like:
 \app\Controller\ApiController.php (line 120)

array(
    'id' => 'CARD-7SF881509H6907000KO726SY',
    'state' => 'ok',
    'payer_id' => '186',
    'type' => 'visa',
    'number' => 'xxxxxxxxxxxx5242',
    'expire_month' => '7',
    'expire_year' => '2019',
    'first_name' => 'Joe',
    'last_name' => 'Shopper',
    'valid_until' => '2017-07-10T00:00:00Z',
    'create_time' => '2014-07-11T09:32:59Z',
    'update_time' => '2014-07-11T09:32:59Z',
    'links' => array(
        (int) 0 => array(
            'href' => 'https://api.sandbox.paypal.com/v1/vault/credit-card/CARD-7SF881509H6907000KO726SY',
            'rel' => 'self',
            'method' => 'GET'
        ),
        (int) 1 => array(
            'href' => 'https://api.sandbox.paypal.com/v1/vault/credit-card/CARD-7SF881509H6907000KO726SY',
            'rel' => 'delete',
            'method' => 'DELETE'
        ),
        (int) 2 => array(
            'href' => 'https://api.sandbox.paypal.com/v1/vault/credit-card/CARD-7SF881509H6907000KO726SY',
            'rel' => 'patch',
            'method' => 'PATCH'
        )
    )
)

*seems like there is no such field called "code" in the response JSON.

Internal Error

When using express checkout, it works fine if a user pays using a PayPal account.

However, If the user is paying by manually entering the card in paypal - doExpressCheckoutPayment fails with internal error.

"This transaction couldn't be completed. Redirecting to payment gateway
Error: An Internal Error Has Occurred."

Is there a way to have better error reporting, or redirect user back to PayPal if required?

HELP!

Hi,

I have a crowd funding website project built with cakephp framework and have to use paypal as payment gateway. This is my first project that involves payment transactions. I'm having a trouble using the adaptive payment. Can you give me a step-by-step instruction if that's possible? Because the instruction (https://github.com/robmcvey/cakephp-paypal#paypal-adaptive-payments) isn't all clear to me. Thanks.

Returned Token?

In your readme, it refers to the SetExpressCheckout method returning a token. I can see that it in fact does in the $parsed['TOKEN'] variable, but this variable isnt set anywhere in the class so I can't grab it easily. That method just returns the full url to the paypal checkout.

Is there any way you can make this an easily accessible variable?

Thanks

Currency on direct payment.

I just installed your plugin and i can not figure out whats going wrong. I am trying to make use of the "doDirectPayment"-method you implemented. I pass DKK as an argument for currency since it is the code for Danish Kroner. I get no errors and the payment goes through but on my sandbox account it seems to default to GBP no matter what currency i pass.

Express Checkout SSL problem on MAMP 3.5

Hi, I am getting all of a sudden this error (expres checkout)

object(SocketException) {
[protected] _attributes => array()
[protected] _messageTemplate => ''
[protected] _responseHeaders => null
[protected] message => 'stream_socket_client() [function.stream-socket-client]: SSL operation failed with code 1. OpenSSL Error messages:
error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure
stream_socket_client() [function.stream-socket-client]: Failed to enable crypto
stream_socket_client() [function.stream-socket-client]: unable to connect to ssl://api-3t.sandbox.paypal.com:443 (Unknown error)'
[protected] code => (int) 2
[protected] file => '/Users/rdeman/Documents/www/myproject/lib/Cake/Network/CakeSocket.php'
[protected] line => (int) 172
}

I am running
MAMP 3.5
PHP Version 5.6.10
OpenSSL/0.9.8zg

$this->Paypal non object

I had a non object error whilst implementing your $this->Paypal code. The resolution was that I had my component named as PayPal, so I just had to change from $this->Paypal to $this->PayPal. Noob mistake, but might help someone out

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.