Get TransactionID from Recurring Profile Information - paypal-subscriptions

I have created ReurringPaymentProfile using CreateRecurringPaymentsProfile API and can get all details of the profile using GetRecurringPaymentsProfileDetails API.But now i want make function by which site admin can refund any amount of any transaction.
I have already worked with RefundTrasaction API but that is with Ecommerce.But for RefundTrasaction we need TransactionID but in recuruing payment i have not get the tansction id.
Can any one help to get the transction id for RefundTRansction API. Or How i will refund the subscription Money using API.
Thanking you all

Check this link .
It give step by step description about creating recurring profile.
https://developer.paypal.com/docs/classic/express-checkout/ht_ec-recurringPaymentProfile-curl-etc/

Related

How to set up per-seat subscription with Stripe?

Good day!
I am trying build a per-seat subscription model for my web site.
Before, I tried use Checkout session to provide "place", to write personal data, but the max what I reached - is creating default Subscription that you could cancel for instance.
What I wanna do?
• Figure out, if possible, how to create per-seat subscription through Checkout session and after, on event "User joined" automatically replace new price of the subscription.
• If through Checkout session that is not possible, how to implement it through code?
How to get a user's card and how to upgrade later the subscription.
I read the article on Stripe, but from that I can't figure how I get client data as card.
In addition, I use Stripe Extension on firebase with cloud functions.
Hope, this problem will be solved :)
You can create a per-seat type subscription with Stripe Checkout. For that, you need to have a recurring price, just as the article suggests. Then pass the price into line_items property when creating a subscription, along with the initial quantity. For example, a customer might want to purchase 5 seats/licenses right away. You can also enable adjustable_quantity setting to allow the user to change the quantity on the Checkout Session page.
When a new user joins, use the Update Subscription API to change the quantity of the item. For example, if the new total number of users you are serving is 11, set the quantity of the price to 11. More info here.
If you don’t want to use Stripe Checkout, you can create a subscription via API, by following this guide. The upgrade step looks the same as in the other solution.
Besides that, Stripe has a Billing Customer Portal that allows users to modify their subscriptions, it’s worth taking a look.

If I have a transaction_id of an authorization request in Magento, can I use same that transaction id and token to capture funds in Salesforce?

So I am using Salesforce and Magento for order management in the backend. My customers are placing orders on my marketplace in Magento and then Magento sends the orders to salesforce for reporting. I would like process the orders in salesforce; however, I don't want to be flagged to xss attack or middle man attack by Authorize.net. I want to know if I can use the transaction token and ID that I received for authorizing amount on the customer's card in Magento to capture the funds in Salesforce?
Magento makes api call to authorize.net to auth amount on customer's credit card.
Then Salesforce uses that same authorization token in capture funds.
Yes, you can. As long as you have the proper login ID, transaction ID, and CIM profiled IDs the payment can originate from any system you control.

User is not allowed to perform this action

Our platform is trying to create a feature so that a seller can refund a paypal transaction after 60 days. To do this our thought was that we would use the adaptive payment feature and simply ask paypal to send money from seller to buyer.
We created an application, and in the sandbox we have everything working. When we move to production we get this response below.
{"errorId":"550001","domain":"PLATFORM","subdomain":"Application","severity":"Error","category":"Application","message":"User is not allowed to perform this action"}]}
The question is, "How does the seller authorize our platform?" Do they need to check a box in their Paypal account?
What's a bit confusing to us, is that we are testing with our own 'seller' account which is of course a valid Paypal account.
Furthermore, we are doing a simple implicit approval. We did notice that in our application registration we are 'conditionally excepted'. We read that simple payments should work fine, it is only the chained payments that require specific approval from paypal.

Get profile id after subscription from button in response

Is there any way to get Profile Id as response after subscription through button.
I am able to get payer_id, payer_email and others as transaction variables but i need profile id so that i can cancel that subscription from my website.
Or is there any way to cancel recurring payment without Profile Id
You can use IPN to get the Profile ID back to your system. Instant Payment Notification (IPN) is a message service that notifies you of events related to PayPal transactions. You can use it to automate back-office and administrative functions, such as fulfilling orders, tracking customers, and providing status and other information related to a transaction.

How to integrate with mysql in google checkout?

I am working on Google checkout to sell my product online. i want order information to be stored in mysql database on my server only after payment verification of customer.when customer click on order now button on Google checkout synchronously that order complete information to be stored in database also. i m in fix to solve this but not getting any way of out..
Please note that the order is not complete when the customer clicks the Buy Now button. The order is complete after the customer finishes the order on Google Checkout's "Place Order" page and Google verifies and charges the credit card.
To get order processing details use the Google Checkout Notification API:
http://code.google.com/apis/checkout/developer/Google_Checkout_XML_API_Notification_API.html
You'll get callbacks at various order processing stages which will allow you to update your database and inventory accordingly.