paypal

MPL library integration in iOS. Will it contradict APPLE in app purchase or any other payment rule?

跟風遠走 提交于 2020-01-25 11:59:12
问题 We are planning one app with such a concept that consumers can buy service from other user and can pay amount through application itself. What we are concerned is, will APPLE have any objection if we implement MPL item payment i.e. directly user would be able to buy a service from other user by paying within the application ? We are referring this documentation for payment integration Real world scenario would be like I have a few questions and need help to solve those. Some one will offer

PayPal IPN username/password hashing, how does it work?

自作多情 提交于 2020-01-25 10:44:05
问题 I'm trying to make use of the PayPal Subscription with IPN to provide monthly billing for my customers. The IPN works fine but I am not sure how the password hashing works. username (optional) Username generated by PayPal and given to subscriber to access the subscription. 64 password (optional) Password generated by PayPal and given to subscriber to access the subscription (password will be encrypted). My understanding was that I need to 'hash' the real password and then compare it with the

Paypal Tax Computation

空扰寡人 提交于 2020-01-25 07:09:47
问题 I'm trying to edit the Paypal tax computation on my website. Right now, it's charging $5 on every order. I want to change it to 3% instead. So that 3% of the amount deposit will be charged on total. But I'm having trouble doing the code. Can someone please help me? global $apiContext,$app_url; $payer = new PayPal\Api\Payer(); $payer->setPaymentMethod("paypal"); if(isset($_POST['random_amt'])){ $price = $_POST['random_amt'] + 5; }elseif(isset($_POST['sub_services'])){ $price = get_service

Paypal Tax Computation

可紊 提交于 2020-01-25 07:06:48
问题 I'm trying to edit the Paypal tax computation on my website. Right now, it's charging $5 on every order. I want to change it to 3% instead. So that 3% of the amount deposit will be charged on total. But I'm having trouble doing the code. Can someone please help me? global $apiContext,$app_url; $payer = new PayPal\Api\Payer(); $payer->setPaymentMethod("paypal"); if(isset($_POST['random_amt'])){ $price = $_POST['random_amt'] + 5; }elseif(isset($_POST['sub_services'])){ $price = get_service

How to handle elements on PayPal popup with cypress.io

南楼画角 提交于 2020-01-25 06:47:08
问题 I need to automate an end to end test that include purchase an order with PayPal. This test includes validate some elements in a screen that appears once the order is purchased. I'm currently trying with cypress.io. I know cypress recommend against visiting 3rd party sites but I need to interact with PayPal in this test. I have not been able to deal with it. Is there any workaround to interact with the PayPal popup when using cypress.io? 回答1: Unless you are testing Paypal itself, you should

Updated PayPal but why “Fatal error: Class 'PayPal\REST\ApiContext' not found”?

爷,独闯天下 提交于 2020-01-25 05:15:08
问题 I am moving my PHP application from localhost to online server and I receive an error: Fatal error: Class 'PayPal\REST\ApiContext' not found. I have tired to update the PayPal SDK as suggested in other posts. Still getting this error with the ApiContext. My code for the start file is below. I have implemented the fix described in other posts to no avail. Any help would be appreciated. <?php use PayPal\REST\ApiContext; use PayPal\Auth\OAuthTokenCredential; session_start(); include('connect.php

How to use hash_hmac() with “SHA256withRSA” on PHP?

我的未来我决定 提交于 2020-01-25 04:44:05
问题 I'm trying to get PayPal Webhooks to work with my PHP app. The problem is the hashing algorithm they send via headers, that i must use to verify if the request is valid. When I try to use it, I get this error: hash_hmac(): Unknown hashing algorithm: SHA256withRSA I have tried hash_hmac using just the "sha256" algo and it worked, so I think the problem must be with the one they want me to use. Here is the code I use to process the Webhook: $headers = apache_request_headers(); $body = @file_get

PayPal - DoExpressCheckoutPayment - Validation issue

大城市里の小女人 提交于 2020-01-25 03:49:48
问题 For Every PaypPal interaction we Do: 1.SetExpressCheckoutReq 2.GetExpressCheckoutDetailsReq 3.DoExpressCheckOutPaymentReq I do create a billing agreement first and only on scheduled/subsequent orders we use this billing agreement for reference transaction. Our Issue is: With a new PayPal account (testpaypal@abc.com) DoExpressCheckoutPaymentReq failed for CITY = SuttonsBay, with the address validation error “10736” (Shipping Address Invalid City State Postal Code) for a user (USER A). And this

Which PAYPAL service is better for online transaction for website?

会有一股神秘感。 提交于 2020-01-25 03:19:05
问题 I am working on a website where users will have to pay to use some services. So I know that PayPal is the service I can use. User can pay with debit card, credit card, PayPal account etc. I know that PayPal button can be used for it. But in my website, I want to give user an option to add amount of their choice. User can pay $5 or $50,000 or anything they want. I don't know if I can use PayPal button or not for this. In short user will enter amount in form. After submitting the form, it will

Paypal Shopping cart custom create order objects and user details

两盒软妹~` 提交于 2020-01-25 01:07:22
问题 I have a shopping cart that holds an array or my objects. I have all my custom user details serialized with a form and jQuery. I would like to insert the user data I got from my user details form (maybe I use payer or payer_info? Object. Also, I would like to insert my items to the PayPal CreateOrder: actions.order.create({ I am guessing I do it like this? "item_list": { "items": [ { "name": "hat", "description": "Brown color hat", "quantity": "5", "price": "3", "tax": "0.01", "sku": "1",